Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ Air
Method
Air
12.25-constexprStaticInitFiasco2/main.cpp:7–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
6
struct Air {
7
constexpr Air(int amount)
8
: _amount{amount}
9
{}
10
11
void Consume(int v) { _amount -= v; }
12
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected