由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - friend function in C++
相关主题
Help C++ Template function link error .[合集] can destructor be pure virtual function in c++?
C++: friend functionjava 的interface是相当于ruby的module吗?
请教template和factory有啥区别?functional programming的两个方面
[c++] ?? about friend methodgood C++ open source project?
inline functions in C++网络程序问题
A C++ private member function problem内存池这个玩意...
function pointer 和 call-back function 有什么区别?一个STL的问题
an interview question两个看来相似的问题
相关话题的讨论汇总
话题: c++话题: friend话题: function话题: found话题: why
进入Programming版参与讨论
1 (共1页)
n**d
发帖数: 9764
1
Why does C++ have to support friend function? Found several reasons but it
seems all of them can be implemented by the calss methods.
o*o
发帖数: 404
2
Can you call it a "class" if you put everything in the basket?

【在 n**d 的大作中提到】
: Why does C++ have to support friend function? Found several reasons but it
: seems all of them can be implemented by the calss methods.

n**d
发帖数: 9764
3
In the view of language, you can.

【在 o*o 的大作中提到】
: Can you call it a "class" if you put everything in the basket?
1 (共1页)
进入Programming版参与讨论
相关主题
两个看来相似的问题inline functions in C++
人无食不活,码无库不通A C++ private member function problem
[合集] Exception Handling in Cfunction pointer 和 call-back function 有什么区别?
C++ Singleton Helpan interview question
Help C++ Template function link error .[合集] can destructor be pure virtual function in c++?
C++: friend functionjava 的interface是相当于ruby的module吗?
请教template和factory有啥区别?functional programming的两个方面
[c++] ?? about friend methodgood C++ open source project?
相关话题的讨论汇总
话题: c++话题: friend话题: function话题: found话题: why