This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16375] decltype in class definition
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Feb 2012 00:19:14 +0000
- Subject: [Bug c++/16375] decltype in class definition
- Auto-submitted: auto-generated
- References: <bug-16375-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16375
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|typeof() in class |decltype in class
|definition |definition
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-02 00:19:14 UTC ---
The first testcase works on the trunk while the second still does not even when
using decltype.
t788.cc:4:15: error: invalid use of âthisâ at top level
t788.cc:5:15: error: invalid use of âthisâ at top level