Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ main
Function
main
tests/ImplicitCast2Test.cpp:7–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
struct A { operator int() { return 2;} };
6
7
int main()
8
{
9
float f = 1.0f;
10
11
FloatingCast(f);
12
13
int i = 1;
14
IntegralToBoolean(i);
15
16
int ii = int(A());
17
}
Callers
nothing calls this directly
Calls
3
FloatingCast
Function · 0.85
IntegralToBoolean
Function · 0.85
A
Class · 0.70
Tested by
no test coverage detected