typedef std::function\< void ( const std::string& ) \> callback_type; ???