Learning boost 6--Regex 1[10]

[入库:2005年8月19日] [更新:2007年3月24日]

本文简介:选择自 heroboy2000 的 blog

boost没有提供sub_match的任何特化,因为我们不会显示的声明一个sub_match变量。sub_match是作为match_results的元素用的。比如:match_resultsoperator[]和迭代器返回的就是一个特化的sub_match

唯一的成员变量:

bool matched  是否匹配。

成员函数:

length()

返回长度,即两个迭代器之间的距离。

operator basic_string< value_type>()

隐式的basic_string转换。

str()

显式的basic_string转换。

本文关键:Learning boost 6--Regex 1
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top