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

Tom Honermann <tom at honermann dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Tom Honermann <tom at honermann dot net> ---
(In reply to Andrew Sutton from comment #6)
> The requires-clause comes before the = default (the = xxx) is considered
> part of the function definition. So:
> 
>   void f() requires true = default;

Ah, thank you.  The syntax I used is accepted by a long ago built gcc revision
(r211824) (and that old build doesn't accept the syntax above).

Closing this bug as resolved/fixed as of r221733.  Thank you!

Reply via email to