MCPcopy Create free account
hub / github.com/pybind/pybind11 / noisy_function

Function noisy_function

tests/test_iostream.cpp:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#include <thread>
19
20void noisy_function(const std::string &msg, bool flush) {
21
22 std::cout << msg;
23 if (flush) {
24 std::cout << std::flush;
25 }
26}
27
28void noisy_funct_dual(const std::string &msg, const std::string &emsg) {
29 std::cout << msg;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected