Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 705 Bytes

InvokeWith.md

File metadata and controls

40 lines (30 loc) · 705 Bytes

<CppML/Functional/InvokeWith.hpp>

Table of Contents

InvokeWith

template <typename ...Ts>
struct InvokeWith {
  template <typename F>
  using f = ml::Invoke<F, Ts...>;
};

`InvokeWith<Ts...>

InvokeWith<Ts...> is metafunction that takes a metafunction F: Ts... -> U, and invokes it with the provided Ts....

f:: (Ts... -> U) -> U

fx

template <typename ...Ts>
struct fx {
  template <typename F>
  using f = ml::Invoke<F, Ts...>;
};

`fx<Ts...>

fx<Ts...> is metafunction that takes a metafunction F: Ts... -> U, and invokes it with the provided Ts....

f:: (Ts... -> U) -> U