Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::detail::ChangeValueAction Concept Reference

Recognize a checkbox value invocation with a supported result. More...

#include <managed.hpp>

Concept definition

template<class Callback, class T>
concept ChangeValueAction = requires(Callback &action, const T &value) {
{ action(value) } -> ManagedActionResult;
}
Recognize a checkbox value invocation with a supported result.
Definition managed.hpp:250
Accepted compact callback results; command receipts retain exact reporting provenance.
Definition managed.hpp:207

Detailed Description

Recognize a checkbox value invocation with a supported result.

Template Parameters
CallbackCopyable action; generic bodies must accept both bool and CheckState.
TActual checkbox model value, never converted by the adapter.