Searched refs:CopyThrows (Results 1 – 3 of 3) sorted by relevance
36 struct CopyThrows { struct37 CopyThrows() = default;38 CopyThrows(CopyThrows const&) { throw 42; } in CopyThrows() function39 CopyThrows& operator=(CopyThrows const&) { throw 42; }
312 struct CopyThrows { struct313 CopyThrows() {} in CopyThrows() argument314 CopyThrows(CopyThrows const&) {} in CopyThrows() function315 CopyThrows(CopyThrows&&) noexcept {} in CopyThrows() function320 void operator()(CopyThrows) noexcept {} in operator ()()334 CopyThrows arg; ((void)arg); // suppress unused warning in noexcept_test()
143 struct CopyThrows { struct144 CopyThrows() = default;145 CopyThrows(const CopyThrows &) { throw 42; } in CopyThrows() argument146 CopyThrows &operator=(const CopyThrows &) { throw 42; } in operator =() argument468 using V = std::variant<int, CopyThrows, std::string>; in test_copy_assignment_different_index()470 V v2(std::in_place_type<CopyThrows>); in test_copy_assignment_different_index()503 using V = std::variant<int, CopyThrows, std::string>; in test_copy_assignment_different_index()504 V v1(std::in_place_type<CopyThrows>); in test_copy_assignment_different_index()