libdna icon indicating copy to clipboard operation
libdna copied to clipboard

std::string::resize_and_overwrite

Open kloetzl opened this issue 2 years ago • 0 comments

C++23 provides a new method resize_and_overwrite to allow access to the uninitialized bytes of the buffer. This can be used to skip the default initialisation.

kloetzl avatar Mar 10 '22 10:03 kloetzl