overloading << operator whilst accessing private elements (friend)

前端 未结 0 400
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-05 02:42

So I\'m writing a program that requires me to overload the "<<" operator whilst accessing private members of the class. It goes like this

A.h



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