forked from boostorg/config
Renamed BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING, added BOOST_NO_VOID_RETURNS
[SVN r11259]
This commit is contained in:
28
config.htm
28
config.htm
@ -538,6 +538,19 @@ class X { ... };</pre>
|
|||||||
template arguments when calling function template
|
template arguments when calling function template
|
||||||
instantiations.</td>
|
instantiations.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top" width="51%">BOOST_NO_FUNCTION_TEMPLATE_ORDERING</td>
|
||||||
|
<td valign="top" width="16%">Compiler</td>
|
||||||
|
<td valign="top" width="33%">The compiler does not
|
||||||
|
perform function template ordering or its function
|
||||||
|
template ordering is incorrect. <pre>template<typename T> void f(T); // #1
|
||||||
|
template<typename T, typename U> void f(T (*)(U)); // #2
|
||||||
|
|
||||||
|
void bar(int);
|
||||||
|
|
||||||
|
f(&bar); // should choose #2.</pre>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top" width="51%">BOOST_NO_INCLASS_MEMBER_INITIALIZATION</td>
|
<td valign="top" width="51%">BOOST_NO_INCLASS_MEMBER_INITIALIZATION</td>
|
||||||
<td valign="top" width="16%">Compiler</td>
|
<td valign="top" width="16%">Compiler</td>
|
||||||
@ -719,16 +732,13 @@ class X { ... };</pre>
|
|||||||
specific.</td>
|
specific.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top" width="51%">BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING</td>
|
<td valign="top" width="51%">BOOST_NO_VOID_RETURNS</td>
|
||||||
<td valign="top" width="16%">Compiler</td>
|
<td valign="top" width="16%">Compiler</td>
|
||||||
<td valign="top" width="33%">The compiler does not
|
<td valign="top" width="33%">The compiler does not
|
||||||
perform function template ordering or its function
|
allow a void function to return the result of calling
|
||||||
template ordering is incorrect. <pre>template<typename T> void f(T); // #1
|
another void function.
|
||||||
template<typename T, typename U> void f(T (*)(U)); // #2
|
<pre>void f() {}
|
||||||
|
void g() { return f(); }</pre>
|
||||||
void bar(int);
|
|
||||||
|
|
||||||
f(&bar); // should choose #2.</pre>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -790,7 +800,7 @@ present.</p>
|
|||||||
<td valign="top" width="48%">BOOST_HAS_STLP_USE_FACET</td>
|
<td valign="top" width="48%">BOOST_HAS_STLP_USE_FACET</td>
|
||||||
<td valign="top" width="15%">Standard library</td>
|
<td valign="top" width="15%">Standard library</td>
|
||||||
<td valign="top" width="37%">The standard library lacks a
|
<td valign="top" width="37%">The standard library lacks a
|
||||||
conforming std::use_facet, but has a workaound class-version
|
conforming std::use_facet, but has a workaround class-version
|
||||||
that does the job. This is primarily for the STLport std
|
that does the job. This is primarily for the STLport std
|
||||||
lib.</td>
|
lib.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Reference in New Issue
Block a user