C++ operator overloading— Garbage Value

前端 未结 0 2014
遇见更好的自我
遇见更好的自我 2020-12-02 15:10

I was coding for stacks and when i tried to overloading(=) for declaring a stack to another one, if i don\'t use reference (&), four value of beginning take garbage val

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