https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98942

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
https://gcc.gnu.org/g:0f161cc8494cf7283a16fa9ebbcf8fd121bab68d

commit r11-7419-g0f161cc8494cf7283a16fa9ebbcf8fd121bab68d
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Feb 26 10:44:52 2021 +0100

    c++: Implement P1102R2 - Down with ()!

    The following patch implements P1102R2.
    For attributes, we have already attribute parsing before the parameter
    declarations and so when that is omitted, if the attributes are first we
    already accept it.

    2021-02-26  Jakub Jelinek  <ja...@redhat.com>

            * parser.c (cp_parser_lambda_declarator_opt): Implement
            P1102R2 - Down with ()! Make ()s optional before lambda specifiers
            for -std={c,gnu}++2b or with pedwarn in earlier versions.

            * g++.dg/cpp23/lambda-specifiers1.C: New test.

Feature test macro not added yet.
https://github.com/cplusplus/draft/pull/4513 doesn't mention anything.

Reply via email to