FieldVisitor class
#include <GGUI/Public/Fields.h>
Non-owning callable taking a FieldInfo. Called during the call it is passed to, never stored.
Constructors, destructors, conversion operators
-
template<typename TFn>FieldVisitor(TFn&& fn)
- Calls
fn, which must outlive the call it is passed to.
Public functions
- void operator()(const FieldInfo& field) const
- Visit
field.