18 Jul
2009
18 Jul
'09
5:31 p.m.
AMDG Zachary Turner wrote:
Supposing I have 4 or 5 mutually exclusive overloads of a function using enable_if as a function parameter with a default argument, is there any way for me to provide an additional version of this function that handles every other case, without manually combining all the previous cases and using another enable_if?
Not that I know of. You would have to make the fallback less specialized than any of the enable_if'ed overloads. In Christ, Steven Watanabe