18#ifndef LIVE_CELLS_EQUALITY_HPP
19#define LIVE_CELLS_EQUALITY_HPP
24#include "computed.hpp"
34 struct eq_cell_key : value_key<key_ref,key_ref> {
41 struct neq_cell_key : value_key<key_ref,key_ref> {
56 template <
typename T,
typename U>
61 typedef internal::eq_cell_key
key;
80 template <
typename T,
typename U>
85 typedef internal::neq_cell_key
key;
A computed cell which determines its argument cells at runtime.
Definition dynamic_compute_cell.hpp:153
Defines the interface for a key which uniquely identifies a cell.
Definition keys.hpp:33
key_ref key() const
Get the key identifying the cell.
Definition stateful_cell.hpp:74
value_key(key_ref value, Ts... rest)
Create a key distinguished from other keys by one or more values.
Definition keys.hpp:167
Concept specifying that T is either a Cell or a value that can be converted to a constant_cell.
Definition constant_cell.hpp:141
Defines the cell protocol.
Definition types.hpp:128
Definition boolean.hpp:26
auto computed(F &&compute)
Create a cell with a value that is a function of one or more argument cells.
Definition computed.hpp:45
auto operator==(const T &a, const U &b)
Create a Cell that compares two cells for equality by ==.
Definition equality.hpp:57
auto ensure_cell(const Cell auto &thing)
Ensure that thing is a Cell.
Definition constant_cell.hpp:155
auto operator!=(const T &a, const U &b)
Create a Cell that compares two cells for inequality by !=.
Definition equality.hpp:81