------- Comment #1 from pinskia at gcc dot gnu dot org  2007-09-06 20:04 -------
> s1 is "surprise"

No it is not.

std::cout << s1 << std::endl;

Calls s1.operator const char* and not s1.operator<< .


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33314

Reply via email to