
12 Mar
2004
12 Mar
'04
1:34 p.m.
"Daniel Frey" <daniel.frey@aixigo.de> wrote in message news:c2scpf$me8$1@sea.gmane.org... David Abrahams: [snip]
Why doesn't
T(pi)
Because T can have multiple ctors (taking i.e. float, double, long double and thus making the conversion ambiguous - I can't control that from inside pi, the T is not exactly forwarded to pi's type when asked for a conversion).
1. how big is this problem in practice? 2.couldn't you just make a default choice? Let enable_if disable some if there is an ambiguity? br Thorsten