tk::ctr::Info struct

Function object for filling a HelpFactory (std::map) with keywords and their associated information bundle.

This struct is used as a functor to loop through a set of keywords at compile-time and generate code for filling up the std::map.

Constructors, destructors, conversion operators

Info(tk::ctr::HelpFactory& factory)
Constructor: store reference to map to fill.

Public functions

template<typename U>
void operator()(brigand::type_<U>)
Function call operator templated on the type that does the filling.

Public variables

tk::ctr::HelpFactory& m_factory
Store reference to map we are filling.