------- Comment #3 from chris at bubblescope dot net 2006-09-20 09:50 ------- Actually, I think deque could do with a better max_size.
Some tests: vector<int> v; v.resize(v.max_size()); Throws bad_alloc. deque<int> v; v.resize(v.max_size()); Bus errors. This is on i686-apple-darwin8, 4.0.1 Apple's build, so might not be the same behaviour as mainline. Still seems like it shouldn't bus error however? -- chris at bubblescope dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris at bubblescope dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29134