8 Apr
2009
8 Apr
'09
3:23 p.m.
Hicham Mouline a écrit :
I tried something along these lines:
but it failed to compile...
Shouldn't the enable_if metafct remove the invalid functions from the overload set?
Regards,
It probably failed because you use typename inside the enable_if condition. Make a meta-function that do your test and invoke it inside enable_if -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35