Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ ~Car
Method
~Car
12.10-constexprAllocation0/main.cpp:5–5 ·
view source on GitHub ↗
#A Base class for all cars
Source
from the content-addressed store, hash-verified
3
4
struct Car { // #A Base class for all cars
5
virtual ~Car() = default;
6
virtual int speed() const = 0;
7
};
8
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected