operator==,!=,<,<=,>,>=(std::sub_match)
定义于头文件 <regex>
|
||
直接比较 |
||
template< class BidirIt > bool operator==( const sub_match<BidirIt>& lhs, |
(1) | (C++11 起) |
template< class BidirIt > bool operator!=( const sub_match<BidirIt>& lhs, |
(2) | (C++11 起) |
template< class BidirIt > bool operator<( const sub_match<BidirIt>& lhs, |
(3) | (C++11 起) |
template< class BidirIt > bool operator<=( const sub_match<BidirIt>& lhs, |
(4) | (C++11 起) |
template< class BidirIt > bool operator>( const sub_match<BidirIt>& lhs, |
(5) | (C++11 起) |
template< class BidirIt > bool operator>=( const sub_match<BidirIt>& lhs, |
(6) | (C++11 起) |
std::basic_string 与 std::sub_match |
||
template< class BidirIt, class Traits, class Alloc > bool operator==( const std::basic_string< |
(7) | (C++11 起) |
template< class BidirIt, class Traits, class Alloc > bool operator!=( const std::basic_string< |
(8) | (C++11 起) |
template< class BidirIt, class Traits, class Alloc > bool operator<( const std::basic_string< |
(9) | (C++11 起) |
template< class BidirIt, class Traits, class Alloc > bool operator<=( const std::basic_string< |
(10) | (C++11 起) |
template< class BidirIt, class Traits, class Alloc > bool operator>( const std::basic_string< |
(11) | (C++11 起) |
template< class BidirIt, class Traits, class Alloc > bool operator>=( const std::basic_string< |
(12) | (C++11 起) |
std::sub_match 与 std::basic_string |
||
template< class BidirIt, class Traits, class Alloc > bool operator==( const sub_match<BidirIt>& lhs, |
(13) | (C++11 起) |
template< class BidirIt, class Traits, class Alloc > bool operator!=( const sub_match<BidirIt>& lhs, |
(14) | (C++11 起) |
template< class BidirIt, class Traits, class Alloc > bool operator<( const sub_match<BidirIt>& lhs, |
(15) | (C++11 起) |
template< class BidirIt, class Traits, class Alloc > bool operator<=( const sub_match<BidirIt>& lhs, |
(16) | (C++11 起) |
template< class BidirIt, class Traits, class Alloc > bool operator>( const sub_match<BidirIt>& lhs, |
(17) | (C++11 起) |
template< class BidirIt, class Traits, class Alloc > bool operator>=( const sub_match<BidirIt>& lhs, |
(18) | (C++11 起) |
std::iterator_traits<BidirIt>::value_type* 与 std::sub_match |
||
template< class BidirIt > bool operator==( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(19) | (C++11 起) |
template< class BidirIt > bool operator!=( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(20) | (C++11 起) |
template< class BidirIt > bool operator<( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(21) | (C++11 起) |
template< class BidirIt > bool operator<=( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(22) | (C++11 起) |
template< class BidirIt > bool operator>( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(23) | (C++11 起) |
template< class BidirIt > bool operator>=( const typename std::iterator_traits<BidirIt>::value_type* rhs, |
(24) | (C++11 起) |
std::sub_match 与 std::iterator_traits<BidirIt>::value_type* |
||
template< class BidirIt > bool operator==( const sub_match<BidirIt>& lhs, |
(25) | (C++11 起) |
template< class BidirIt > bool operator!=( const sub_match<BidirIt>& lhs, |
(26) | (C++11 起) |
template< class BidirIt > bool operator<( const sub_match<BidirIt>& lhs, |
(27) | (C++11 起) |
template< class BidirIt > bool operator<=( const sub_match<BidirIt>& lhs, |
(28) | (C++11 起) |
template< class BidirIt > bool operator>( const sub_match<BidirIt>& lhs, |
(29) | (C++11 起) |
template< class BidirIt > bool operator>=( const sub_match<BidirIt>& lhs, |
(30) | (C++11 起) |
std::iterator_traits<BidirIt>::value_type 与 std::sub_match |
||
template< class BidirIt > bool operator==( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(31) | (C++11 起) |
template< class BidirIt > bool operator!=( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(32) | (C++11 起) |
template< class BidirIt > bool operator<( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(33) | (C++11 起) |
template< class BidirIt > bool operator<=( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(34) | (C++11 起) |
template< class BidirIt > bool operator>( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(35) | (C++11 起) |
template< class BidirIt > bool operator>=( const typename std::iterator_traits<BidirIt>::value_type& rhs, |
(36) | (C++11 起) |
std::sub_match 与 std::iterator_traits<BidirIt>::value_type |
||
template< class BidirIt > bool operator==( const sub_match<BidirIt>& lhs, |
(37) | (C++11 起) |
template< class BidirIt > bool operator!=( const sub_match<BidirIt>& lhs, |
(38) | (C++11 起) |
template< class BidirIt > bool operator<( const sub_match<BidirIt>& lhs, |
(39) | (C++11 起) |
template< class BidirIt > bool operator<=( const sub_match<BidirIt>& lhs, |
(40) | (C++11 起) |
template< class BidirIt > bool operator>( const sub_match<BidirIt>& lhs, |
(41) | (C++11 起) |
template< class BidirIt > bool operator>=( const sub_match<BidirIt>& lhs, |
(42) | (C++11 起) |
比较 sub_match
与另一 sub_match
、 string 、空终止字符序列或字符。
sm
为 sub_match
参数而 st
为 basic_string
参数。sm
是 sub_match
而 s
为指向空终止字符串的指针。sm
是 sub_match
而 ch
为字符。参数
lhs, rhs | - | 要匹配的 sub_match 、 basic_string 、指向空终止字符串的指针或字符
|
返回值
若以 std::sub_match::compare() 定义的对应关系成立则为 true ,否则为 false 。
示例
本节未完成 原因:暂无示例 |
参阅
若存在则比较匹配的子序列 (公开成员函数) |