Function ThrowInvalidArgumentException

Synopsis

#include <include/EASTL/string.h>

void ThrowInvalidArgumentException() const

Description

No description yet.

Source

Lines 3374-3382 in include/EASTL/string.h. Line 770 in include/EASTL/string.h.

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





Add Discussion as Guest

Log in