[#CountingSemaphoreGrant-operator_assign-02] = xref:CountingSemaphoreGrant.adoc[CountingSemaphoreGrant]::operator= :relfileprefix: ../ :mrdocs: Move‐assigns a grant, releasing any current slot and taking the other's. == Synopsis Declared in `<semaphore_grant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CountingSemaphoreGrant.adoc[CountingSemaphoreGrant]& operator=(xref:CountingSemaphoreGrant.adoc[CountingSemaphoreGrant]&& other) noexcept; ---- == Return Value A reference to this grant. == Parameters [cols="1,4"] |=== | Name| Description | *other* | The grant to move from; left empty afterwards. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#