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() function
48 MakeEmptyT(MakeEmptyT const&) { in MakeEmptyT() function
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.cpp84 struct MakeEmptyT { struct
86 MakeEmptyT() { ++alive; } in MakeEmptyT() argument
87 MakeEmptyT(const MakeEmptyT &) { in MakeEmptyT() function
92 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() function
93 MakeEmptyT &operator=(const MakeEmptyT &) { throw 42; } in operator =() argument
94 MakeEmptyT &operator=(MakeEmptyT &&) { throw 42; } in operator =() argument
95 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() argument
Dmove.pass.cpp86 struct MakeEmptyT { struct
88 MakeEmptyT() { ++alive; } in MakeEmptyT() function
89 MakeEmptyT(const MakeEmptyT &) { in MakeEmptyT() argument
94 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() argument
95 MakeEmptyT &operator=(const MakeEmptyT &) { throw 42; } in operator =() argument
96 MakeEmptyT &operator=(MakeEmptyT &&) { throw 42; } in operator =() argument
97 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() argument
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dcopy.pass.cpp183 struct MakeEmptyT { struct
185 MakeEmptyT() { ++alive; } in MakeEmptyT() argument
186 MakeEmptyT(const MakeEmptyT &) { in MakeEmptyT() function
191 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() argument
192 MakeEmptyT &operator=(const MakeEmptyT &) { throw 42; } in operator =() argument
193 MakeEmptyT &operator=(MakeEmptyT &&) { throw 42; } in operator =() argument
194 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() argument