This is the mail archive of the gcc-patches@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]

[C++ PATCH PING] Reject trailing return type for operator auto()


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.


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