MCPcopy Create free account
hub / github.com/ceph/ceph / create_context_callback

Function create_context_callback

src/librbd/Utils.h:189–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187
188template <typename T, void(T::*MF)(int) = &T::complete>
189Context *create_context_callback(T *obj) {
190 return new detail::C_CallbackAdapter<T, MF>(obj);
191}
192
193template <typename T, Context*(T::*MF)(int*), bool destroy=true>
194Context *create_context_callback(T *obj) {

Callers 4

send_remove_snapMethod · 0.85

Calls

no outgoing calls

Tested by 1