Searched refs:CopyThrows (Results 1 – 6 of 6) 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
35 struct CopyThrows { struct36 CopyThrows() = default;37 CopyThrows(CopyThrows const&) { throw 42; } in CopyThrows() argument38 CopyThrows& operator=(CopyThrows const&) { throw 42; }
309 struct CopyThrows { struct310 CopyThrows() {} in CopyThrows() function311 CopyThrows(CopyThrows const&) {} in CopyThrows() argument312 CopyThrows(CopyThrows&&) noexcept {} in CopyThrows() function317 void operator()(CopyThrows) noexcept {} in operator ()()331 CopyThrows arg; ((void)arg); // suppress unused warning in noexcept_test()
307 struct CopyThrows { struct308 CopyThrows() {} in CopyThrows() argument309 CopyThrows(CopyThrows const&) {} in CopyThrows() argument310 CopyThrows(CopyThrows&&) noexcept {} in CopyThrows() argument315 void operator()(CopyThrows) noexcept {} in operator ()()329 CopyThrows arg; ((void)arg); // suppress unused warning in noexcept_test()
154 struct CopyThrows { struct155 CopyThrows() = default;156 CopyThrows(const CopyThrows &) { throw 42; } in CopyThrows() argument157 CopyThrows &operator=(const CopyThrows &) { throw 42; } in operator =() argument479 using V = std::variant<int, CopyThrows, std::string>; in test_copy_assignment_different_index()481 V v2(std::in_place_type<CopyThrows>); in test_copy_assignment_different_index()514 using V = std::variant<int, CopyThrows, std::string>; in test_copy_assignment_different_index()515 V v1(std::in_place_type<CopyThrows>); in test_copy_assignment_different_index()
147 struct CopyThrows { struct148 CopyThrows() = default;149 CopyThrows(const CopyThrows &) { throw 42; } in CopyThrows() argument150 CopyThrows &operator=(const CopyThrows &) { throw 42; } in operator =() argument472 using V = std::variant<int, CopyThrows, std::string>; in test_copy_assignment_different_index()474 V v2(std::in_place_type<CopyThrows>); in test_copy_assignment_different_index()507 using V = std::variant<int, CopyThrows, std::string>; in test_copy_assignment_different_index()508 V v1(std::in_place_type<CopyThrows>); in test_copy_assignment_different_index()