MCPcopy Create free account
hub / github.com/Gecode/gecode / deallocate

Method deallocate

gecode/kernel/memory/allocators.hpp:429–431  ·  view source on GitHub ↗

* \brief Deallocates storage * * Deallocates storage obtained by a call to allocate() with * arguments \a count and \a p. Note that region allocator never * actually deallocates memory (so this function does nothing); * the memory is released when the region is destroyed. */

Source from the content-addressed store, hash-verified

427 * the memory is released when the region is destroyed.
428 */
429 void deallocate(pointer p, size_type count) {
430 region.rfree(static_cast<void*>(p), count);
431 }
432
433 /**
434 * \brief Constructs an object

Callers

nothing calls this directly

Calls 1

rfreeMethod · 0.45

Tested by

no test coverage detected