Example:
class A()
{
std::shared_ptr<A> x;
void passShPtr()
{
recessive_from(x);
}
}
receive prototype is
receive_from(void* );
Note:-basically need to use in UDP socket connection library apis in Linux environment.
well, shared_ptr has a get() function for the underlying pointer.
But it sounds that you're about to do something wrong...
Last edited on