mirror of
https://github.com/boostorg/core.git
synced 2025-11-29 05:40:14 +01:00
fixed a typo
[SVN r22754]
This commit is contained in:
committed by
Peter Dimov
parent
7a1400291d
commit
9a8dbe4d6a
@@ -303,7 +303,7 @@ foo(T t);
|
||||
<UL><LI>
|
||||
Use an extra dummy parameter which disambiguates the functions. Use a default value for
|
||||
it to hide the parameter from the caller. For example:
|
||||
<PRE>template <class T> struct dummy { dummy(int) {} };
|
||||
<PRE>template <int> struct dummy { dummy(int) {} };
|
||||
|
||||
template <class T>
|
||||
typename enable_if<boost::is_arithmetic<T>, T>::type
|
||||
|
||||
Reference in New Issue
Block a user