Is there any accepted way to get a pointer to a class object, from a pointer to a member of that class in C++?

后端 未结 0 1302
野的像风
野的像风 2021-01-30 20:17

So let\'s say I have a pointer to some data member embedded in a class object, and I want to get to the class object itself. Is there some standard way to do it? I know about of

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