C++ this 指针

# 第一部分 this 指针的类型可理解为 Box*。 此时得到两个地址分别为 box1 和 box2 对象的地址。 ``` 实例: #include using namespace std; class Box{ public: Box(){;} ~Box(){;} Box* get_addres

你可能感兴趣的:(C++ this 指针)