Logo ROOT   6.18/05
Reference Guide
Classes | Typedefs | Functions
libcpp_string_view.h File Reference
#include <string>
#include <algorithm>
#include <iterator>
#include <ostream>
#include <iomanip>
#include <stdexcept>
#include <limits>
Include dependency graph for libcpp_string_view.h:
This graph shows which files directly or indirectly include this file:

Classes

class  basic_string_view< _CharT, _Traits >
 

Typedefs

typedef basic_string_view< char > string_view
 
typedef basic_string_view< char16_t > u16string_view
 
typedef basic_string_view< char32_t > u32string_view
 
typedef basic_string_view< wchar_t > wstring_view
 

Functions

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator!= (basic_string_view< _CharT, _Traits > __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator!= (basic_string_view< _CharT, _Traits > __lhs, typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator!= (typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator< (basic_string_view< _CharT, _Traits > __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator< (basic_string_view< _CharT, _Traits > __lhs, typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator< (typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
basic_ostream< _CharT, _Traits > & operator<< (basic_ostream< _CharT, _Traits > &__os, basic_string_view< _CharT, _Traits > __sv)
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator<= (basic_string_view< _CharT, _Traits > __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator<= (basic_string_view< _CharT, _Traits > __lhs, typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator<= (typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator== (basic_string_view< _CharT, _Traits > __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator== (basic_string_view< _CharT, _Traits > __lhs, typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator== (typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator> (basic_string_view< _CharT, _Traits > __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator> (basic_string_view< _CharT, _Traits > __lhs, typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator> (typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator>= (basic_string_view< _CharT, _Traits > __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator>= (basic_string_view< _CharT, _Traits > __lhs, typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __rhs) _NOEXCEPT
 
template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator>= (typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type __lhs, basic_string_view< _CharT, _Traits > __rhs) _NOEXCEPT
 

Typedef Documentation

◆ string_view

Definition at line 786 of file libcpp_string_view.h.

◆ u16string_view

typedef basic_string_view<char16_t> u16string_view

Definition at line 787 of file libcpp_string_view.h.

◆ u32string_view

typedef basic_string_view<char32_t> u32string_view

Definition at line 788 of file libcpp_string_view.h.

◆ wstring_view

typedef basic_string_view<wchar_t> wstring_view

Definition at line 789 of file libcpp_string_view.h.

Function Documentation

◆ operator!=() [1/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator!= ( basic_string_view< _CharT, _Traits >  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 649 of file libcpp_string_view.h.

◆ operator!=() [2/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator!= ( basic_string_view< _CharT, _Traits >  __lhs,
typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __rhs 
)

Definition at line 658 of file libcpp_string_view.h.

◆ operator!=() [3/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator!= ( typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 668 of file libcpp_string_view.h.

◆ operator<() [1/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator< ( basic_string_view< _CharT, _Traits >  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 680 of file libcpp_string_view.h.

◆ operator<() [2/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator< ( basic_string_view< _CharT, _Traits >  __lhs,
typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __rhs 
)

Definition at line 687 of file libcpp_string_view.h.

◆ operator<() [3/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator< ( typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 695 of file libcpp_string_view.h.

◆ operator<<()

template<class _CharT , class _Traits >
basic_ostream< _CharT, _Traits > & operator<< ( basic_ostream< _CharT, _Traits > &  __os,
basic_string_view< _CharT, _Traits >  __sv 
)

Definition at line 771 of file libcpp_string_view.h.

◆ operator<=() [1/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator<= ( basic_string_view< _CharT, _Traits >  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 730 of file libcpp_string_view.h.

◆ operator<=() [2/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator<= ( basic_string_view< _CharT, _Traits >  __lhs,
typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __rhs 
)

Definition at line 737 of file libcpp_string_view.h.

◆ operator<=() [3/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator<= ( typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 745 of file libcpp_string_view.h.

◆ operator==() [1/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator== ( basic_string_view< _CharT, _Traits >  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 608 of file libcpp_string_view.h.

◆ operator==() [2/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator== ( basic_string_view< _CharT, _Traits >  __lhs,
typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __rhs 
)

Definition at line 617 of file libcpp_string_view.h.

◆ operator==() [3/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator== ( typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 626 of file libcpp_string_view.h.

◆ operator>() [1/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator> ( basic_string_view< _CharT, _Traits >  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 705 of file libcpp_string_view.h.

◆ operator>() [2/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator> ( basic_string_view< _CharT, _Traits >  __lhs,
typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __rhs 
)

Definition at line 712 of file libcpp_string_view.h.

◆ operator>() [3/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator> ( typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 720 of file libcpp_string_view.h.

◆ operator>=() [1/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator>= ( basic_string_view< _CharT, _Traits >  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 755 of file libcpp_string_view.h.

◆ operator>=() [2/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator>= ( basic_string_view< _CharT, _Traits >  __lhs,
typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __rhs 
)

Definition at line 763 of file libcpp_string_view.h.

◆ operator>=() [3/3]

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator>= ( typename _VSTD::common_type< basic_string_view< _CharT, _Traits > >::type  __lhs,
basic_string_view< _CharT, _Traits >  __rhs 
)

Definition at line 771 of file libcpp_string_view.h.