Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4778
void stream_write(std::ofstream& s, std::vector<char> v) {
4779
if (v.empty()) {}
4780
s.write(v.data(), v.size());
4781
}
4782
4783
void stdstring()
4784
{
Callers
nothing calls this directly
Calls
4
empty
Method · 0.45
write
Method · 0.45
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected