#include <computation.hpp>
|
| using | Key = KeyT |
| |
| using | Inputs = std::remove_cvref_t<InputsT> |
| |
| using | Function = FunctionT |
| |
|
| | Computation (FunctionT function) |
| | Own the callable; result-affecting mutable state belongs in the declared inputs.
|
| |
template<typename... Arguments>
requires std::invocable<const FunctionT&, const Arguments&...> |
| decltype(auto) | evaluate (const Arguments &... arguments) const |
| | Supply inputs in declaration order and infer the result from the callable.
|
| |
◆ Function
template<typename KeyT, IsKeyList InputsT, typename FunctionT, bool OwnsInputs = false>
◆ Inputs
template<typename KeyT, IsKeyList InputsT, typename FunctionT, bool OwnsInputs = false>
◆ Key
template<typename KeyT, IsKeyList InputsT, typename FunctionT, bool OwnsInputs = false>
◆ Computation()
template<typename KeyT, IsKeyList InputsT, typename FunctionT, bool OwnsInputs = false>
Own the callable; result-affecting mutable state belongs in the declared inputs.
◆ evaluate()
template<typename KeyT, IsKeyList InputsT, typename FunctionT, bool OwnsInputs = false>
template<typename... Arguments>
requires std::invocable<const FunctionT&, const Arguments&...>
Supply inputs in declaration order and infer the result from the callable.
◆ m_function
template<typename KeyT, IsKeyList InputsT, typename FunctionT, bool OwnsInputs = false>
◆ owns_inputs
template<typename KeyT, IsKeyList InputsT, typename FunctionT, bool OwnsInputs = false>
The documentation for this class was generated from the following file: