Liste des Groupes | Revenir à cl c |
And there are many ways to handle it that don't include throwingThese ways are all less comfortable than bad_alloc.
bad_alloc when the system is unable to provide additional address
space, memory or backing store.
Allocating major data structures at application start (perhaps usingWith modern allocators like mimalloc allocation is that fast that
a pool allocator) and crafting your algorithms such that they
don't require infinite memory is a good start.
Les messages affichés proviennent d'usenet.