MCPcopy Create free account
hub / github.com/3rdparty/libprocess / foreach

Function foreach

src/tests/collect_tests.cpp:197–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 // future list that was passed in.
196 int i = 1;
197 foreach (const Future<int>& result, future.get()) {
198 ASSERT_TRUE(result.isReady());
199 ASSERT_EQ(i, result.get());
200 ++i;
201 }
202}
203
204

Callers

nothing calls this directly

Calls 2

isReadyMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected