how to pass a non static-member function as a callback?

后端 未结 8 625
深忆病人
深忆病人 2020-12-07 01:59

 
io_iterator_t enumerator;
kern_return_t   result;
result = IOServiceAddMatchingNotification(
             mNotifyPort,
             kIOMatchedNotification,
             


        
8条回答
  •  情话喂你
    2020-12-07 02:19

    No, a non-static member would expect an object, and the caller (call-backer) does not have and will not provide one.

提交回复
热议问题