cppcheck-suppress uninitDerivedMemberVar - we call Stream::init() to initialize the private members
| 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(); |