MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / Use

Function Use

tests/conditionalExplicitTest.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21void Fun(Wrapper<A> a); // #A Takes Wrapper<A> now
22
23void Use()
24{
25 Fun(A{});
26 Fun(static_cast<A>(B{})); // #B Does compile!
27 Fun(C{}); // #B Does compile!
28}
29
30void Fun(Wrapper<A> a) {}
31

Callers 1

mainFunction · 0.85

Calls 1

FunFunction · 0.70

Tested by

no test coverage detected