[#CountingSemaphoreGrant-2conversion]
= xref:CountingSemaphoreGrant.adoc[CountingSemaphoreGrant]::operator bool
:relfileprefix: ../
:mrdocs:

Reports whether this grant currently holds a semaphore slot&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
operator bool() const noexcept;
----

== Return Value

true if a slot is held&period;


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