... 声明延时函数 void delay 声明友元函数 friend 函数声明 function declaration ; declare function ; function declarine ...
基于1个网页-相关网页
声明友元函数
Declare a friend function
以上为机器翻译结果,长、整句建议使用 人工翻译 。
为了访问一个用户定义的类里的私有数据,你必须声明全局函数为友元函数,并且在类中定义。
But to be able to reach any private data within a user defined class you have to declare the global function as a friend within the definition of the class.
youdao
应用推荐
模块上移
模块下移
不移动