SyTen

◆ stackSize()

template<typename T >
constexpr MemorySize syten::MemoryUsage::stackSize ( T const &  obj)
constexpr

Returns the amount of stack memory required by obj and its members.

Instantiates StackSize<T, MemorySize> and calls StackSize::get() on it.

References syten::MemoryUsage::StackSize< T, U >::get().

Referenced by syten::MemoryUsage::TotalSize< T, U >::get().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: