|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2008-06-26 13:30:52
Howard Hinnant wrote:
> On Jun 26, 2008, at 12:33 PM, David Abrahams wrote:
>
>> At least one thing is clear: is_convertible shouldn't ever cause a
>> compile-time error. If one of the possible implementations always
>> avoids a compile-time error, I vote for that one.
>
> I believe the only time you can get a compile-time error out of
> is_convertible is if you use it with types which fail to meet these
> requirements:
>
>> From and To shall be complete types, arrays of unknown bound, or
>> (possibly cv-qualiï¬ed) void types.
>
Just look back at the first message of this thread for a counterexample.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk