Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2003-01-21 06:58:44


> By the same reasoning, is_convertible<void(), void(*)()> should evaluate
to
> true, since a function type is implicitly convertible to its pointer type.
> But given the current implementation (1.29.0),
> is_convertible<void(),void(*)()> doesn't compile.
>
> Opinions? Is this just too nit-picky?

You're probably right, I guess we should convert non-object types to
references internally so that cases like this will actually compile.

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


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