lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Static Public Member Functions
lean::containers::default_reallocation_policy< Container > Class Template Reference

Leaves reallocation to the specified container type. More...

#include <default_reallocation_policy.h>

List of all members.

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.

Detailed Description

template<class Container>
class lean::containers::default_reallocation_policy< Container >

Leaves reallocation to the specified container type.

This class does not implement any special way of reallocating elements.


The documentation for this class was generated from the following file: