Fix compatibility with GCC 4.8

Closes #2045
This commit is contained in:
Benoit Blanchon
2024-02-01 21:37:45 +01:00
parent c98b05e207
commit 72642e3090
9 changed files with 50 additions and 9 deletions

View File

@ -212,3 +212,8 @@ TEST_CASE("Polyfills/type_traits") {
CHECK(is_enum<double>::value == false);
}
}
TEST_CASE("is_std_string") {
REQUIRE(is_std_string<std::string>::value == true);
REQUIRE(is_std_string<EmptyClass>::value == false);
}