CCF
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
champ::Collisions< K, V, H > Struct Template Reference

#include <champ_map.h>

Public Member Functions

const V * getp (Hash hash, const K &k) const
 
size_t put_mut (Hash hash, const K &k, const V &v)
 
size_t remove_mut (Hash hash, const K &k)
 
template<class F >
bool foreach (F &&f) const
 

Public Attributes

std::array< std::vector< std::shared_ptr< Entry< K, V > > >, collision_bins > bins
 

Member Function Documentation

◆ foreach()

template<class K , class V , class H >
template<class F >
bool champ::Collisions< K, V, H >::foreach ( F &&  f) const
inline

◆ getp()

template<class K , class V , class H >
const V * champ::Collisions< K, V, H >::getp ( Hash  hash,
const K &  k 
) const
inline

◆ put_mut()

template<class K , class V , class H >
size_t champ::Collisions< K, V, H >::put_mut ( Hash  hash,
const K &  k,
const V &  v 
)
inline

◆ remove_mut()

template<class K , class V , class H >
size_t champ::Collisions< K, V, H >::remove_mut ( Hash  hash,
const K &  k 
)
inline

Member Data Documentation

◆ bins

template<class K , class V , class H >
std::array<std::vector<std::shared_ptr<Entry<K, V> > >, collision_bins> champ::Collisions< K, V, H >::bins

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