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

Function Open

08.28-structuredBindingsPOSIXError2/main.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21ReturnCode(T, int) -> ReturnCode<T>;
22
23auto Open(std::string_view fileName)
24{
25 // #B Works without specifying a type
26 return ReturnCode{open(fileName.data()), errno};
27}
28
29int main()
30{

Callers 1

mainFunction · 0.70

Calls 2

dataMethod · 0.80
openFunction · 0.70

Tested by

no test coverage detected