spot
1.0.2
|
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 \c const::formula*. @code
// Remember how many times each formula has been seen. Sgi::hash_map<const spot::ltl::formula*, int, const spot::ltl::formula_ptr_hash> seen;
|
inline |
References spot::ltl::formula::hash().