Share via


Semaphore::operator= Operator

Moves the specified handle from a Semaphore object to the current Semaphore object.

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

Parameters

  • h
    Rvalue-reference to a Semaphore object.

Return Value

A reference to the current Semaphore object.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

Reference

Semaphore Class