|
|
|
|
|
by William_BB
394 days ago
|
|
The standard says that "Copy elision is <...> one of the two allowed forms of optimization, alongside allocation elision and extension,(since C++14) that can change observable side-effects" I agree you have a valid point though. I'd be interested to know the committee's reasoning. |
|