Logo ROOT   6.08/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 775 of file libcpp_string_view.h.

◆ u16string_view

typedef basic_string_view<char16_t> u16string_view

Definition at line 776 of file libcpp_string_view.h.

◆ u32string_view

typedef basic_string_view<char32_t> u32string_view

Definition at line 777 of file libcpp_string_view.h.

◆ wstring_view

typedef basic_string_view<wchar_t> wstring_view

Definition at line 778 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 638 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 647 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 657 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 669 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 676 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 684 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 770 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 719 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 726 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 734 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 609 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 618 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 627 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 694 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 701 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 709 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 744 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 752 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 760 of file libcpp_string_view.h.