Variable templates are somewhat unusable in GCC 5.1 (bug 65719)

This commit is contained in:
Glen Fernandes
2018-02-09 07:58:30 -05:00
parent 0275380f32
commit db4ebfca6f

View File

@ -285,7 +285,7 @@
#if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
# define BOOST_NO_CXX14_CONSTEXPR
#endif
#if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
#if (BOOST_GCC_VERSION < 50200) || !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
# define BOOST_NO_CXX14_VARIABLE_TEMPLATES
#endif