[Bug c++/59186] decltype(this) treated specially in trailing-return-specifier

potswa at mac dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 19 06:28:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59186

--- Comment #1 from David Krauss <potswa at mac dot com> ---
Just to clarify, in the last paragraph, decltype(this) has the same meaning in
both cases according to the standard but the bug causes it to refer to the
inner type instead of the outer type.



More information about the Gcc-bugs mailing list