std::function in cmd line parser