c++ can use chromium base::callback in interface? -


Can I use Chromium in the base :: callback interface? I'll keep the callback on another dynamic link library Thunderpool, but I'm not sure it's correct and which module releases callback?

The short answer is yes, you can do this from the document

// Callback object must be passed by a cons-reference, and stored by / // copy. They internally store their state via a refueled class - // thus there is no need to remove it.
// // The reason for passing through a cons-reference is to avoid unnecessary


AddRef / Release pair in internal condition

< / P>


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -