Home > Back-end >  Smart Pointers in qt
Smart Pointers in qt

Time:01-23

When using QSharedPoint, does not carry on the initialization, you can also use? As shown in figure, I define the test in class with his smart Pointers, but does not instantiate objects, its function can also be called, and don't go to the constructor, print this pointer is 0 x0
I ask what is this magic principle

CodePudding user response:

You in that member function to access the class member, you will know
  • Related