4 ms·
What unnecessary copying are you referring to? According to the documentation, `secure_vector` is just a typedef of `std::vector` with a custom allocator that z
by idsout 10y ago
What unnecessary copying are you referring to? According to the documentation, `secure_vector` is just a typedef of `std::vector` with a custom allocator that zeroes memory on destruction.
Also, in C++11, `std::vector` contains the member function `data()` which returns a pointer to the underlying data. The data is mutable through this pointer.