Searched defs:MoveThrows (Results 1 – 2 of 2) sorted by relevance
33 struct MoveThrows { struct35 MoveThrows() { ++alive; } in MoveThrows() argument36 MoveThrows(MoveThrows const&) {++alive;} in MoveThrows() argument37 MoveThrows(MoveThrows&&) { throw 42; } in MoveThrows() function38 MoveThrows& operator=(MoveThrows const&) { return *this; } in operator =() argument39 MoveThrows& operator=(MoveThrows&&) { throw 42; } in operator =() argument40 ~MoveThrows() { --alive; } in ~MoveThrows() argument
111 struct MoveThrows { struct113 MoveThrows() { ++alive; } in MoveThrows() argument114 MoveThrows(const MoveThrows &) { ++alive; } in MoveThrows() function115 MoveThrows(MoveThrows &&) { throw 42; } in MoveThrows() function116 MoveThrows &operator=(const MoveThrows &) { return *this; } in operator =() argument117 MoveThrows &operator=(MoveThrows &&) { throw 42; } in operator =() argument118 ~MoveThrows() { --alive; } in ~MoveThrows() argument