rmp::Condition
template <class... A>
class Condition
A question the framework asks later with arguments of types A...: a StateMachine's transition, an Animator's rule, whether a Draggable may be dropped. A Callback that answers: a lambda returning something that converts to bool converts to it, and an empty one answers false. It moves and does not copy, for the reasons Callback gives.
Condition
template <class F> requires(!std::is_same_v<std::decay_t<F>, Condition>)
Condition(F &&fn)
So that a lambda can be written straight into a designated initialiser.
operator bool
explicit operator bool() const
Whether a function is stored.
operator()
bool operator()(A... args) const
The stored function's answer; an empty Condition answers false.