2015-01-12 13:20:53 -05:00
|
|
|
#ifndef ATIDLAS_CL_COMPARE_HPP
|
|
|
|
#define ATIDLAS_CL_COMPARE_HPP
|
|
|
|
|
|
|
|
namespace atidlas
|
|
|
|
{
|
2015-01-27 16:14:02 -05:00
|
|
|
|
|
|
|
namespace cl_ext
|
2015-01-12 13:20:53 -05:00
|
|
|
{
|
|
|
|
|
|
|
|
struct compare{
|
|
|
|
public:
|
|
|
|
template<class T>
|
|
|
|
bool operator()(T const & x, T const & y){ return x() < y(); }
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|