19class Buffer final :
public std::streambuf
22 enum class Type : std::uint8_t
37 int_type
overflow(
int c = std::char_traits<Term::Buffer::char_type>::eof())
override;
42 std::streambuf*
setbuf(
char* s, std::streamsize n)
override;
void setType(const Term::Buffer::Type &type)
Buffer & operator=(const Buffer &)=delete
Buffer(const Buffer &)=delete
Term::Buffer::Type m_type
int_type underflow() override
std::streambuf * setbuf(char *s, std::streamsize n) override
Buffer & operator=(Buffer &&)=delete
Buffer(const Term::Buffer::Type &type=Term::Buffer::Type::LineBuffered, const std::streamsize &size=BUFSIZ)
int_type overflow(int c=std::char_traits< Term::Buffer::char_type >::eof()) override