Template Function hpp::fcl::computeMemoryFootprint

Function Documentation

template<typename T>
size_t hpp::fcl::computeMemoryFootprint(const T &object)

Returns the memory footpring of the input object. For POD objects, this function returns the result of sizeof(T)

Parameters:

object[in] whose memory footprint needs to be evaluated.

Returns:

the memory footprint of the input object.