MCPcopy Create free account
hub / github.com/boostorg/asio / filter

Function filter

example/cpp11/executors/pipeline.cpp:254–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254void filter(queue_back<std::string> in, queue_front<std::string> out)
255{
256 std::string line;
257 while (in.pop(line))
258 if (line.length() > 5)
259 out.push(line);
260}
261
262void upper(queue_back<std::string> in, queue_front<std::string> out)
263{

Callers

nothing calls this directly

Calls 3

lengthMethod · 0.80
popMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected