[#CRollingBloomFilter-2constructor]
= xref:CRollingBloomFilter.adoc[CRollingBloomFilter]::CRollingBloomFilter
:relfileprefix: ../
:mrdocs:

Construct a rolling filter sized for a number of elements and a false&hyphen;positive rate&period;

== Synopsis

Declared in `&lt;common&sol;bloom&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
CRollingBloomFilter(
    unsigned int nElements,
    double nFPRate);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nElements*
| Number of most&hyphen;recent elements to track&period;
| *nFPRate*
| Desired false&hyphen;positive rate&period;
|===


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