mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 02:44:10 +00:00
fixed a typo
[SVN r22754]
This commit is contained in:
parent
822b46a3df
commit
c320330cd5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user