mirror of
https://github.com/TartanLlama/optional.git
synced 2025-08-02 03:14:26 +02:00
MSVC
This commit is contained in:
@@ -30,6 +30,8 @@ TEST_CASE("Noexcept", "[noexcept]") {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct throw_swappable {
|
struct throw_swappable {
|
||||||
|
throw_swappable() = default;
|
||||||
|
throw_swappable(const throw_swappable &) {}
|
||||||
throw_swappable(throw_swappable &&) {}
|
throw_swappable(throw_swappable &&) {}
|
||||||
throw_swappable &swap(const throw_swappable &) { return *this; }
|
throw_swappable &swap(const throw_swappable &) { return *this; }
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user