[#BloombergLP-bdlsb-OverflowMemOutStreamBuf-overflow] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/OverflowMemOutStreamBuf.adoc[OverflowMemOutStreamBuf]::overflow :relfileprefix: ../../../ :mrdocs: Put `c` at the next put position, growing the buffer if needed. == Synopsis Declared in `<bdlsb_overflowmemoutstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual int_type overflow(int_type c = bsl::streambuf::traits_type::eof()) override; ---- == Description If c is not `EOF`, adjust the underlying buffer so that the next put position is valid, put the specified `c` at this position, and increment the put position. Return `c` on success, and `traits_type::not_eof(c)` if `c` is `EOF`. == Return Value `c` on success, or `traits_type::not_eof(c)` if `c` is `EOF` == Parameters [cols="1,4"] |=== | Name| Description | *c* | character to put, or `EOF` to grow without writing |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#