/usr/include/osl/eval/evalCompareLarger.h is in libosl-dev 0.6.0-3.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 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | /* evalCompareLarger.h
*/
#ifndef _EVAL_COMPARE_LARGER_H
#define _EVAL_COMPARE_LARGER_H
#include "osl/eval/evalTraits.h"
namespace osl
{
namespace eval
{
/**
* 評価の高い順に並べる比較
*/
template <Player P> struct EvalCompareLarger
{
bool operator()(int l, int r) const
{
return EvalTraits<P>::betterThan(l, r);
}
};
/**
* 評価の高い順に並べる比較
*/
struct EvalCompareLargerNT
{
const Player player;
EvalCompareLargerNT(Player p) : player(p)
{
}
bool operator()(int l, int r) const
{
return betterThan(player, l, r);
}
};
} // namespace eval
} // namespace osl
#endif /* _EVAL_COMPARE_LARGER_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|