Template Class hash< Node >

Class Documentation

template<>
class hash<Node>

Hash for node struct.

Public Functions

size_t operator()(const Node &n) const

Overlaod () operator to calculate the hash of a Node.

Return
hash value
Parameters
  • n: Node for which the hash is to be calculated