Ask Your Question

Revision history [back]

Short version:

Yes, you can pass that ConstPtr to a call to publish(), and it will work.

Long answer: Can you explain the problem you're trying to solve in a bit more detail? I'm envisioning a sort of round-robin message dispatch, and that seems painful.