...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::alignment::aligned_free
// In header: <boost/align/aligned_alloc.hpp> void aligned_free(void * ptr);
Causes the space pointed to by ptr
to be deallocated, that is, made available for further allocation. If ptr
is a null pointer, no action occurs. Otherwise, if the argument does not match a pointer earlier returned by the aligned_alloc
function, or if the space has been deallocated by a call to aligned_free
, the behavior is undefined.