Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2008-06-26 13:16:21


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-qualified) void types.

-Howard


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk