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

Function GetThePoint

08.11-designatedInitializers5/main.cpp:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14#if(__cpp_designated_initializers >= 201707L)
15Point GetThePoint() // #A Returning a Point utilizing RVO
16{
17 return {.y = 3, .z = 4};
18}
19
20auto GetVectorOfPoints()
21{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected