Assignment operators
Declared in <semaphore_grant.h>
Copy assignment is deleted; a grant uniquely owns its slot.
CountingSemaphoreGrant&
operator=(CountingSemaphoreGrant const& other) = delete;
» more...
Move-assigns a grant, releasing any current slot and taking the other's.
CountingSemaphoreGrant&
operator=(CountingSemaphoreGrant&& other) noexcept;
» more...
A reference to this grant.
| Name | Description |
|---|---|
| other | The grant to move from; left empty afterwards. |