Revised patch attached. On Fri, Nov 5, 2021 at 4:46 PM Jonathan Wakely wrote: > On Fri, 5 Nov 2021 at 21:51, Jonathan Wakely via Libstdc++ > wrote: > > > > OK, thanks. > > Actually, we should really have a test to verify it can be called on a > const object. Please add something when you commit, it can be dumb and > simple, it just needs to verify that it can be called. > > > > > > > > On Fri, 5 Nov 2021 at 21:46, Thomas Rodgers via Libstdc++ < > > libstdc++@gcc.gnu.org> wrote: > > > > > > > > > >