From 9d75d15474653fa5fb20d99089c2d759f22d3648 Mon Sep 17 00:00:00 2001 From: Jinhao Date: Wed, 20 Dec 2017 01:28:05 +0800 Subject: [PATCH] add detection of C++17 folding experssion --- include/nana/c++defines.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/nana/c++defines.hpp b/include/nana/c++defines.hpp index 70db8f8f..98c23dc4 100644 --- a/include/nana/c++defines.hpp +++ b/include/nana/c++defines.hpp @@ -202,6 +202,7 @@ #undef _nana_cxx_constexpr_if #if (defined(_MSC_VER) && (_MSC_VER >= 1912) && defined(_MSVC_LANG) && _MSVC_LANG>= 201703) # define _nana_cxx_constexpr_if +# define _nana_cxx_folding_expression #endif