template<typename T>
GGUI::GGHint struct

A hint of value type T: a number type, bool, or std::string_view. Declared as a constant; its address is its identity.

Base classes

struct GGHintInfo
Type-erased part of a hint. Identity is the address of the constant.

Constructors, destructors, conversion operators

GGHint(std::string_view name, std::string_view what, GGHintFor about = GGHintFor::Any) constexpr
A hint named name, described by what, for fields of kind about.

Public functions

auto operator()(T value) const -> GGFieldHint constexpr
Attach to a field with a value.
auto ValueOf(const GGFieldHint& hint) const -> T constexpr
The value hint, one of this hint, carries.