std::match_results::operator=

定义于头文件 <regex>
match_results& operator=( const match_results& other );
(1) (C++11 起)
match_results& operator=( match_results&& other ) noexcept;
(2) (C++11 起)

赋值内容。

1) 复制赋值运算符。赋值 other 的内容。
2) 移动赋值运算符。用移动语义赋值 other 的内容。操作后 other 在合法但未指定的状态。

参数

other - 另一 match_results 对象

返回值

*this

异常

1) (无)

版本历史

  • (当前 | 先前 2017年9月28日 (四) 21:06Fruderica讨论 | 贡献. . (715字节) (-395). . (撤销)
  • 当前 | 先前 2013年7月2日 (二) 11:12P12bot讨论 | 贡献 . . (1,110字节) (-96). . (Use {{lc}}. Update links. Various fixes.) (撤销)
  • 当前 | 先前 2012年11月2日 (五) 12:15P12bot讨论 | 贡献 . . (1,206字节) (+329). . (r2.7.3) (机器人添加:de, en, es, fr, it, ja, pt, ru) (撤销)
  • 当前 | 先前 2012年10月27日 (六) 09:07P12讨论 | 贡献 . . (877字节) (0). . (1个修订: Translate from the English version) (撤销)
  • 当前 | 先前 2012年10月26日 (五) 06:00TranslationBot讨论 | 贡献. . (877字节) (-29). . (Translated from the English version using Google Translate) (撤销)
  • 当前 | 先前 2012年10月25日 (四) 15:32P12讨论 | 贡献 . . (906字节) (0). . (1个修订: Translate from the English version) (撤销)
  • 当前 | 先前) 2012年10月25日 (四) 12:00TranslationBot讨论 | 贡献. . (906字节) (+906). . (Translated from the English version using Google Translate)