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