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

Function Test

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

Source from the content-addressed store, hash-verified

2
3template <typename T>
4void Test(){
5 typedef std::chrono::duration<double, std::ratio<60>> simple;
6 typedef std::chrono::duration<double, std::ratio<60*60*24*365>> withCalculation; // contains an implicit cast in the template definition
7}
8
9
10int main()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected