Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function aligned_free

boost::alignment::aligned_free

Synopsis

// In header: <boost/align/aligned_alloc.hpp>


void aligned_free(void * ptr);

Description

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.


PrevUpHomeNext