Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dobiasd/FunctionalPlus
/ IntToFloat
Function
IntToFloat
test/maybe_test.cpp:21–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
};
20
21
float IntToFloat(const int& x)
22
{
23
return static_cast<float>(x);
24
}
25
26
typedef std::vector<fplus::maybe<int>> IntMaybes;
27
typedef std::vector<int> Ints;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected