lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
Leaves reallocation to the specified container type. More...
#include <default_reallocation_policy.h>
Static Public Member Functions | |
static LEAN_INLINE void | reserve (Container &container, typename Container::size_type newCapacity) |
Reserves memory for the specified number of elements using the given container's default reserve method. | |
static LEAN_INLINE void | pre_resize (Container &container, typename Container::size_type newCount) |
Does not reserve anything, entirely leaving element reallocation to the underlying container type. |
Leaves reallocation to the specified container type.
This class does not implement any special way of reallocating elements.