Closed meekee7 closed 4 years ago
The bundled STL had a destroy function in defalloc.h which called the destructor of an object. In C++17, std::destroy is for iterators, but std::destroy_at does the same thing as the the old destroy.
destroy
defalloc.h
std::destroy
std::destroy_at
The bundled STL had a
destroy
function indefalloc.h
which called the destructor of an object. In C++17,std::destroy
is for iterators, butstd::destroy_at
does the same thing as the the olddestroy
.