[#CuckooCache-bit_packed_atomic_flags-2constructor-05a]
= xref:CuckooCache.adoc[CuckooCache]::xref:CuckooCache/bit_packed_atomic_flags.adoc[bit&lowbar;packed&lowbar;atomic&lowbar;flags]::bit&lowbar;packed&lowbar;atomic&lowbar;flags
:relfileprefix: ../../
:mrdocs:

bit&lowbar;packed&lowbar;atomic&lowbar;flags constructor creates memory to sufficiently keep track of garbage collection information for `size` entries&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
bit&lowbar;packed&lowbar;atomic&lowbar;flags(uint32&lowbar;t size);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *size*
| the number of elements to allocate space for
|===

== Postconditions

* bit&lowbar;set, bit&lowbar;unset, and bit&lowbar;is&lowbar;set function properly forall x&period; x &lt; size
* All calls to bit&lowbar;is&lowbar;set (without subsequent bit&lowbar;unset) will return true&period;


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