阅读背景:

为什么有些操作符只能作为成员函数重载,其他操作符作为朋友函数重载,其他操作符同时作为朋友函数重载?

来源:互联网 

Why can some operators only be overloaded as member functions, other as non-member "free" functions and the rest of them as both?Why can some operators only be overloaded as me




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: