Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
DT.pass.cpp39 struct ThrowsAssignT { struct
40 ThrowsAssignT(int) noexcept {} in ThrowsAssignT() function
41 ThrowsAssignT &operator=(int) noexcept(false) { return *this; } in operator =() argument
64 struct ThrowsAssignT { struct
66 ThrowsAssignT() : value(0) {} in ThrowsAssignT() argument
67 ThrowsAssignT(int v) noexcept : value(v) {} in ThrowsAssignT() function
68 ThrowsAssignT &operator=(int) noexcept(false) { throw 42; } in operator =() argument
95 using V = std::variant<Dummy, ThrowsAssignT>; in test_T_assignment_noexcept()
175 using V = std::variant<ThrowsAssignT, std::string>; in test_T_assignment_performs_construction()
202 using V = std::variant<ThrowsAssignT>; in test_T_assignment_performs_assignment()
[all …]