https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113704
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2024-07-10 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- We could add a new _Impl constructor that takes a facet::id as an argument, and ensures the array it allocates has room for that id. That will ensure that _M_install_facet doesn't need to reallocate and so is efficient.