https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78448
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Fixed for std::vector and std::deque. For the other containers the overhead of the nodes means that the allocator's max_size will never be larger than ptrdiff_t anyway.