18#ifndef LIVE_CELLS_MUTABLE_COMPUTED_HPP 
   19#define LIVE_CELLS_MUTABLE_COMPUTED_HPP 
   25#include "static_mutable_compute_cell.hpp" 
   26#include "dynamic_mutable_compute_cell.hpp" 
   62    template <std::invocable F, 
typename R>
 
   66            std::forward<R>(reverse)
 
 
  108    template <std::invocable F, 
typename R>
 
  112            std::forward<R>(reverse)
 
 
  150    template <std::invocable F, 
typename R>
 
  155            std::forward<R>(reverse)
 
 
  199    template <std::invocable F, 
typename R>
 
  204            std::forward<R>(reverse)
 
 
  233    template <
typename A1, 
typename A2, 
typename... As>
 
  238        auto compute = std::get<1>(
packed);
 
  239        auto reverse = std::get<2>(
packed);
 
  241        return std::apply([&] (
auto... 
args) {
 
  243                return compute(
args.value()...);
 
 
  282    template <
typename A1, 
typename A2, 
typename... As>
 
  287        auto compute = std::get<1>(
packed);
 
  288        auto reverse = std::get<2>(
packed);
 
  290        return std::apply([&] (
auto... 
args) {
 
  292                return compute(
args.value()...);
 
 
  327    template <
typename A1, 
typename A2, 
typename... As>
 
  332        auto compute = std::get<1>(
packed);
 
  333        auto reverse = std::get<2>(
packed);
 
  335        return std::apply([&] (
auto... 
args) {
 
  337                return compute(
args.value()...);
 
 
  378    template <
typename A1, 
typename A2, 
typename... As>
 
  383        auto compute = std::get<1>(
packed);
 
  384        auto reverse = std::get<2>(
packed);
 
  386        return std::apply([&] (
auto... 
args) {
 
  388                return compute(
args.value()...);
 
 
A computed cell which determines its argument cells at runtime.
Definition dynamic_compute_cell.hpp:153
Dynamically type key container.
Definition keys.hpp:76
Defines the interface for a key which uniquely identifies a cell.
Definition keys.hpp:33
Definition boolean.hpp:26
auto make_mutable_compute_cell(C compute, R reverse, As... args)
Create a static_mutable_compute_cell with compute function compute, reverse compute function reverse ...
Definition static_mutable_compute_cell.hpp:259
auto mutable_computed(F &&fn, R &&reverse)
Create a mutable computed cell with dynamically determined argument cells.
Definition mutable_computed.hpp:63
constexpr changes_only_option changes_only
Cell option specifying that the cell, to which it is applied, should only notify its observers when i...
Definition changes_only_state.hpp:101
Cell option specifying that the cell, to which it is applied, should only notify its observers when i...
Definition changes_only_state.hpp:94