This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16375] decltype in class definition


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]