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

Method StdIStream

externals/simplecpp/simplecpp.cpp:358–362  ·  view source on GitHub ↗

cppcheck-suppress uninitDerivedMemberVar - we call Stream::init() to initialize the private members

Source from the content-addressed store, hash-verified

356 public:
357 // cppcheck-suppress uninitDerivedMemberVar - we call Stream::init() to initialize the private members
358 explicit StdIStream(std::istream &istr)
359 : istr(istr) {
360 assert(istr.good());
361 init();
362 }
363
364 int get() override {
365 return istr.get();

Callers

nothing calls this directly

Calls 1

goodMethod · 0.45

Tested by

no test coverage detected