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

Function Open

08.27-structuredBindingsPOSIXError1/main.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17};
18
19auto Open(std::string_view fileName)
20{
21 // #B We need to specify the type of the template parameter
22 return ReturnCode<int>{open(fileName.data()), errno};
23}
24
25int main()
26{

Callers 1

mainFunction · 0.70

Calls 2

dataMethod · 0.80
openFunction · 0.70

Tested by

no test coverage detected