Lolly 1.4.27
Loading...
Searching...
No Matches
Private Member Functions | List of all members
hashset< T > Class Template Reference

The hashset class represents a hash set. More...

#include <hashset.hpp>

Private Member Functions

 CONCRETE_TEMPLATE (hashset, T)
 
 hashset (int n=1, int max=1)
 Construct a new hashset object with specified values.
 

Detailed Description

template<class T>
class hashset< T >

The hashset class represents a hash set.

Template Parameters
TThe type of the data stored in the hash set.

Definition at line 72 of file hashset.hpp.

Constructor & Destructor Documentation

◆ hashset()

template<class T >
hashset< T >::hashset ( int n = 1,
int max = 1 )
inlineprivate

Construct a new hashset object with specified values.

Parameters
nThe number of keys (a power of two).
maxThe mean number of entries per key.

Definition at line 81 of file hashset.hpp.

82 : rep (tm_new<hashset_rep<T>> (n, max)) {}
The list class represents a linked list.
Definition list.hpp:48
C * tm_new()
SI max(SI i, SI j)
Returns the maximum of two signed integers.
Definition minmax.hpp:40
base class of resources
Definition resource.hpp:23

Member Function Documentation

◆ CONCRETE_TEMPLATE()

template<class T >
hashset< T >::CONCRETE_TEMPLATE ( hashset< T > ,
T  )
private

The documentation for this class was generated from the following file: