Searched refs:CopyThrows (Results 1 – 3 of 3) sorted by relevance
27 struct CopyThrows { struct28 CopyThrows() = default;29 CopyThrows(CopyThrows const&) { throw 42; } in CopyThrows() argument30 CopyThrows& operator=(CopyThrows const&) { throw 42; } in operator =() argument
105 struct CopyThrows { struct106 CopyThrows() = default;107 CopyThrows(const CopyThrows &) { throw 42; } in CopyThrows() function108 CopyThrows &operator=(const CopyThrows &) { throw 42; } in operator =() argument336 using V = std::variant<int, CopyThrows, std::string>; in test_copy_assignment_different_index()338 V v2(std::in_place_type<CopyThrows>); in test_copy_assignment_different_index()364 using V = std::variant<int, CopyThrows, std::string>; in test_copy_assignment_different_index()365 V v1(std::in_place_type<CopyThrows>); in test_copy_assignment_different_index()
307 struct CopyThrows { struct308 CopyThrows() {} in CopyThrows() function309 CopyThrows(CopyThrows const&) {} in CopyThrows() function310 CopyThrows(CopyThrows&&) noexcept {} in CopyThrows() function315 void operator()(CopyThrows) noexcept {} in operator ()()329 CopyThrows arg; ((void)arg); // suppress unused warning in noexcept_test()