gcc 4.8.1 and 4.9.0 support N3276 decltype feature

[SVN r83625]
This commit is contained in:
Michel Morin
2013-03-29 03:22:28 +00:00
parent 3ce54f0e8b
commit a61cda699e

View File

@ -236,12 +236,17 @@
#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#endif
// C++0x features in 4.7.n and later
//
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
# define BOOST_NO_CXX11_TEMPLATE_ALIASES
#endif
// C++0x features not supported at all yet
// C++0x features in 4.8.1 and later
//
#define BOOST_NO_CXX11_DECLTYPE_N3276
#if (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__ < 40801) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
# define BOOST_NO_CXX11_DECLTYPE_N3276
#endif
#ifndef BOOST_COMPILER
# define BOOST_COMPILER "GNU C++ version " __VERSION__