MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / overflow

Method overflow

src/backward.h:3937–3943  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected