Function DoAllocate

Synopsis

#include <include/EASTL/string.h>

value_type * DoAllocate(size_type n)

Description

Helper functions for initialization/insertion operations.

Source

Lines 3268-3273 in include/EASTL/string.h. Line 754 in include/EASTL/string.h.

template <typename T, typename Allocator>
inline typename basic_string<T, Allocator>::value_type*
basic_string<T, Allocator>::DoAllocate(size_type n)
{
    return (value_type*)EASTLAlloc(get_allocator(), n * sizeof(value_type));
}





Add Discussion as Guest

Log in