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

Function upper

example/cpp14/executors/pipeline.cpp:254–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254void upper(queue_back<std::string> in, queue_front<std::string> out)
255{
256 std::string line;
257 while (in.pop(line))
258 {
259 std::string new_line;
260 for (char c : line)
261 new_line.push_back(std::toupper(c));
262 out.push(new_line);
263 }
264}
265
266void writer(queue_back<std::string> in)
267{

Callers

nothing calls this directly

Calls 2

popMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected