Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
NonCopyableOrMoveable RVO()
20
{
21
return {}; // #B This is where RVO happens
22
}
23
24
int main()
25
{
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected