mlpack
Public Types | Public Member Functions | Static Public Attributes | List of all members
boost::basic_string_view< charT, traits > Class Template Reference

Public Types

typedef traits traits_type
 
typedef charT value_type
 
typedef charT * pointer
 
typedef const charT * const_pointer
 
typedef charT & reference
 
typedef const charT & const_reference
 
typedef const_pointer const_iterator
 
typedef const_iterator iterator
 
typedef std::reverse_iterator< const_iterator > const_reverse_iterator
 
typedef const_reverse_iterator reverse_iterator
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

BOOST_CONSTEXPR basic_string_view (const basic_string_view &rhs) BOOST_NOEXCEPT=default
 
basic_string_viewoperator= (const basic_string_view &rhs) BOOST_NOEXCEPT=default
 
template<typename Allocator >
 basic_string_view (const std::basic_string< charT, traits, Allocator > &str) BOOST_NOEXCEPT
 
BOOST_CONSTEXPR basic_string_view (const charT *str)
 
BOOST_CONSTEXPR basic_string_view (const charT *str, size_type len)
 
BOOST_CONSTEXPR const_iterator begin () const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR const_iterator cbegin () const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR const_iterator end () const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR const_iterator cend () const BOOST_NOEXCEPT
 
const_reverse_iterator rbegin () const BOOST_NOEXCEPT
 
const_reverse_iterator crbegin () const BOOST_NOEXCEPT
 
const_reverse_iterator rend () const BOOST_NOEXCEPT
 
const_reverse_iterator crend () const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR size_type size () const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR size_type length () const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR size_type max_size () const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR bool empty () const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR const_reference operator[] (size_type pos) const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR const_reference at (size_t pos) const
 
BOOST_CONSTEXPR const_reference front () const
 
BOOST_CONSTEXPR const_reference back () const
 
BOOST_CONSTEXPR const_pointer data () const BOOST_NOEXCEPT
 
void clear () BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR void remove_prefix (size_type n)
 
BOOST_CXX14_CONSTEXPR void remove_suffix (size_type n)
 
BOOST_CXX14_CONSTEXPR void swap (basic_string_view &s) BOOST_NOEXCEPT
 
template<typename Allocator >
 operator std::basic_string< charT, traits, Allocator > () const
 
template<typename Allocator = std::allocator<charT>>
std::basic_string< charT, traits, Allocator > to_string (const Allocator &a=Allocator()) const
 
size_type copy (charT *s, size_type n, size_type pos=0) const
 
BOOST_CXX14_CONSTEXPR basic_string_view substr (size_type pos, size_type n=npos) const
 
BOOST_CXX14_CONSTEXPR int compare (basic_string_view x) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR int compare (size_type pos1, size_type n1, basic_string_view x) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR int compare (size_type pos1, size_type n1, basic_string_view x, size_type pos2, size_type n2) const
 
BOOST_CXX14_CONSTEXPR int compare (const charT *x) const
 
BOOST_CXX14_CONSTEXPR int compare (size_type pos1, size_type n1, const charT *x) const
 
BOOST_CXX14_CONSTEXPR int compare (size_type pos1, size_type n1, const charT *x, size_type n2) const
 
BOOST_CONSTEXPR bool starts_with (charT c) const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR bool starts_with (basic_string_view x) const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR bool ends_with (charT c) const BOOST_NOEXCEPT
 
BOOST_CONSTEXPR bool ends_with (basic_string_view x) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find (basic_string_view s, size_type pos=0) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find (charT c, size_type pos=0) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find (const charT *s, size_type pos, size_type n) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find (const charT *s, size_type pos=0) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type rfind (basic_string_view s, size_type pos=npos) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type rfind (charT c, size_type pos=npos) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type rfind (const charT *s, size_type pos, size_type n) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type rfind (const charT *s, size_type pos=npos) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_first_of (basic_string_view s, size_type pos=0) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_first_of (charT c, size_type pos=0) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_first_of (const charT *s, size_type pos, size_type n) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_first_of (const charT *s, size_type pos=0) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_last_of (basic_string_view s, size_type pos=npos) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_last_of (charT c, size_type pos=npos) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_last_of (const charT *s, size_type pos, size_type n) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_last_of (const charT *s, size_type pos=npos) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_first_not_of (basic_string_view s, size_type pos=0) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_first_not_of (charT c, size_type pos=0) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_first_not_of (const charT *s, size_type pos, size_type n) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_first_not_of (const charT *s, size_type pos=0) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_last_not_of (basic_string_view s, size_type pos=npos) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_last_not_of (charT c, size_type pos=npos) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_last_not_of (const charT *s, size_type pos, size_type n) const BOOST_NOEXCEPT
 
BOOST_CXX14_CONSTEXPR size_type find_last_not_of (const charT *s, size_type pos=npos) const BOOST_NOEXCEPT
 

Static Public Attributes

static BOOST_CONSTEXPR_OR_CONST size_type npos = size_type(-1)
 

The documentation for this class was generated from the following file: