Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-03-12 08:34:12

"Daniel Frey" <daniel.frey_at_[hidden]> wrote in message
David Abrahams:
>> 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?



Boost list run by bdawes at, gregod at, cpdaniel at, john at