Define BOOST_NO_CXX11_SFINAE_EXPR in C++98 clang

When compiling in pre-C++11 clang mode it should be defined
This commit is contained in:
Glen Fernandes
2017-02-20 11:30:56 -05:00
committed by GitHub
parent 1abc59c624
commit 041bf1ee1f

View File

@ -282,6 +282,10 @@
# define BOOST_NO_CXX14_VARIABLE_TEMPLATES # define BOOST_NO_CXX14_VARIABLE_TEMPLATES
#endif #endif
#if __cplusplus < 201103L
#define BOOST_NO_CXX11_SFINAE_EXPR
#endif
#if __cplusplus < 201400 #if __cplusplus < 201400
// All versions with __cplusplus above this value seem to support this: // All versions with __cplusplus above this value seem to support this:
# define BOOST_NO_CXX14_DIGIT_SEPARATORS # define BOOST_NO_CXX14_DIGIT_SEPARATORS