#include <string>
#include <sstream>
#include <iostream>
+#include <functional>
#include "parameter.h"
#include "callable.h"
* @param description Description of current Argument
* @param function Function used to handle current Argument.
*/
- Argument(const std::string & description, void (*function)(ParameterType))
+ Argument(const std::string & description, std::function<void(ParameterType)> function)
: Parameter(description), Callable<ParameterType>(function) {
}