Clang now has a querying macro for BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS. Use this querying macro and remove version checks.

[SVN r77752]
This commit is contained in:
Michel Morin
2012-04-04 14:20:14 +00:00
parent 6074729601
commit 9e23fbc66f

View File

@ -71,8 +71,7 @@
# define BOOST_NO_LAMBDAS # define BOOST_NO_LAMBDAS
#endif #endif
#if !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L) \ #if !__has_feature(cxx_local_type_template_args)
|| __clang_major__ < 2 || (__clang_major__ == 2 && __clang_minor__ < 8)
# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS # define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS
#endif #endif