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

Method speed

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

Source from the content-addressed store, hash-verified

17};
18struct Tesla : Car {
19 constexpr int speed() const override { return 9; }
20};
21
22// #C A factory function to create a car

Callers 1

FastestCarFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected