17 #ifndef VCSN_MISC_FUNCTORS_HH
18 # define VCSN_MISC_FUNCTORS_HH
20 # include <functional>
29 struct pair :
public std::binary_function<T, T, std::pair<T, T > >
31 std::pair<T, T> operator () (T x, T y)
const;
36 struct discrepancy :
public std::binary_function<T, T, std::pair<T, T> >
38 std::pair<T, T> operator () (T x, T y)
const;
45 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
46 # include <vaucanson/misc/functors.hxx>
47 # endif // VCSN_USE_INTERFACE_ONLY
49 #endif // ! VCSN_MISC_FUNCTORS_HH