* src/tgba/state.hh (state_ptr_less_than, state_ptr_equal):

Declare as std::binary_function.
(state_ptr_hash): Declare as std::unary_function.
* src/tgbaalgos/lbtt.cc (state_acc_pair_equal,
state_acc_pair_hash): Likewise.
* src/misc/bddlt.hh (bdd_less_than): Likewise.
* src/misc/hash.hh (ptr_hash, string_hash): Likewise.
This commit is contained in:
Alexandre Duret-Lutz 2003-09-30 16:02:34 +00:00
parent 7f3c113130
commit 2e97e6447b
5 changed files with 37 additions and 18 deletions

View file

@ -2,11 +2,13 @@
# define SPOT_MISC_BDDLT_HH
# include <bdd.h>
# include <functional>
namespace spot
{
/// Comparison functor for BDDs.
struct bdd_less_than
struct bdd_less_than :
public std::binary_function<const bdd&, const bdd&, bool>
{
bool
operator()(const bdd& left, const bdd& right) const