MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / RVO

Function RVO

08.10-guaranteedCopyElision0/main.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17};
18
19NonCopyableOrMoveable RVO()
20{
21 return {}; // #B This is where RVO happens
22}
23
24int main()
25{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected