Function wrapper to set attributes of a struct, type-erasing the type of the attribute.
Definition at line 69 of file params.tpp.
Public Member Functions | |
template<class A > | |
param_setter_fun_t (A T::*attr) | |
void | operator() (T &t, ParamString s) const |
Public Attributes | |
std::function< void(T &, ParamString)> | set |
|
inline |
Definition at line 71 of file params.tpp.
|
inline |
Definition at line 73 of file params.tpp.
std::function<void(T &, ParamString)> set |
Definition at line 72 of file params.tpp.