MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / main

Function main

12.14-constexprAllocation2/main.cpp:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49int main()
50{
51 auto c = CreateCar(1);
52
53 constexpr auto f = FastestCar();
54
55 static_assert(f == 2);
56}
57#else
58int main()
59{

Callers

nothing calls this directly

Calls 2

CreateCarFunction · 0.70
FastestCarFunction · 0.70

Tested by

no test coverage detected