forked from boostorg/config
Added BOOST_DINKUMWARE_STDLIB macro
[SVN r16172]
This commit is contained in:
20
config.htm
20
config.htm
@ -1029,16 +1029,13 @@ provide workarounds for compiler/standard library defects.</p>
|
||||
<td valign="top" width="50%"><p align="center"><b>Description</b></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" width="50%">BOOST_DEDUCED_TYPENAME</td>
|
||||
|
||||
<td valign="top" width="50%">Some compilers don't support the
|
||||
use of <code>typename</code> for dependent types in deduced
|
||||
contexts. This macro expands to nothing on those compilers,
|
||||
and <code>typename</code> elsewhere.
|
||||
|
||||
For example, replace:<pre>template <class T> void f(T, typename T::type);</pre>
|
||||
<td valign="top" width="50%">Some compilers don't support
|
||||
the use of <code>typename</code> for dependent types in
|
||||
deduced contexts. This macro expands to nothing on those
|
||||
compilers, and <code>typename</code> elsewhere. For
|
||||
example, replace:<pre>template <class T> void f(T, typename T::type);</pre>
|
||||
<p>with:</p>
|
||||
<pre>template <class T> void f(T, BOOST_DEDUCED_TYPENAME T::type);</pre>
|
||||
</td>
|
||||
@ -1144,6 +1141,13 @@ user code.</p>
|
||||
Microsoft Visual C++, as opposed to one of the many other
|
||||
compilers that also define _MSC_VER.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>BOOST_DINKUMWARE_STDLIB</td>
|
||||
<td><boost/config.hpp></td>
|
||||
<td>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.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="33%">BOOST_NO_WREGEX</td>
|
||||
<td valign="top" width="33%"><boost/regex.hpp></td>
|
||||
|
@ -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 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user