Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
auto 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
25
int main()
26
{
Callers
1
main
Function · 0.70
Calls
2
data
Method · 0.80
open
Function · 0.70
Tested by
no test coverage detected