Function clear

Synopsis

#include <include/EASTL/string.h>

void clear() EA_NOEXCEPT

Description

No description yet.

Source

Lines 1458-1463 in include/EASTL/string.h. Line 663 in include/EASTL/string.h.

template <typename T, typename Allocator>
inline void basic_string<T, Allocator>::clear() EA_NOEXCEPT
{
    internalLayout().SetSize(0);
    *internalLayout().BeginPtr() = value_type(0);
}





Add Discussion as Guest

Log in