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