|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2006-02-09 13:55:30
> I don't see any, either, as CW seems not being able to handle function
> types at all here.
>
> I'm also far from being an expert :-) : the auto_ptr test works well
> with the original implementation if you remove const.
Which const?
> I'm just wondering: could someone give me an example where
> is_convertible returns different results if a type is/is not const?
The only case I can think of is along the lines of:
class foo
{
public:
foo(bar&);
};
is_convertible<bar,foo>::value should be true.
is_convertible<const bar,foo>::value should be false.
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk