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

Function main

12.12-constexprAllocation1/main.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

CreateCarFunction · 0.70
FastestCarFunction · 0.70

Tested by

no test coverage detected