Function ThrowLengthException

Synopsis

#include <include/EASTL/string.h>

void ThrowLengthException() const

Description

No description yet.

Source

Lines 3352-3360 in include/EASTL/string.h. Line 768 in include/EASTL/string.h.

template <typename T, typename Allocator>
inline void basic_string<T, Allocator>::ThrowLengthException() const
{
    #if EASTL_EXCEPTIONS_ENABLED
        throw std::length_error("basic_string -- length_error");
    #elif EASTL_ASSERT_ENABLED
        EASTL_FAIL_MSG("basic_string -- length_error");
    #endif
}





Add Discussion as Guest

Log in