libcuckoo  0.3.1
Public Member Functions | List of all members
libcuckoo::maximum_hashpower_exceeded Class Reference

#include <cuckoohash_util.hh>

Inheritance diagram for libcuckoo::maximum_hashpower_exceeded:
Inheritance graph
[legend]
Collaboration diagram for libcuckoo::maximum_hashpower_exceeded:
Collaboration graph
[legend]

Public Member Functions

 maximum_hashpower_exceeded (const size_t hp) noexcept
 
virtual const char * what () const noexcept override
 
size_t hashpower () const noexcept
 

Detailed Description

Thrown when an expansion is triggered, but the hashpower specified is greater than the maximum, which can be set with the cuckoohash_map::maximum_hashpower method.

Constructor & Destructor Documentation

◆ maximum_hashpower_exceeded()

libcuckoo::maximum_hashpower_exceeded::maximum_hashpower_exceeded ( const size_t  hp)
inlinenoexcept

Constructor

Parameters
hpthe hash power we were trying to expand to

Member Function Documentation

◆ hashpower()

size_t libcuckoo::maximum_hashpower_exceeded::hashpower ( ) const
inlinenoexcept
Returns
the hashpower we were trying to expand to

◆ what()

virtual const char* libcuckoo::maximum_hashpower_exceeded::what ( ) const
inlineoverridevirtualnoexcept
Returns
a descriptive error message

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