C++ copy constructor incorrectly takes argument

后端 未结 0 1546
不知归路
不知归路 2020-12-20 13:56

I have the following code that behaves weirdly. The flow I understood so far is, display(line); will call the copy constructor Line::Line(const Line &

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