Function ltrim

Summary

#include <include/EASTL/string.h>

(1) void ltrim()

(2) void ltrim(const value_type *p)

Function overload

Synopsis

#include <include/EASTL/string.h>

void ltrim()

Description

No description yet.

Source

Lines 3059-3064 in include/EASTL/string.h. Line 737 in include/EASTL/string.h.

template <typename T, typename Allocator>
inline void basic_string<T, Allocator>::ltrim()
{
    const value_type array[] = { ' ', '\t', 0 }; // This is a pretty simplistic view of whitespace.
    erase(0, find_first_not_of(array));
}

Synopsis

#include <include/EASTL/string.h>

void ltrim(const value_type *p)

Description

No description yet.

Source

Lines 3083-3087 in include/EASTL/string.h. Line 740 in include/EASTL/string.h.

template <typename T, typename Allocator>
inline void basic_string<T, Allocator>::ltrim(const value_type* p)
{
    erase(0, find_first_not_of(p));
}





Add Discussion as Guest

Log in