Logo ROOT   6.12/07
Reference Guide
Classes | Typedefs | Functions
libcpp_string_view.h File Reference
#include <string>
#include <algorithm>
#include <iterator>
#include <ostream>
#include <iomanip>
#include <stdexcept>
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 >
 
struct  hash< std::experimental::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 785 of file libcpp_string_view.h.

◆ u16string_view

typedef basic_string_view<char16_t> u16string_view

Definition at line 786 of file libcpp_string_view.h.

◆ u32string_view

typedef basic_string_view<char32_t> u32string_view

Definition at line 787 of file libcpp_string_view.h.

◆ wstring_view

typedef basic_string_view<wchar_t> wstring_view

Definition at line 788 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 648 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 657 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 667 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 679 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 686 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 694 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 780 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 729 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 736 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 744 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 607 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 616 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 625 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 704 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 711 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 719 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 754 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 762 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 770 of file libcpp_string_view.h.