[Bug c++/29834] g++ thinks it is a declaration when it cannot be
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 2 10:49:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29834
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You can use list-initialization to workaround it:
Doh{x}, ++x;
More information about the Gcc-bugs
mailing list