mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add SPROUT_FORWARD - workaround for ICC
This commit is contained in:
parent
7831105add
commit
274122efb2
202 changed files with 750 additions and 741 deletions
|
@ -46,7 +46,7 @@ namespace sprout {
|
|||
template<typename T>
|
||||
SPROUT_CONSTEXPR decltype(!std::declval<Predicate const&>()(std::declval<T>()))
|
||||
operator()(T&& x) const {
|
||||
return !fn(sprout::forward<T>(x));
|
||||
return !fn(SPROUT_FORWARD(T, x));
|
||||
}
|
||||
};
|
||||
} // namespace detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue