Created on 2009-03-03.00:00:00 last changed 178 months ago
[Voted into WP at July, 2009 meeting as part of N2932.]
Notes from the March, 2009 meeting:
The CWG was in favor of throwing an exception derived from std::bad_alloc. This would be upwardly compatible; it would be harmless for programs that currently catch std::bad_alloc, but would allow programs to treat the calculation overflow case separately if they wish.
Throwing std::length_error (7.6.2.8 [expr.new] paragraph 7) for an attempt to allocate a too-large array brings in too much of the Standard library. A simpler exception, like std::bad_alloc, should be thrown instead.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-03-29 00:00:00 | admin | set | status: wp -> cd2 |
2009-11-08 00:00:00 | admin | set | status: dr -> wp |
2009-08-03 00:00:00 | admin | set | messages: + msg2253 |
2009-08-03 00:00:00 | admin | set | status: open -> dr |
2009-03-23 00:00:00 | admin | set | messages: + msg1983 |
2009-03-03 00:00:00 | admin | create |