operator<<(std::sub_match)

template< class CharT, class Traits, class BidirIt >

std::basic_ostream<CharT,Traits>&
    operator<<( std::basic_ostream<CharT,Traits>& os,

                const sub_match<BidirIt>& m );
(C++11 起)

写入匹配子序列 m 的表示到输出流 os

等价于 os << m.str()

参数

os - 要写入表示到的输出流
m - 要输出的自匹配对象

返回值

os

示例

版本历史

  • (当前 | 先前) 2017年10月16日 (一) 09:25Fruderica讨论 | 贡献. . (645字节) (+645). . (以“{{title | operator<<{{small|(std::sub_match)}} }} {{cpp/regex/sub_match/navbar}} {{dcl begin}} {{dcl | since=c++11 | template< class CharT, class Traits, class Bidir...”为内容创建页面)