MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / B

Class B

base_code/explicit.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14};
15
16struct B
17{
18 explicit B(int) {}
19 explicit operator bool() const {
20 return true;
21 }
22};
23
24void doA(A a) {}
25

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected