www.cplusplus.com/reference/vector/vector/push_back/ > If a reallocation happens, the storage is allocated using the container's allocator, > which may throw exceptions on failure (for the default allocator, > bad_alloc is thrown if the allocation request does not succeed).