Add new macro for standard library header inclusion

Newer standard library headers should only be included when the compiler
is targetting that standard, otherwise some compilers (like MSVC) will
warn that you are using a newer C++ include on an older version.
This commit is contained in:
Ian McInerney
2023-07-24 10:33:10 +01:00
parent 3dfb2a5ac1
commit b8d3b37c9e
6 changed files with 30 additions and 14 deletions

View File

@@ -691,4 +691,4 @@ TEST_CASE("StdString::View", "[stdstring]")
CHECK( "" == wxString::FromUTF8(strViewInvalidUTF) );
}
#endif
#endif // wxHAS_STD_STRING_VIEW