比如
class test
{
    int *a;
    string str;
    map<int, string> m;
}
像此类对象,如何传递,强制传,仅把指针传过去,指向的内容还在
如何实现,希望给个实例讲解一下