Function capacity

Synopsis

#include <include/EASTL/string.h>

size_type capacity() const EA_NOEXCEPT

Description

No description yet.

Source

Lines 1180-1189 in include/EASTL/string.h. Line 596 in include/EASTL/string.h.

template <typename T, typename Allocator>
inline typename basic_string<T, Allocator>::size_type
basic_string<T, Allocator>::capacity() const EA_NOEXCEPT
{
    if (internalLayout().IsHeap())
    {
        return internalLayout().GetHeapCapacity();
    }
    return SSOLayout::SSO_CAPACITY;
}





Add Discussion as Guest

Log in