"Daniel Yerushalmi" <[EMAIL PROTECTED]> wrote in message b15dfk$h89$[EMAIL PROTECTED]">news:b15dfk$h89$[EMAIL PROTECTED]... > In visual C 7 > The result are: Thanks... but I was unforgivable lazy and post an Ill-formed program (should have tested first!)
Could you tyr again with this corrected version? template<class T> struct X { X(); X ( X const& ) ; template<class U> X ( X<U> const& ) ; } ; template<class T> struct Y { Y(); Y ( Y const& ) ; explicit template<class U> Y ( Y<U> const& ) ; } ; template<class T> void eat ( X<T> ) ; template<class T> void eat ( Y<T> ) ; int main() { X<int> x1 ; X<int> x2 = x1; eat(x1); Y<int> y1 ; Y<int> y2 = y1; eat(y1); } Thanks, _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost