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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot 
gnu.org

--- Comment #11 from Martin Sebor <msebor at gcc dot gnu.org> ---
I agree that the standard should say more about when max_size() is used.  I
proposed that in LWG 580 but the LWG resolved it as NAD.  It wasn't the first
time this came up.  LWG 197 pointed out the underspecification way back in 1999
but the LWG resolved that one as NAD as well.  The latest discussion only
highlights that the issue hasn't been put to rest.

Jon, I posted an updated patch for you to consider:
https://gcc.gnu.org/ml/libstdc++/2017-12/msg00023.html

Reply via email to