|
| template<typename Arg , typename F > |
| auto | operator % (Arg &&arg, F &&fn) -> decltype(std::forward< F >(fn)(std::forward< Arg >(arg))) |
| | return std::forward<F>(fn)(std::forward<Arg>(arg)) More...
|
| |
| template<typename Arg , typename F > |
| auto | operator %= (Arg &arg, F &&fn) -> decltype(void(std::forward< F >(fn)(std::move(arg)))) |
| | arg = fn::to(Arg{})(std::forward<F>(fn)(std::move(arg))); More...
|
| |
| template<class Container1 , class Container2 > |
| auto | operator<<= (Container1 &cont1, Container2 &&cont2) -> decltype(void(cont1.insert(cont1.end(), std::move(*cont2.begin())))) |
| | End-insert elements of cont2 into cont1 by-move. More...
|
| |
| template<class Container1 , class Container2 > |
| auto | operator<<= (Container1 &cont1, const Container2 &cont2) -> decltype(void(cont1.insert(cont1.end(), *cont2.begin()))) |
| |
| template<class Container1 , class Gen > |
| void | operator<<= (Container1 &cont1, impl::seq< Gen > seq) |
| |
| template<class Container > |
| void | operator<<= (Container &cont, typename Container::value_type el) |
| |
template<typename Arg , typename F >
| auto rangeless::fn::operators::operator % |
( |
Arg && |
arg, |
|
|
F && |
fn |
|
) |
| -> decltype( std::forward<F>(fn)(std::forward<Arg>(arg)) )
|
return std::forward<F>(fn)(std::forward<Arg>(arg))
This is similar to Haskell's operator (&) :: a -> (a -> b) -> b |infix 1| or F#'s operator |>
Definition at line 4548 of file fn.hpp.