20 #ifndef __OPERATOR_STRUCTS_HH_ 21 #define __OPERATOR_STRUCTS_HH_ 43 template<
typename... T>
using callback_t =
typename std::function<void (std::shared_ptr<Error::Error> err, T...)>;
44 template<
typename... T>
void noop_callback(std::shared_ptr<Error::Error> err, T...) {}
47 #endif // __OPERATOR_STRUCTS_HH_ Definition: structs.hh:29
Definition: structs.hh:37
Definition: structs.hh:33
typename std::function< void(std::shared_ptr< Error::Error > err, T...)> callback_t
general type for callbacks
Definition: structs.hh:43