std::regex_iterator::operator*,operator->

const value_type& operator*() const;
(1) (C++11 起)
const value_type* operator->() const;
(2) (C++11 起)

regex_iterator 提取当前 std::match_results

1) 返回到当前 std::match_results 的引用。
2) 返回指向当前 std::match_results 的指针。

示例

版本历史

  • (当前 | 先前) 2017年9月29日 (五) 08:32Fruderica讨论 | 贡献. . (524字节) (+524). . (以“{{cpp/regex/regex_iterator/title | operator*,operator-> }} {{cpp/regex/regex_iterator/navbar}} {{dcl begin}} {{dcl | num=1 | since=c++11 | 1= const value_type& oper...”为内容创建页面)