通过存储于每个对象中的this指针,member function才能够存取该对象中的非静态数据成员(non-static data member)。当一个函数在运行时,与类的任何对象都没有任何关联,同时它仍然是该类的一个成员函数时,我们可以声明其为静态成员函数(stat...
基于24个网页-相关网页
非静态数据成员
Non-static data member
以上为机器翻译结果,长、整句建议使用 人工翻译 。
讨论和示例程序都只限于非静态数据成员和虚函数。
The discussion and the sample program are limited to non-static data members and virtual functions.
youdao
需要某实例来获取托管类或接口的非静态数据成员的地址。
An instance is needed to take the address of nonstatic data members of a managed class or interface.
应用推荐
模块上移
模块下移
不移动