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

Method speed

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

Source from the content-addressed store, hash-verified

19};
20struct Tesla : Car {
21 constexpr int speed() const override { return 9; }
22};
23
24constexpr std::unique_ptr<Car> CreateCar(int i)

Callers 1

FastestCarFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected