Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
H A DT.pass.cpp36 struct ThrowsCtorT { struct
37 ThrowsCtorT(int) noexcept(false) {} in ThrowsCtorT() argument
38 ThrowsCtorT &operator=(int) noexcept { return *this; } in operator =() argument
56 struct ThrowsCtorT { struct
58 ThrowsCtorT() : value(0) {} in ThrowsCtorT() function
59 ThrowsCtorT(int) noexcept(false) { throw 42; } in ThrowsCtorT() function
60 ThrowsCtorT &operator=(int v) noexcept { in operator =() argument
115 using V = std::variant<Dummy, ThrowsCtorT>; in test_T_assignment_noexcept()
239 using V = std::variant<std::string, ThrowsCtorT>; in test_T_assignment_performs_construction()
263 using V = std::variant<ThrowsCtorT>; in test_T_assignment_performs_assignment()
[all …]