标头 <regex> 提供以下 typedefs:
cmatch Typedef
char match_results 的类型定义。
typedef match_results<const char*> cmatch;
备注
该类型描述类型迭代器的match_results类模板const char*的专用化。
cregex_iterator Typedef
char regex_iterator 的类型定义。
typedef regex_iterator<const char*> cregex_iterator;
备注
该类型描述类型迭代器的regex_iterator类模板const char*的专用化。
cregex_token_iterator Typedef
char regex_token_iterator 的类型定义
typedef regex_token_iterator<const char*> cregex_token_iterator;
备注
该类型描述类型迭代器的regex_token_iterator类模板const char*的专用化。
csub_match Typedef
char sub_match 的类型定义。
typedef sub_match<const char*> csub_match;
备注
该类型描述类型迭代器的sub_match类模板const char*的专用化。
regex Typedef
char basic_regex 的类型定义。
typedef basic_regex<char> regex;
备注
该类型描述类型basic_regex元素的类模板char的专用化。
注意
用于 regex 时,高位字符的结果不可预测。 0 到 127 范围之外的值可能会导致未定义的行为。
smatch Typedef
字符串 match_results 的类型定义。
typedef match_results<string::const_iterator> smatch;
备注
该类型描述类型迭代器的match_results类模板string::const_iterator的专用化。
sregex_iterator Typedef
字符串 regex_iterator. 的类型定义。
typedef regex_iterator<string::const_iterator> sregex_iterator;
备注
该类型描述类型迭代器的regex_iterator类模板string::const_iterator的专用化。
sregex_token_iterator Typedef
字符串 regex_token_iterator 的类型定义。
typedef regex_token_iterator<string::const_iterator> sregex_token_iterator;
备注
该类型描述类型迭代器的regex_token_iterator类模板string::const_iterator的专用化。
ssub_match Typedef
字符串 sub_match 的类型定义。
typedef sub_match<string::const_iterator> ssub_match;
备注
该类型描述类型迭代器的sub_match类模板string::const_iterator的专用化。
wcmatch Typedef
wchar_t match_results 的类型定义。
typedef match_results<const wchar_t *> wcmatch;
备注
该类型描述类型迭代器的match_results类模板const wchar_t*的专用化。
wcregex_iterator Typedef
wchar_t regex_iterator 的类型定义。
typedef regex_iterator<const wchar_t*> wcregex_iterator;
备注
该类型描述类型迭代器的regex_iterator类模板const wchar_t*的专用化。
wcregex_token_iterator Typedef
wchar_t regex_token_iterator. 的类型定义。
typedef regex_token_iterator<const wchar_t*> wcregex_token_iterator;
备注
该类型描述类型迭代器的regex_token_iterator类模板const wchar_t*的专用化。
wcsub_match Typedef
wchar_t sub_match 的类型定义。
typedef sub_match<const wchar_t*> wcsub_match;
备注
该类型描述类型迭代器的sub_match类模板const wchar_t*的专用化。
wregex Typedef
wchar_t basic_regex 的类型定义。
typedef basic_regex<wchar_t> wregex;
备注
该类型描述类型basic_regex元素的类模板wchar_t的专用化。
wsmatch Typedef
wstring match_results 的类型定义。
typedef match_results<wstring::const_iterator> wsmatch;
备注
该类型描述类型迭代器的match_results类模板wstring::const_iterator的专用化。
wsregex_iterator Typedef
wstring regex_iterator 的类型定义。
typedef regex_iterator<wstring::const_iterator> wsregex_iterator;
备注
该类型描述类型迭代器的regex_iterator类模板wstring::const_iterator的专用化。
wsregex_token_iterator Typedef
wstring regex_token_iterator 的类型定义。
typedef regex_token_iterator<wstring::const_iterator> wsregex_token_iterator;
备注
该类型描述类型迭代器的regex_token_iterator类模板wstring::const_iterator的专用化。
wssub_match Typedef
wstring sub_match 的类型定义。
typedef sub_match<wstring::const_iterator> wssub_match;
备注
该类型描述类型迭代器的sub_match类模板wstring::const_iterator的专用化。
另请参阅
              
              <正则表达式>
              regex_constants 类
              regex_error 类
              
              <regex> 函数
              regex_iterator 类
              
              <regex> 运算符
              regex_token_iterator 类
              regex_traits 类