[#CuckooCache-bit_packed_atomic_flags-bit_is_set]
= xref:CuckooCache.adoc[CuckooCache]::xref:CuckooCache/bit_packed_atomic_flags.adoc[bit&lowbar;packed&lowbar;atomic&lowbar;flags]::bit&lowbar;is&lowbar;set
:relfileprefix: ../../
:mrdocs:

bit&lowbar;is&lowbar;set queries the table for discardability at `s`&period;

== Synopsis

Declared in `&lt;cuckoocache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
bit&lowbar;is&lowbar;set(uint32&lowbar;t s) const;
----

== Return Value

true if the bit at index `s` was set, false otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| the index of the entry to read
|===


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