This commit is contained in:
Simon Brand
2017-10-20 11:28:34 +01:00
parent 9cb8e01095
commit 170a1941fb

View File

@@ -30,6 +30,8 @@ TEST_CASE("Noexcept", "[noexcept]") {
};
struct throw_swappable {
throw_swappable() = default;
throw_swappable(const throw_swappable &) {}
throw_swappable(throw_swappable &&) {}
throw_swappable &swap(const throw_swappable &) { return *this; }
};