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

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