|
Boost : |
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-03-12 08:34:12
"Daniel Frey" <daniel.frey_at_[hidden]> wrote in message
news:c2scpf$me8$1_at_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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk