17 #ifndef VCSN_MISC_FUNCTORS_HXX
18 # define VCSN_MISC_FUNCTORS_HXX
20 # include <vaucanson/misc/functors.hh>
29 std::pair<T, T> pair<T>::operator () (T x, T y)
const
31 return std::pair<T, T> (x, y);
36 std::pair<T, T> discrepancy<T>::operator () (T x, T y)
const
38 T left = std::max<T> (0, x - y);
39 T right = std::max<T> (0, y - x);
41 return std::pair<T, T> (left, right);
47 #endif // ! VCSN_MISC_FUNCTORS_HXX