operator==,!=,<,<=,>,>=(std::sub_match)
Defined in header <regex>
|
||
Direct comparison |
||
template< class BidirIt > bool operator==( const sub_match<BidirIt>& lhs, |
(1) | (since C++11) |
template< class BidirIt > bool operator!=( const sub_match<BidirIt>& lhs, |
(2) | (since C++11) |
template< class BidirIt > bool operator<( const sub_match<BidirIt>& lhs, |
(3) | (since C++11) |
template< class BidirIt > bool operator<=( const sub_match<BidirIt>& lhs, |
(4) | (since C++11) |
template< class BidirIt > bool operator>( const sub_match<BidirIt>& lhs, |
(5) | (since C++11) |
template< class BidirIt > bool operator>=( const sub_match<BidirIt>& lhs, |
(6) | (since C++11) |
std::basic_string and std::sub_match |
||
template< class BidirIt, class Traits, class Alloc > bool operator==( const std::basic_string< |
(7) | (since C++11) |
template< class BidirIt, class Traits, class Alloc > bool operator!=( const std::basic_string< |
(8) | (since C++11) |
template< class BidirIt, class Traits, class Alloc > bool operator<( const std::basic_string< |
(9) | (since C++11) |
template< class BidirIt, class Traits, class Alloc > bool operator<=( const std::basic_string< |
(10) | (since C++11) |
template< class BidirIt, class Traits, class Alloc > bool operator>( const std::basic_string< |
(11) | (since C++11) |
template< class BidirIt, class Traits, class Alloc > bool operator>=( const std::basic_string< |
(12) | (since C++11) |
std::sub_match and std::basic_string |
||
template< class BidirIt, class Traits, class Alloc > bool operator==( const sub_match<BidirIt>& lhs, |
(13) | (since C++11) |
template< class BidirIt, class Traits, class Alloc > bool operator!=( const sub_match<BidirIt>& lhs, |
(14) | (since C++11) |
template< class BidirIt, class Traits, class Alloc > bool operator<( const sub_match<BidirIt>& lhs, |
(15) | (since C++11) |
template< class BidirIt, class Traits, class Alloc > bool operator<=( const sub_match<BidirIt>& lhs, |
(16) | (since C++11) |
template< class BidirIt, class Traits, class Alloc > bool operator>( const sub_match<BidirIt>& lhs, |
(17) | (since C++11) |
template< class BidirIt, class Traits, class Alloc > bool operator>=( const sub_match<BidirIt>& lhs, |
(18) | (since C++11) |
std::iterator_traits<BidirIt>::value_type* and std::sub_match |
||
template< class BidirIt > bool operator==( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(19) | (since C++11) |
template< class BidirIt > bool operator!=( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(20) | (since C++11) |
template< class BidirIt > bool operator<( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(21) | (since C++11) |
template< class BidirIt > bool operator<=( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(22) | (since C++11) |
template< class BidirIt > bool operator>( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(23) | (since C++11) |
template< class BidirIt > bool operator>=( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(24) | (since C++11) |
std::sub_match and std::iterator_traits<BidirIt>::value_type* |
||
template< class BidirIt > bool operator==( const sub_match<BidirIt>& lhs, |
(25) | (since C++11) |
template< class BidirIt > bool operator!=( const sub_match<BidirIt>& lhs, |
(26) | (since C++11) |
template< class BidirIt > bool operator<( const sub_match<BidirIt>& lhs, |
(27) | (since C++11) |
template< class BidirIt > bool operator<=( const sub_match<BidirIt>& lhs, |
(28) | (since C++11) |
template< class BidirIt > bool operator>( const sub_match<BidirIt>& lhs, |
(29) | (since C++11) |
template< class BidirIt > bool operator>=( const sub_match<BidirIt>& lhs, |
(30) | (since C++11) |
std::iterator_traits<BidirIt>::value_type& and std::sub_match |
||
template< class BidirIt > bool operator==( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(31) | (since C++11) |
template< class BidirIt > bool operator!=( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(32) | (since C++11) |
template< class BidirIt > bool operator<( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(33) | (since C++11) |
template< class BidirIt > bool operator<=( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(34) | (since C++11) |
template< class BidirIt > bool operator>( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(35) | (since C++11) |
template< class BidirIt > bool operator>=( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(36) | (since C++11) |
std::sub_match and std::iterator_traits<BidirIt>::value_type& |
||
template< class BidirIt > bool operator==( const sub_match<BidirIt>& lhs, |
(37) | (since C++11) |
template< class BidirIt > bool operator!=( const sub_match<BidirIt>& lhs, |
(38) | (since C++11) |
template< class BidirIt > bool operator<( const sub_match<BidirIt>& lhs, |
(39) | (since C++11) |
template< class BidirIt > bool operator<=( const sub_match<BidirIt>& lhs, |
(40) | (since C++11) |
template< class BidirIt > bool operator>( const sub_match<BidirIt>& lhs, |
(41) | (since C++11) |
template< class BidirIt > bool operator>=( const sub_match<BidirIt>& lhs, |
(42) | (since C++11) |
Compares a sub_match
to another sub_match
, a string, a null-terminated character sequence or a character.
sm
is the sub_match
argument and st
is the basic_string
argument.sm
is the sub_match
and s
is the pointer to a null-terminated character string.sm
is a sub_match
and ch
is a character.Parameters
lhs, rhs | - | a sub_match , basic_string , pointer to a null-terminated string or a character to compare
|
Return value
true if the corresponding comparison holds as defined by std::sub_match::compare(), false otherwise.
Example
This section is incomplete Reason: no example |
See also
compares matched subsequence (if any) (public member function) |