Talk:Copy elision
Add topic| This is the talk page for discussing improvements to the Copy elision article. This is not a forum for general discussion of the subject of the article. |
Article policies
|
| Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
| This article has not yet been rated on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
| |||||||||||
| The content of Return value optimization was merged into Copy elision on 11 November 2017. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. For the discussion at that location, see its talk page. |
Proposed merge with Return value optimization
[edit]These two articles are brief and closely related. Theemathas (talk) 11:31, 7 July 2015 (UTC)
- @Theemathas: Good idea. Maybe title to a new article C++ compiler optimizations and merge as-if rule into it as well? QVVERTYVS (hm?) 15:51, 22 January 2016 (UTC)
- Agreed and
Done Klbrain (talk) 12:19, 11 November 2017 (UTC)
- Agreed and
As if
[edit]It's condescending for the article to define what "as if" means. It appears as if the author thinks we's stoopit. — Preceding unsigned comment added by 2602:306:3398:DD10:60AF:596D:E68C:754 (talk) 23:41, 26 November 2017 (UTC)
- It's not stupid. The C++ Standard has an "as if" rule. That is what the author is alluding to. He talking about the rule, not telling you what "as if' means. 67.241.240.42 (talk) 17:29, 24 June 2024 (UTC)
Not C++ only
[edit]"In C++ computer programming ..." but Nim also has copy elision and NRVO too. https://nim-lang.github.io/Nim/manual.html#procedures-nrvo — Preceding unsigned comment added by Juancarlospaco (talk • contribs) 23:51, 28 February 2021 (UTC)
"In the current revision of the C++ standard (C++11)"
[edit]there's a sentence in the article that says the current revision of C++ is C++11 -- shouldn't this be edited or updated?? jasper jon (talk) 11:33, 7 February 2022 (UTC)