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
Describe the bug
Some compilers will appear to support C++17 but not support std::is_same_v properly, however, unlike other C++17 features with have a compile flag such as CATCH_CONFIG_NO_CPP17_BYTE there isn't an analogous one for std::is_same_v.
Expected behavior
User of catch should be able to #define CATCH_CONFIG_NO_CPP17_IS_SAME_V in a broken compiler and have catch work.
Reproduction steps
Compile a project with clang 8.0.0, observe the following error:
catch.hpp:686:10: error: no template named 'is_same_v' in namespace 'std'
Describe the bug
Some compilers will appear to support C++17 but not support std::is_same_v properly, however, unlike other C++17 features with have a compile flag such as
CATCH_CONFIG_NO_CPP17_BYTE
there isn't an analogous one for std::is_same_v.Expected behavior
User of catch should be able to #define CATCH_CONFIG_NO_CPP17_IS_SAME_V in a broken compiler and have catch work.
Reproduction steps
Compile a project with clang 8.0.0, observe the following error:
cmake flags used:
Platform information:
** Proposed patch (to single header)
The text was updated successfully, but these errors were encountered: