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

Method Wrapper

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

Source from the content-addressed store, hash-verified

16struct Wrapper {
17 template<typename U>
18 explicit(not std::is_convertible_v<U, T>) Wrapper(const U&) {}
19};
20
21void Fun(Wrapper<A> a); // #A Takes Wrapper<A> now

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected