首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

如果在一个成员函数事先加一个friend

2013-01-07 
如果在一个成员函数之前加一个friend!so this fuction will be a friend fuction.It is not belong to the

如果在一个成员函数之前加一个friend!
so this fuction will be a friend fuction.
It is not belong to the class?
[解决办法]
yes 如果在一个成员函数事先加一个friend
[解决办法]
如果函数属于这个类,又何必声明为友元函数呢
[解决办法]
yes, you are right.
[解决办法]
英语回答应该是。
No,it‘s not。(标点除外)。

热点排行