结构体中的成员函数在成员函数的参数中不能看this的地址它说【表达式必须为左值或函数指示符】应该怎么才能看this的地址 不明白解释以下比如说
#include
using namespace std;
struct MyStruct
{
int h;
int i;
void hun()
{
cout << h + i;
}
};
int main() {
MyStruct ki;
ki.h = 10;
ki.i = 100;
ki.hun();
}
不能查看this的地址