https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101659
Simon Marchi <simon.marchi at polymtl dot ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Simon Marchi <simon.marchi at polymtl dot ca> ---
(In reply to Marc Glisse from comment #1)
> I already see some "__glibcxx_assert(this->_M_is_engaged());" in the code,
> which IIUC should be enabled by _GLIBCXX_ASSERTIONS (and a fortiori by
> _GLIBCXX_DEBUG). Did you actually try it?
Arf, yes I did try it. But I now see that I compiled my test.cpp _without_
_GLIBCXX_DEBUG (with the intention of compiling with it). Now that I did it
correctly, I see the assertion triggers.
Thanks, and sorry for wasting everyone's time.