/usr/include/mathic/Comparer.h is in libmathic-dev 1.0~git20170606-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #ifndef MATHIC_COMPARER_GUARD
#define MATHIC_COMPARER_GUARD
namespace mathic {
template<class C>
class Comparer {
public:
Comparer(const C& conf): _conf(conf) {}
template<class A, class B>
bool operator()(const A& a, const B& b) const {
return _conf.isLessThan(a.get(), b.get());
}
private:
const C& _conf;
};
}
#endif
|