MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / stream_write

Function stream_write

test/cfg/std.cpp:4778–4781  ·  view source on GitHub ↗

cppcheck-suppress passedByValue

Source from the content-addressed store, hash-verified

4776
4777// cppcheck-suppress passedByValue
4778void stream_write(std::ofstream& s, std::vector<char> v) {
4779 if (v.empty()) {}
4780 s.write(v.data(), v.size());
4781}
4782
4783void stdstring()
4784{

Callers

nothing calls this directly

Calls 4

emptyMethod · 0.45
writeMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected