SyTen

◆ free()

template<typename Type >
void syten::DynArray< Type >::free ( )
inlineprivate

Free allocated memory.

If Type has a trivial destructor, simply call l_free(array), otherwise call the destructor on each element of the array first.

References syten::DynArray< Type >::alloc, syten::DynArray< Type >::array, syten::DynArray< Type >::Dynamic, syten::EnvVars::dynarray_allocs, syten::DynArray< Type >::Eternal, syten::l_free(), syten::le_free(), syten::DynArray< Type >::length, and syten::logGW().

Referenced by syten::DynArray< Type >::load(), syten::DynArray< Type >::operator=(), and syten::DynArray< Type >::~DynArray().

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