Miscellaneous

uint64_t danceq::internal::State::hash(void) const

Hash function.

The function is used by struct HashFunction that allows the usage of std::unordered_set and std::unordered_map:

Returns:

hash

struct HashFunction

Struct for the hash function.

The struct is used for std::unordered_set and std::unordered_map.

std::unordered_set<State, typename State::HashFunction> myuSet;
std::unordered_map<State, uint64_t, typename State::HashFunction> myuMap;