diff --git a/doc/macro_reference.qbk b/doc/macro_reference.qbk index 6cf90de4..a0a4ff4a 100644 --- a/doc/macro_reference.qbk +++ b/doc/macro_reference.qbk @@ -477,6 +477,9 @@ upcoming ISO C++ standard, C++0x. The compiler supports concepts. Note: concepts have been proposed for C++0x, but have not yet been approved for inclusion in the language. ]] +[[`BOOST_HAS_DECLTYPE`][ +The compiler supports decltype. +]] [[`BOOST_HAS_LONG_LONG`][ The compiler supports the long long data type. ]] @@ -487,9 +490,7 @@ The compiler supports rvalue references. The compiler supports static assertions. ]] [[`BOOST_HAS_VARIADIC_TMPL`][ -The compiler supports variadic templates. Note: variadic templates have been -proposed for C++0x, but have not yet been approved for inclusion in the -language. +The compiler supports variadic templates. ]] ] diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index 1272a609..9b49e843 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -93,6 +93,7 @@ # define BOOST_HAS_STATIC_ASSERT # define BOOST_HAS_VARIADIC_TMPL # define BOOST_HAS_RVALUE_REFS +# define BOOST_HAS_DECLTYPE # endif #endif