Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ Human
Method
Human
12.25-constexprStaticInitFiasco2/main.cpp:26–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
Air air{9}; // #A Create global air object
25
26
Human::Human(int breath)
27
{
28
air.Consume(breath); // #C Depends on air
29
}
30
31
void Show()
32
{
Callers
nothing calls this directly
Calls
1
Consume
Method · 0.45
Tested by
no test coverage detected