
20 Oct
2011
20 Oct
'11
11:06 p.m.
Matt Calabrese <rivorus@gmail.com> writes:
First, why are you using enable_if here at all? Is there something wrong with: void f(T p )
It could be useful to deny conversions at compile time, with the int/double example being just a demonstration. -- John Wiegley BoostPro Computing, Inc. http://www.boostpro.com