add detection of C++17 folding experssion

This commit is contained in:
Jinhao 2017-12-20 01:28:05 +08:00
parent 5f77c73aaa
commit 9d75d15474

View File

@ -202,6 +202,7 @@
#undef _nana_cxx_constexpr_if #undef _nana_cxx_constexpr_if
#if (defined(_MSC_VER) && (_MSC_VER >= 1912) && defined(_MSVC_LANG) && _MSVC_LANG>= 201703) #if (defined(_MSC_VER) && (_MSC_VER >= 1912) && defined(_MSVC_LANG) && _MSVC_LANG>= 201703)
# define _nana_cxx_constexpr_if # define _nana_cxx_constexpr_if
# define _nana_cxx_folding_expression
#endif #endif