HikoGUI
A low latency retained GUI
|
This selector allows access to member variable by name.
An application may add a specialization for selector
for its own type. The specialization should add a templated function get()
to give access to members based on the template parameter.
The prototype of the get()
function are as follows:
template<fixed_string> auto &get(T &) const noexcept
Here is an example how to specialize hi::selector
for the my::simple
type: