------- Comment #10 from pcarlini at suse dot de 2006-09-20 15:57 ------- (In reply to comment #9) > I'm only wondering whether it would make sense to divide by sizeof(T) also in > the other containers beside vector: the upper bound would be somewhat tighter > and still correct, AFAICS. What do you think?
Even better, it can be used the max_size of an allocator of value_type. That seems a very safe upper bound and probably the consistency with allocator will make submitter happy ;) -- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-09-20 15:57:38 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29134