Hash Function for const formula*
.This is meant to be used as a hash functor for Sgi's hash_map
whose key are of type const formula*
.
More...
#include <ltlast/formula.hh>
Public Member Functions | |
size_t | operator() (const formula *that) const |
Hash Function for const formula*
.
This is meant to be used as a hash functor for Sgi's hash_map
whose key are of type const formula*
.
For instance here is how one could declare a map of const::formula*
.
// Remember how many times each formula has been seen. Sgi::hash_map<const spot::ltl::formula*, int, const spot::ltl::formula_ptr_hash> seen;
size_t spot::ltl::formula_ptr_hash::operator() | ( | const formula * | that | ) | const [inline] |
References spot::ltl::formula::hash().