Standard library containers producing a lot of copies on rvalues in GCC

前端 未结 5 1363
隐瞒了意图╮
隐瞒了意图╮ 2020-12-30 23:49

I\'m writing a app for both linux & windows, and noticed that the GCC build is producing a lot of useless calls to the copy constructor.

Here\'s an example code

5条回答
提交回复
热议问题