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

Method ~Car

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

#A Base class for all cars

Source from the content-addressed store, hash-verified

5
6struct Car { // #A Base class for all cars
7 virtual ~Car() = default;
8 constexpr virtual int speed() const = 0;
9};
10

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected