Hacker News new | ask | show | jobs
by jfkebwjsbx 2315 days 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.