Home
last modified time | relevance | path

Searched defs:MakeEmptyT (Results 1 – 10 of 10) 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/llvm-project/libcxx/test/support/
Dvariant_test_helpers.h53 struct MakeEmptyT { struct
55 MakeEmptyT() { ++alive; } in MakeEmptyT() function
56 MakeEmptyT(MakeEmptyT const&) { in MakeEmptyT() argument
61 MakeEmptyT(MakeEmptyT &&) { in MakeEmptyT() argument
70 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() argument
/external/llvm-project/libcxx/test/std/utilities/variant/variant.relops/
Drelops.pass.cpp46 struct MakeEmptyT { struct
48 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() function
49 MakeEmptyT &operator=(MakeEmptyT &&) { throw 42; } in operator =() argument
51 inline bool operator==(const MakeEmptyT &, const MakeEmptyT &) { in operator ==()
55 inline bool operator!=(const MakeEmptyT &, const MakeEmptyT &) { in operator !=()
59 inline bool operator<(const MakeEmptyT &, const MakeEmptyT &) { in operator <()
63 inline bool operator<=(const MakeEmptyT &, const MakeEmptyT &) { in operator <=()
67 inline bool operator>(const MakeEmptyT &, const MakeEmptyT &) { in operator >()
71 inline bool operator>=(const MakeEmptyT &, const MakeEmptyT &) { in operator >=()
/external/libcxx/test/std/utilities/variant/variant.relops/
Drelops.pass.cpp47 struct MakeEmptyT { struct
49 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() function
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() argument
89 MakeEmptyT(const MakeEmptyT &) { in MakeEmptyT() function
94 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() function
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/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Dcopy.pass.cpp81 struct MakeEmptyT { struct
83 MakeEmptyT() { ++alive; } in MakeEmptyT() argument
84 MakeEmptyT(const MakeEmptyT &) { in MakeEmptyT() function
89 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() argument
90 MakeEmptyT &operator=(const MakeEmptyT &) { throw 42; } in operator =() argument
91 MakeEmptyT &operator=(MakeEmptyT &&) { throw 42; } in operator =() argument
92 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() argument
Dmove.pass.cpp83 struct MakeEmptyT { struct
85 MakeEmptyT() { ++alive; } in MakeEmptyT() argument
86 MakeEmptyT(const MakeEmptyT &) { in MakeEmptyT() function
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
/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() argument
191 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() function
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
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dcopy.pass.cpp176 struct MakeEmptyT { struct
178 MakeEmptyT() { ++alive; } in MakeEmptyT() argument
179 MakeEmptyT(const MakeEmptyT &) { in MakeEmptyT() argument
184 MakeEmptyT(MakeEmptyT &&) { throw 42; } in MakeEmptyT() argument
185 MakeEmptyT &operator=(const MakeEmptyT &) { throw 42; } in operator =() argument
186 MakeEmptyT &operator=(MakeEmptyT &&) { throw 42; } in operator =() argument
187 ~MakeEmptyT() { --alive; } in ~MakeEmptyT() argument