diff --git a/config.htm b/config.htm index 11a34b0c..17a1b2d7 100644 --- a/config.htm +++ b/config.htm @@ -1029,16 +1029,13 @@ provide workarounds for compiler/standard library defects.

Description

- BOOST_DEDUCED_TYPENAME - - Some compilers don't support the - use of typename for dependent types in deduced - contexts. This macro expands to nothing on those compilers, - and typename elsewhere. - -For example, replace:
template  void f(T, typename T::type);
+ Some compilers don't support + the use of typename for dependent types in + deduced contexts. This macro expands to nothing on those + compilers, and typename elsewhere. For + example, replace:
template  void f(T, typename T::type);

with:

template  void f(T, BOOST_DEDUCED_TYPENAME T::type);
@@ -1144,6 +1141,13 @@ user code.

Microsoft Visual C++, as opposed to one of the many other compilers that also define _MSC_VER. + + BOOST_DINKUMWARE_STDLIB + <boost/config.hpp> + Defined if the dinkumware standard library is in use, + takes the same value as the Dinkumware library version + macro _CPPLIB_VER if defined, otherwise 1. + BOOST_NO_WREGEX <boost/regex.hpp> diff --git a/include/boost/config/stdlib/dinkumware.hpp b/include/boost/config/stdlib/dinkumware.hpp index f6da4251..a52b108c 100644 --- a/include/boost/config/stdlib/dinkumware.hpp +++ b/include/boost/config/stdlib/dinkumware.hpp @@ -69,6 +69,12 @@ # define BOOST_NO_STD_LOCALE #endif +#ifdef _CPPLIB_VER +# define BOOST_DINKUMWARE_STDLIB _CPPLIB_VER +#else +# define BOOST_DINKUMWARE_STDLIB 1 +#endif + #ifdef _CPPLIB_VER # define BOOST_STDLIB "Dinkumware standard library version " BOOST_STRINGIZE(_CPPLIB_VER) #else @@ -80,3 +86,4 @@ +