GGUI::CompletionVisitor class

Non-owning callable (name, argument hint). Called during the call it is passed to, never stored.

Constructors, destructors, conversion operators

template<typename TFn>
CompletionVisitor(TFn&& fn)
Calls fn, which must outlive the call it is passed to.

Public functions

void operator()(std::string_view name, std::string_view hint) const
Add the completion name, whose arguments hint describes.