Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
ReturnCode(T, int) -> ReturnCode<T>;
22
23
auto Open(std::string_view fileName)
24
{
25
// #B Works without specifying a type
26
return ReturnCode{open(fileName.data()), errno};
27
}
28
29
int main()
30
{
Callers
1
main
Function · 0.70
Calls
2
data
Method · 0.80
open
Function · 0.70
Tested by
no test coverage detected