Home
last modified time | relevance | path

Searched defs:MoveThrows (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/support/
Dvariant_test_helpers.hpp33 struct MoveThrows { struct
35 MoveThrows() { ++alive; } in MoveThrows() argument
36 MoveThrows(MoveThrows const&) {++alive;} in MoveThrows() argument
37 MoveThrows(MoveThrows&&) { throw 42; } in MoveThrows() function
38 MoveThrows& operator=(MoveThrows const&) { return *this; } in operator =() argument
39 MoveThrows& operator=(MoveThrows&&) { throw 42; } in operator =() argument
40 ~MoveThrows() { --alive; } in ~MoveThrows() argument
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dcopy.pass.cpp111 struct MoveThrows { struct
113 MoveThrows() { ++alive; } in MoveThrows() argument
114 MoveThrows(const MoveThrows &) { ++alive; } in MoveThrows() function
115 MoveThrows(MoveThrows &&) { throw 42; } in MoveThrows() function
116 MoveThrows &operator=(const MoveThrows &) { return *this; } in operator =() argument
117 MoveThrows &operator=(MoveThrows &&) { throw 42; } in operator =() argument
118 ~MoveThrows() { --alive; } in ~MoveThrows() argument