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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-08-16
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The problem is that ctx._M_indent is a member access expression through a
reference, which is not allowed in constant expressions. This is a silly
restriction that https://wg21.link/p2280r2 aims to change.

Reply via email to