Is a non-member friend function overloaded operator inherited?

后端 未结 0 350
轮回少年
轮回少年 2021-02-06 03:51

I have my parent class and I overloaded the << operator. It seems my derived class can use that operator, even tho I read everywhere that classes don\'t inherit friend fun

相关标签:
回答
  • 消灭零回复
提交回复
热议问题