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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html
> 
> 
> Confirmed.

I should note that paper clearifies this to the tea now:
A parameter shall not appear as a potentially-evaluated expression in a default
argument.

Also note that paper is considered a defect fix for at least C++20.

Reply via email to