[Bug c++/49252] Problem with inline
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 1 10:20:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49252
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-01 10:20:00 UTC ---
This has absolutely nothing to do with 'inline'
Whitespace is not significant in C++ so that line is equivalent to a single
qualified name:
std :: string :: Demo :: SOne :: text
Which is invalid.
Since the "::" in "::Demo" is optional you can just leave it out to cause the
correct name to be found.
More information about the Gcc-bugs
mailing list