Function SizeInitialize

Synopsis

#include <include/EASTL/string.h>

void SizeInitialize(size_type n, value_type c)

Description

No description yet.

Source

Lines 3229-3236 in include/EASTL/string.h. Line 764 in include/EASTL/string.h.

template <typename T, typename Allocator>
void basic_string<T, Allocator>::SizeInitialize(size_type n, value_type c)
{
    AllocateSelf(n);
    CharStringUninitializedFillN(internalLayout().BeginPtr(), n, c);
    *internalLayout().EndPtr() = 0;
}





Add Discussion as Guest

Log in