template<typename T>
GGUI::GGDoes class

The second argument of a value widget: what an edit does.

Constructors, destructors, conversion operators

GGDoes() defaulted
Does nothing.
GGDoes(const GGEdits<T>& edits)
Every phase: GGEdits.
GGDoes(const CommitOnly<T>& commit)
The final value only: OnCommit.
template<typename TFn>
GGDoes(TFn fn)
Every change: a lambda taking the value, or nothing.

Public functions

auto Get() const -> const GGEdits<T>&
Its handlers, by phase.
auto IsEmpty() const -> bool
Whether it does nothing.