C++: convert not from obj1 to obj2, but from obj1* to obj2?

后端 未结 0 1972
故里飘歌
故里飘歌 2021-02-15 16:35

A constructor for MyClass takes a pointer to another such object.

The C++ MyClass is functionally the same as a C "class" based on a t

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