blob: 8f613def074a40f0b5e3b11027896410b2bc5ccd [file] [log] [blame]
#ifndef RDESTL_FUNCTIONAL_H
#define RDESTL_FUNCTIONAL_H
namespace rde
{
//=============================================================================
template<typename T>
struct less
{
bool operator()(const T& lhs, const T& rhs) const
{
return lhs < rhs;
}
};
//=============================================================================
template<typename T>
struct greater
{
bool operator()(const T& lhs, const T& rhs) const
{
return lhs > rhs;
}
};
//=============================================================================
template<typename T>
struct equal_to
{
bool operator()(const T& lhs, const T& rhs) const
{
return lhs == rhs;
}
};
}
//-----------------------------------------------------------------------------
#endif // #ifndef RDESTL_FUNCTIONAL_H