Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2435843b80aa151

Jump to content

Talk:Copy elision

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 2 years ago by 67.241.240.42 in topic As if

Proposed merge with Return value optimization

[edit]

These two articles are brief and closely related. Theemathas (talk) 11:31, 7 July 2015 (UTC)Reply

@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)Reply
Agreed and  Done Klbrain (talk) 12:19, 11 November 2017 (UTC)Reply

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)Reply

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)Reply

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 (talkcontribs) 23:51, 28 February 2021 (UTC)Reply

"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)Reply