This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[C++ PATCH PING] Reject trailing return type for operator auto()
- From: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Sun, 28 Dec 2014 20:21:24 +0200
- Subject: [C++ PATCH PING] Reject trailing return type for operator auto()
- Authentication-results: sourceware.org; auth=none
Any comments on this?
On 19 December 2014 at 09:21, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> Tested on Linux-x64.
>
> /cp
> 2014-12-19 Ville Voutilainen <ville.voutilainen@gmail.com>
>
> Reject trailing return type for an operator auto().
> * decl.c (grokdeclarator): Reject trailing return types for
> all conversion operators, don't handle conversion operators
> in the previous checks that deal with auto.
>
> /testsuite
> 2014-12-19 Ville Voutilainen <ville.voutilainen@gmail.com>
>
> Reject trailing return type for an operator auto().
> * g++.dg/cpp0x/auto9.C: Adjust.