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

--- Comment #5 from Francois Fayard <fayard at insideloop dot io> ---
They are so many people out there who claim that using an unsigned integer
(std::size_t) as an array index was a good choice because you can allocate
larger arrays than with the signed integer of the same size (std::ptrdiff_t)
that it would be nice to show them they can't :-)

max_size() is not clearly defined, but I still think it would be nice to put it
in max_size() as a "documentation".

Reply via email to