mirror of
https://github.com/boostorg/utility.git
synced 2025-07-29 20:37:32 +02:00
fixed a typo
[SVN r22754]
This commit is contained in:
@ -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