Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ f
Function
f
tests/p1143Test.cpp:4–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
// example taken from the standard
3
const char *g() { return
"dynamic initialization"
; }
4
constexpr const char *f(bool p) { return p ?
"constant initializer"
: g(); }
5
6
7
constinit const char *c = f(true); // OK.
Callers
1
p1143Test.cpp
File · 0.70
Calls
1
g
Function · 0.70
Tested by
no test coverage detected