Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ seq
Function
seq
tests/EduCoroutineCaptureConstTest.cpp:35–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
34
35
generator seq(const int& start) {
36
struct S { int t; char c; };
37
38
const S s{}; // this will fail to compile in the transformation
39
40
co_return s.t;
41
}
42
43
int main() {
44
auto s = seq(3);
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected