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:
parent
1b8c051008
commit
d611090972
45 changed files with 192 additions and 144 deletions
|
@ -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>())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue