Mutex::operator= 运算符

分配 (移动) 为当前 Mutex 对象的指定 Mutex 对象。

Mutex& operator=(
   _Inout_ Mutex&& h
);

参数

  • h
    对 Mutex 对象的一个 rvalue 引用。

返回值

对当前 Mutex 对象的引用。

备注

有关更多信息,请参见 移动语义 部分 Rvalue引用声明:&&

要求

标题: corewrappers.h

命名空间: Microsoft:: WRL:: 包装

请参见

参考

Mutex 类