Home
last modified time | relevance | path

Searched refs:ThrowsCtorT (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
DT.pass.cpp42 struct ThrowsCtorT { struct
43 ThrowsCtorT(int) noexcept(false) {} in ThrowsCtorT() function
44 ThrowsCtorT &operator=(int) noexcept { return *this; } in operator =() argument
62 struct ThrowsCtorT { struct
64 ThrowsCtorT() : value(0) {} in ThrowsCtorT() function
65 ThrowsCtorT(int) noexcept(false) { throw 42; } in ThrowsCtorT() argument
66 ThrowsCtorT &operator=(int v) noexcept { in operator =() argument
121 using V = std::variant<Dummy, ThrowsCtorT>; in test_T_assignment_noexcept()
196 using V = std::variant<std::string, ThrowsCtorT>; in test_T_assignment_performs_construction()
220 using V = std::variant<ThrowsCtorT>; in test_T_assignment_performs_assignment()
[all …]
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
DT.pass.cpp40 struct ThrowsCtorT { struct
41 ThrowsCtorT(int) noexcept(false) {} in ThrowsCtorT() argument
42 ThrowsCtorT &operator=(int) noexcept { return *this; } in operator =() argument
60 struct ThrowsCtorT { struct
62 ThrowsCtorT() : value(0) {} in ThrowsCtorT() function
63 ThrowsCtorT(int) noexcept(false) { throw 42; } in ThrowsCtorT() argument
64 ThrowsCtorT &operator=(int v) noexcept { in operator =() argument
119 using V = std::variant<Dummy, ThrowsCtorT>; in test_T_assignment_noexcept()
253 using V = std::variant<std::string, ThrowsCtorT>; in test_T_assignment_performs_construction()
277 using V = std::variant<ThrowsCtorT>; in test_T_assignment_performs_assignment()
[all …]