prime/include/rstl/functional.hpp
Henrique Gemignani Passos Lima d86009a79d Add rstl::binary_find
Including CAnimData::GetBoundingBox


Former-commit-id: e4a864880ba8b0b7c023bb7562b86b7d07dbc99f
2022-12-05 23:35:31 +02:00

19 lines
327 B
C++

#ifndef _RSTL_FUNCTIONAL
#define _RSTL_FUNCTIONAL
namespace rstl {
template < typename P >
struct identity {
const P& operator()(const P& it) const { return it; }
};
template < typename T >
struct less {
bool operator()(const T& a, const T& b) const { return a < b; }
};
} // namespace rstl
#endif // _RSTL_FUNCTIONAL