4 ms·
> I'm not aware of a way to construct an std::vector without throwing an exception. You use an allocator with enough pool for whatever you need to do and avoid
by TheMonarchist 5y ago
> I'm not aware of a way to construct an std::vector without throwing an exception.
You use an allocator with enough pool for whatever you need to do and avoid out of bounds access.