template<size_t DESIRED_WIDTH, typename THash1, typename THash2 = private_bloom_filter::null_hash, typename THash3 = private_bloom_filter::null_hash>
class etl::bloom_filter< DESIRED_WIDTH, THash1, THash2, THash3 >
An implementation of a bloom filter. Allows up to three hashes to be defined. Hashes must support the () operator and define 'argument_type'.
- Template Parameters
-
DESIRED_WIDTH | The desired number of hash results that can be stored. Rounded up to best fit the underlying bitset. |
THash1 | The first hash generator class. |
THash2 | The second hash generator class. If omitted, uses the null hash. |
THash3 | The third hash generator class. If omitted, uses the null hash. The hash classes must define argument_type. |