ROOT  6.06/09
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:

Go to the source code of 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 >
_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
 
template<class _CharT , class _Traits >
basic_ostream< _CharT, _Traits > & operator<< (basic_ostream< _CharT, _Traits > &__os, basic_string_view< _CharT, _Traits > __sv)
 

Typedef Documentation

Definition at line 775 of file libcpp_string_view.h.

typedef basic_string_view<char16_t> u16string_view

Definition at line 776 of file libcpp_string_view.h.

typedef basic_string_view<char32_t> u32string_view

Definition at line 777 of file libcpp_string_view.h.

typedef basic_string_view<wchar_t> wstring_view

Definition at line 778 of file libcpp_string_view.h.

Function Documentation

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.

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

Definition at line 647 of file libcpp_string_view.h.

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator!= ( _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.

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.

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

Definition at line 676 of file libcpp_string_view.h.

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator< ( _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.

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.

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.

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

Definition at line 726 of file libcpp_string_view.h.

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator<= ( _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.

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.

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

Definition at line 618 of file libcpp_string_view.h.

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator== ( _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.

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.

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

Definition at line 701 of file libcpp_string_view.h.

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator> ( _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.

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.

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

Definition at line 752 of file libcpp_string_view.h.

template<class _CharT , class _Traits >
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY bool operator>= ( _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.