C++相談室 part122 [無断転載禁止]©5ch.io
■ このスレッドは過去ログ倉庫に格納されています
0055デフォルトの名無しさん
2016/01/25(月) 22:55:07.69ID:ATEV5j5o> push_back() で例外飛んだら
http://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).
↑これのこと?
■ このスレッドは過去ログ倉庫に格納されています