Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuEST-Kit/QuEST
/ getGeneratorElems
Function
getGeneratorElems
tests/utils/lists.cpp:37–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
36
37
vector<int> getGeneratorElems(GeneratorWrapper<int>& gen) {
38
39
vector<int> list;
40
do { list.push_back(gen.get()); } while (gen.next());
41
42
return list;
43
}
44
45
46
Callers
nothing calls this directly
Calls
1
next
Method · 0.45
Tested by
no test coverage detected