merge RC_1_32_0 fixes

[SVN r26333]
This commit is contained in:
Aleksey Gurtovoy authored and Peter Dimov committed 2014-06-01 01:15:36 +03:00
1 parent d778ba1a08
commit 220080e288
2 files changed
+16 -2

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ When valid, <TT>enable_if_c&lt;B, T&gt;::type</TT> equals <TT>T</TT>.
The <TT>enable_if_c</TT> template can thus be used for controlling when functions are considered for
overload resolution and when they are not.
For example, the following function is defined for all arithmetic types (according to the
classification of the <A HREF="http://www.boost.org/libs/type_traits">Boost type_traits library</A>):
classification of the <A HREF="../type_traits/index.html">Boost type_traits library</A>):
<PRE>template &lt;class T&gt;
typename enable_if_c&lt;boost::is_arithmetic&lt;T&gt;::value, T&gt;::type
foo(T t) { return t; }