two clients communicate to each other on top of a message layer
in the message body, I need include a field pointing to any data type
From client A, I send the field as a shared_ptr<TYPEA>
to the message layer.
I define this field as a shared_ptr<void>
in the message layer.
But how can I convert this field back to shared_ptr<TYPEA>
in client B?
Or should I define shared_ptr<void>
in message layer as something else?
Thanks