3 ms·
bad_alloc does not mean the allocator has stopped working. It only means that a particular allocation cannot be served. And there are plenty of other root caus
by jfkebwjsbx 7y ago
bad_alloc does not mean the allocator has stopped working. It only means that a particular allocation cannot be served.
And there are plenty of other root causes for exceptions in real programs, not just allocations.
That does not mean one needs exceptions, though.