std::unique_lock::operator=

unique_lock& operator=( unique_lock&& other );
(C++11 起)

移动赋值运算符。用移动语义以 other 的内容替换内容。

若调用前 *this 拥有关联互斥并获得其所有权,则解锁互斥。

参数

other - 以之替换状态的另一 unique_lock

返回值

*this

异常

noexcept 规定:  
noexcept
  
(C++14 前)
不抛出 (C++14 起)

版本历史

  • (当前 | 先前 2017年8月26日 (六) 07:46Fruderica讨论 | 贡献 . . (637字节) (0). . (撤销)
  • 当前 | 先前 2017年8月26日 (六) 07:46Fruderica讨论 | 贡献. . (637字节) (-503). . (撤销)
  • 当前 | 先前 2013年7月2日 (二) 11:36P12bot讨论 | 贡献 . . (1,140字节) (-64). . (Use {{lc}}. Update links. Various fixes.) (撤销)
  • 当前 | 先前 2012年11月2日 (五) 17:56P12bot讨论 | 贡献 . . (1,204字节) (+321). . (r2.7.3) (机器人添加:de, en, es, fr, it, ja, pt, ru) (撤销)
  • 当前 | 先前 2012年10月27日 (六) 11:34P12讨论 | 贡献 . . (883字节) (0). . (1个修订: Translate from the English version) (撤销)
  • 当前 | 先前 2012年10月26日 (五) 06:00TranslationBot讨论 | 贡献. . (883字节) (-28). . (Translated from the English version using Google Translate) (撤销)
  • 当前 | 先前 2012年10月26日 (五) 03:32P12讨论 | 贡献 . . (911字节) (0). . (1个修订: Translate from the English version) (撤销)
  • 当前 | 先前) 2012年10月25日 (四) 12:00TranslationBot讨论 | 贡献. . (911字节) (+911). . (Translated from the English version using Google Translate)