Function shrink_to_fit

Synopsis

#include <include/EASTL/deque.h>

void shrink_to_fit()

Description

No description yet.

Source

Lines 1483-1488 in include/EASTL/deque.h. Line 421 in include/EASTL/deque.h.

template <typename T, typename Allocator, unsigned kDequeSubarraySize>
inline void deque<T, Allocator, kDequeSubarraySize>::shrink_to_fit()
{
    this_type x(eastl::make_move_iterator(begin()), eastl::make_move_iterator(end()));
    swap(x);
}





Add Discussion as Guest

Log in