Move‐assigns a grant, releasing any current slot and taking the other's.

Synopsis

Declared in <semaphore_grant.h>

CountingSemaphoreGrant&
operator=(CountingSemaphoreGrant&& other) noexcept;

Return Value

A reference to this grant.

Parameters

Name

Description

other

The grant to move from; left empty afterwards.

Created with MrDocs