8 ms·
It will help you either use std::vector with a custom allocator that does not throw exceptions, or else write your own non-throwing vector class with templates,
by tines 10y ago
It will help you either use std::vector with a custom allocator that does not throw exceptions, or else write your own non-throwing vector class with templates, which would, I hope, be more maintainable and easier to use correctly than an equivalent written in C.