1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-01 06:30:52 +02:00

back to c++17

This commit is contained in:
ClausKlein 2021-02-15 21:01:56 +01:00
parent e537d11f1d
commit b727eadfc7
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ TEST_CASE("Greeter") {
}
TEST_CASE("Greeter version") {
#if (__APPLE__ || __cpp_lib_starts_ends_with)
#if (__cpp_lib_starts_ends_with)
static_assert(std::string_view(GREETER_VERSION).starts_with("1")); // TBD C++20 only
CHECK(std::string(GREETER_VERSION).starts_with("1")); // SameMajorVersion
#else