Function operator basic_string_view< T >

Synopsis

#include <include/EASTL/string.h>

operator basic_string_view< T >() const EA_NOEXCEPT

Description

Implicit conversion operator.

Source

Lines 1218-1222 in include/EASTL/string.h. Line 532 in include/EASTL/string.h.

template <typename T, typename Allocator>
basic_string<T,Allocator>::operator basic_string_view<T>() const EA_NOEXCEPT
{
    return basic_string_view<T>(data(), size());
}





Add Discussion as Guest

Log in