1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix valarray comparison

This commit is contained in:
bolero-MURAKAMI 2016-04-03 13:42:12 +09:00
parent 1b8c051008
commit d611090972
45 changed files with 192 additions and 144 deletions

View file

@ -14,6 +14,7 @@
#include <utility>
#include <sprout/config.hpp>
#include <sprout/utility/forward.hpp>
#include <sprout/functional/transparent.hpp>
namespace sprout {
@ -31,9 +32,9 @@ namespace sprout {
};
template<>
struct equal_to<void> {
public:
typedef void is_transparent;
struct equal_to<void>
: public sprout::transparent<>
{
public:
template<typename T, typename U>
SPROUT_CONSTEXPR decltype(std::declval<T>() == std::declval<U>())