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?