
24 May
2007
24 May
'07
5:38 p.m.
Thorsten Ottosen wrote:
I meant
is_convertible< *AnyType*, // From iterator_range<char *> // To
returns "true".
I'm not sure why is_convertible<> behaves like that, I dont recall having done any thing to support that explicitly.
Anyway, what is the problem? AFAICT, it happens for all class with a non-explicit templated constructor.
I sometimes expect the correct convertibility for enable_if_convertible. Well, what surprised me is that msvc fails to compile value_type x = iter[c]; // 'iter[c]' returns a proxy which is convertible to value_type. if value_type has such a constructor. Regards, -- Shunsuke Sogame