Function DeallocateSelf

Synopsis

#include <include/EASTL/string.h>

void DeallocateSelf()

Description

No description yet.

Source

Lines 3342-3349 in include/EASTL/string.h. Line 760 in include/EASTL/string.h.

template <typename T, typename Allocator>
inline void basic_string<T, Allocator>::DeallocateSelf()
{
    if(internalLayout().IsHeap())
    {
        DoFree(internalLayout().BeginPtr(), internalLayout().GetHeapCapacity() + 1);
    }
}





Add Discussion as Guest

Log in