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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-01-23

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to frankhb1989 from comment #0)
> and it should be solely determined by the internal node count type.

What is the internal node count type? You mean the size_type? That would be
wrong, because there's no way you can create numeric_limits<size_type>::max()
nodes, as each node requires tens of bytes.

I agree using the allocator's max_size() is wrong, but it doesn't really matter
because all max_size() functions on containers and allocators are useless in
practice.

Reply via email to