mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
range/numeric.hpp 追加
algorithm/* fix
This commit is contained in:
parent
510a265ea5
commit
42d73cc4d5
18 changed files with 407 additions and 131 deletions
|
@ -6,6 +6,19 @@
|
|||
|
||||
namespace sprout {
|
||||
namespace detail {
|
||||
//
|
||||
// equal_to
|
||||
//
|
||||
template<typename T>
|
||||
class equal_to
|
||||
: public std::binary_function<T, T, bool>
|
||||
{
|
||||
public:
|
||||
SPROUT_CONSTEXPR bool operator()(T const& lhs, T const& rhs) const {
|
||||
return lhs == rhs;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// less
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue