http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60714
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- std::basic_stringbuf is not a type, it's a template. std::basic_stringbuf<char> is a type, so std::basic_stringbuf<char>::int_type would be a type