Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ g
Function
g
tests/StructuredBindingsHandler3Test.cpp:23–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
}
22
23
constexpr int g() {
24
int *p = nullptr;
25
{
26
auto [a, b, c] = q;
27
p = &c;
28
}
29
return *p; // expected-note {{read of object outside its lifetime}}
30
}
31
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected