Searched defs:MoveThrows (Results 1 – 2 of 2) sorted by relevance
42 struct MoveThrows { struct44 MoveThrows() { ++alive; } in MoveThrows() argument45 MoveThrows(MoveThrows const&) {++alive;} in MoveThrows() argument46 MoveThrows(MoveThrows&&) { throw 42; } in MoveThrows() function49 ~MoveThrows() { --alive; } in ~MoveThrows() argument
160 struct MoveThrows { struct162 MoveThrows() { ++alive; } in MoveThrows() function163 MoveThrows(const MoveThrows &) { ++alive; } in MoveThrows() argument164 MoveThrows(MoveThrows &&) { throw 42; } in MoveThrows() argument165 MoveThrows &operator=(const MoveThrows &) { return *this; } in operator =() argument166 MoveThrows &operator=(MoveThrows &&) { throw 42; } in operator =() argument167 ~MoveThrows() { --alive; } in ~MoveThrows() argument