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

Function fooGood

tests/Issue1.cpp:4–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3template<typename T> T foo() {return T(42); }
4template<typename T> T fooGood() {return T{42}; }
5
6int a = foo<int>();
7int b = fooGood<int>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected