Function reserve

Synopsis

#include <include/EASTL/bitvector.h>

void reserve(size_type n)

Description

No description yet.

Source

Lines 963-968 in include/EASTL/bitvector.h. Line 276 in include/EASTL/bitvector.h.

template <typename Allocator, typename Element, typename Container>
void bitvector<Allocator, Element, Container>::reserve(size_type n)
{
    const size_type wordCount = (n + kBitCount - 1) / kBitCount;
    mContainer.reserve(wordCount);
}





Add Discussion as Guest

Log in