[#CountingSemaphoreGrant-operator_assign-02]
= xref:CountingSemaphoreGrant.adoc[CountingSemaphoreGrant]::operator&equals;
:relfileprefix: ../
:mrdocs:

Move&hyphen;assigns a grant, releasing any current slot and taking the other&apos;s&period;

== Synopsis

Declared in `&lt;semaphore&lowbar;grant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CountingSemaphoreGrant.adoc[CountingSemaphoreGrant]&
operator&equals;(xref:CountingSemaphoreGrant.adoc[CountingSemaphoreGrant]&& other) noexcept;
----

== Return Value

A reference to this grant&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The grant to move from&semi; left empty afterwards&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
