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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-01-23
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
clang++ accepts this.

Started with r14-7075:

commit fbc980d85149409ce62c22f48d3693113803929e
Author: waffl3x <waff...@protonmail.com>
Date:   Sun Jan 7 00:01:48 2024 +0000

    c++: P0847R7 (deducing this) - initial functionality. [PR102609]

before:

118619.C:2:17: error: expected identifier before ‘this’
    2 | concept A = ([](this auto){}, true);
      |                 ^~~~
118619.C:2:17: error: expected ‘,’ or ‘...’ before ‘this’

Reply via email to