Function set_allocator

Synopsis

#include <include/EASTL/string.h>

void set_allocator(const allocator_type &allocator)

Description

No description yet.

Source

Lines 1017-1021 in include/EASTL/string.h. Line 529 in include/EASTL/string.h.

template <typename T, typename Allocator>
inline void basic_string<T, Allocator>::set_allocator(const allocator_type& allocator)
{
    get_allocator() = allocator;
}





Add Discussion as Guest

Log in