| 3935 | cfile_streambuf(FILE* _sink) : sink(_sink) {} |
| 3936 | int_type underflow() override { return traits_type::eof(); } |
| 3937 | int_type overflow(int_type ch) override |
| 3938 | { |
| 3939 | if (traits_type::not_eof(ch) && fputc(ch, sink) != EOF) { |
| 3940 | return ch; |
| 3941 | } |
| 3942 | return traits_type::eof(); |
| 3943 | } |
| 3944 | |
| 3945 | std::streamsize xsputn(const char_type* s, std::streamsize count) override |
| 3946 | { |
nothing calls this directly
no outgoing calls
no test coverage detected