
9 Feb
2006
9 Feb
'06
6:55 p.m.
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.