BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslstl_stringview_relops Namespace Reference

Classes

struct  StringView_CompareUtil
 

Functions

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator== (bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator== (typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type lhs, const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator== (const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator!= (bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator!= (typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type lhs, const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator!= (const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator< (bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator< (typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type lhs, const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator< (const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator> (bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator> (typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type lhs, const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator> (const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator<= (bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator<= (typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type lhs, const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator<= (const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator>= (bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator>= (typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type lhs, const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > rhs) BSLS_KEYWORD_NOEXCEPT
 
template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool operator>= (const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > lhs, typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type rhs) BSLS_KEYWORD_NOEXCEPT
 

Function Documentation

◆ operator!=() [1/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator!= ( bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

Return true if the specified lhs view has a different value from the specified rhs view, and false otherwise. Two views have the same value if they have the same length, and the characters at each respective position have the same value according to CHAR_TRAITS::eq.

◆ operator!=() [2/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator!= ( const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  rhs 
)

◆ operator!=() [3/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator!= ( typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  lhs,
const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

◆ operator<() [1/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator< ( bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

Return true if the specified lhs view has a lexicographically smaller value than the specified rhs view, and false otherwise. See {Lexicographical Comparisons}.

◆ operator<() [2/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator< ( const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  rhs 
)

◆ operator<() [3/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator< ( typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  lhs,
const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

◆ operator<=() [1/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator<= ( bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

Return true if the specified lhs view has a value lexicographically smaller than or or equal to the specified rhs view, and false otherwise. See {Lexicographical Comparisons}.

◆ operator<=() [2/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator<= ( const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  rhs 
)

◆ operator<=() [3/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator<= ( typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  lhs,
const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

◆ operator==() [1/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator== ( bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

Return true if the specified lhs view has the same value as the specified rhs view, and false otherwise. Two views have the same value if they have the same length, and the characters at each respective position have the same value according to CHAR_TRAITS::eq.

◆ operator==() [2/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator== ( const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  rhs 
)

◆ operator==() [3/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator== ( typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  lhs,
const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

◆ operator>() [1/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator> ( bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

Return true if the specified lhs view has a lexicographically larger value than the specified rhs view, and false otherwise. See {Lexicographical Comparisons}.

◆ operator>() [2/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator> ( const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  rhs 
)

◆ operator>() [3/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator> ( typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  lhs,
const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

◆ operator>=() [1/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator>= ( bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)

Return true if the specified lhs view has a value lexicographically larger than or equal to the specified rhs view, and false otherwise. See {Lexicographical Comparisons}.

◆ operator>=() [2/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator>= ( const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  lhs,
typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  rhs 
)

◆ operator>=() [3/3]

template<class CHAR_TYPE , class CHAR_TRAITS >
BSLS_KEYWORD_CONSTEXPR_CPP17 bool bslstl_stringview_relops::operator>= ( typename BloombergLP::bslstl::StringView_Identity< bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS > >::type  lhs,
const bsl::basic_string_view< CHAR_TYPE, CHAR_TRAITS >  rhs 
)