Live Cells C++
Reactive Programming for C++
Loading...
Searching...
No Matches
live_cells::Trackable Concept Reference

Concept defining an observable object that can be tracked dynamically as a dependency. More...

#include <types.hpp>

Concept definition

template<typename T>
concept live_cells::Trackable = requires(const T &o) {
{ o() } -> std::same_as<decltype(o.value())>;
}
A computed cell which determines its argument cells at runtime.
Definition dynamic_compute_cell.hpp:153
Concept defining an observable object that can be tracked dynamically as a dependency.
Definition types.hpp:88

Detailed Description

Concept defining an observable object that can be tracked dynamically as a dependency.

The following methods are required:

  • operator()

    Return the observable's value and register it as a dependency.