------- Comment #5 from chris at bubblescope dot net 2006-09-20 10:15 ------- The reason I bought this up here, is because I thought (and I could be wrong, sorry) that the overflow was being caused by the fact that we allow the container size to get too big, and if we pull max_size() down to a proper level, then the container should never have to deal with arithmetic overflow. Of course as a QoI issue, we might want good behaviour even if someone tries to resize a container larger than max_size.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29134