C++ 正则表达式库 - smatch



描述

这些是宽字符串字面量的 match_results。这是 match_results 类模板针对宽字符串字面量匹配的实例化,并且此类的成员是为 match_results 描述的那些成员,但使用 const wchar_t* 作为其 BidirectionalIterator 模板参数。

声明

以下是 std::smatch 的声明。

C++98

typedef match_results<string::const_iterator> smatch;
regex.htm
广告

© . All rights reserved.