|
inlineprivate |
Acquire memory based on the current value of length.
do_init | if do_init is Init::No and Type is trivially constructible, call initTrivial(), otherwise, call initNew(); |
References syten::DynArray< Type >::array, syten::EnvVars::dynarray_allocs, syten::DynArray< Type >::initNew(), syten::DynArray< Type >::initTrivial(), syten::DynArray< Type >::length, syten::logGW(), and syten::No.
Referenced by syten::DynArray< Type >::DynArray(), and syten::DynArray< Type >::load().