Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
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