Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
Loading...
Searching...
No Matches
aria::PropertyValue Concept Reference

Type usable as a Property value: More...

#include <concepts.hpp>

Concept definition

template<typename T>
concept PropertyValue = std::copyable<T> && EqualityComparable<T>
Type that supports == and != (required for change detection).
Definition concepts.hpp:30
Type usable as a Property value:
Definition concepts.hpp:62

Detailed Description

Type usable as a Property value:

  • copyable (we copy old value to pass to observers)
  • equality comparable (so we can skip notifications on no-op writes)

This is the canonical constraint for Property<T>, Computed<T> and anywhere a "boxed reactive cell" is required.