forked from TartanLlama/optional
Fix bases test
This commit is contained in:
@ -4,6 +4,8 @@
|
||||
// Old versions of GCC don't have the correct trait names. Could fix them up if needs be.
|
||||
#if (defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ <= 9 && \
|
||||
!defined(__clang__))
|
||||
// nothing for now
|
||||
#else
|
||||
TEST_CASE("Triviality", "[bases.triviality]") {
|
||||
REQUIRE(std::is_trivially_copy_constructible<tl::optional<int>>::value);
|
||||
REQUIRE(std::is_trivially_copy_assignable<tl::optional<int>>::value);
|
||||
|
Reference in New Issue
Block a user