------- Comment #13 from pcarlini at suse dot de 2007-03-27 19:25 ------- By the way, as a matter of portability, isn't a good idea to use the string class with anything != char and wchar_t: things usually work in rather recent releases of GCC only because we are delivering a "generic" implementation of char_traits, which cannot be assumed, in general (and that's why probably your specific issue with empty strings has not been reported earlier).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31368