How to get access to private members of other class?

前端 未结 0 1035
梦如初夏
梦如初夏 2021-01-07 18:18

I am implementing my own SharedPtr and WeakPtr and there are many methods where I need access to private members of SharedPtr from WeakPtr\'s methods. For example:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题