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

Function upper

example/cpp11/executors/pipeline.cpp:262–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void upper(queue_back<std::string> in, queue_front<std::string> out)
263{
264 std::string line;
265 while (in.pop(line))
266 {
267 std::string new_line;
268 for (char c : line)
269 new_line.push_back(std::toupper(c));
270 out.push(new_line);
271 }
272}
273
274void writer(queue_back<std::string> in)
275{

Callers

nothing calls this directly

Calls 2

popMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected