Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
DT.pass.cpp34 struct ThrowsCtorT { struct
35 ThrowsCtorT(int) noexcept(false) {} in ThrowsCtorT() function
36 ThrowsCtorT &operator=(int) noexcept { return *this; } in operator =() argument
54 struct ThrowsCtorT { struct
56 ThrowsCtorT() : value(0) {} in ThrowsCtorT() argument
57 ThrowsCtorT(int) noexcept(false) { throw 42; } in ThrowsCtorT() argument
58 ThrowsCtorT &operator=(int v) noexcept { in operator =() argument
91 using V = std::variant<Dummy, ThrowsCtorT>; in test_T_assignment_noexcept()
166 using V = std::variant<std::string, ThrowsCtorT>; in test_T_assignment_performs_construction()
188 using V = std::variant<ThrowsCtorT>; in test_T_assignment_performs_assignment()
[all …]