You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code breaks when it is compiled with a C++20 capable compiler without using a C++20 capable standard library:
#if nsel_CPP20_OR_GREATER
using std::remove_cvref;
#else
Please don't assume that C++20 library features are available depending on the language standard that was selected with -std=.
Instead, check for each feature individually, as in
#if defined(__cpp_lib_remove_cvref)
using std::remove_cvref;
#else
The following code breaks when it is compiled with a C++20 capable compiler without using a C++20 capable standard library:
Please don't assume that C++20 library features are available depending on the language standard that was selected with
-std=
.Instead, check for each feature individually, as in
See the list of feature tests here: https://en.cppreference.com/w/cpp/feature_test
The text was updated successfully, but these errors were encountered: