Home
last modified time | relevance | path

Searched defs:MakeEmptyT (Results 1 – 5 of 5) sorted by relevance

/external/libcxx/test/support/
Dvariant_test_helpers.hpp45 struct MakeEmptyT { struct
47 MakeEmptyT() { ++alive; } in MakeEmptyT() argument
48 MakeEmptyT(MakeEmptyT const&) { in MakeEmptyT() argument
53 MakeEmptyT(MakeEmptyT &&) { in MakeEmptyT() argument
56 MakeEmptyT& operator=(MakeEmptyT const&) { in operator =() argument
59 MakeEmptyT& operator=(MakeEmptyT&&) { in operator =() argument
62 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() argument
/external/libcxx/test/std/utilities/variant/variant.relops/
Drelops.pass.cpp47 struct MakeEmptyT { struct
49 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() argument
50 MakeEmptyT &operator=(MakeEmptyT &&) { throw 42; } in operator =() argument
52 inline bool operator==(const MakeEmptyT &, const MakeEmptyT &) { in operator ==()
56 inline bool operator!=(const MakeEmptyT &, const MakeEmptyT &) { in operator !=()
60 inline bool operator<(const MakeEmptyT &, const MakeEmptyT &) { in operator <()
64 inline bool operator<=(const MakeEmptyT &, const MakeEmptyT &) { in operator <=()
68 inline bool operator>(const MakeEmptyT &, const MakeEmptyT &) { in operator >()
72 inline bool operator>=(const MakeEmptyT &, const MakeEmptyT &) { in operator >=()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Dcopy.pass.cpp83 struct MakeEmptyT { struct
85 MakeEmptyT() { ++alive; } in MakeEmptyT() argument
86 MakeEmptyT(const MakeEmptyT &) { in MakeEmptyT() argument
91 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() argument
92 MakeEmptyT &operator=(const MakeEmptyT &) { throw 42; } in operator =() argument
93 MakeEmptyT &operator=(MakeEmptyT &&) { throw 42; } in operator =() argument
94 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() argument
Dmove.pass.cpp85 struct MakeEmptyT { struct
87 MakeEmptyT() { ++alive; } in MakeEmptyT() argument
88 MakeEmptyT(const MakeEmptyT &) { in MakeEmptyT() argument
93 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() argument
94 MakeEmptyT &operator=(const MakeEmptyT &) { throw 42; } in operator =() argument
95 MakeEmptyT &operator=(MakeEmptyT &&) { throw 42; } in operator =() argument
96 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() argument
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dcopy.pass.cpp182 struct MakeEmptyT { struct
184 MakeEmptyT() { ++alive; } in MakeEmptyT() argument
185 MakeEmptyT(const MakeEmptyT &) { in MakeEmptyT() function
190 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() function
191 MakeEmptyT &operator=(const MakeEmptyT &) { throw 42; } in operator =() argument
192 MakeEmptyT &operator=(MakeEmptyT &&) { throw 42; } in operator =() argument
193 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() argument