25#ifndef __JOIN_STREAMBUF_HPP__
26#define __JOIN_STREAMBUF_HPP__
69 :
std::streambuf (
std::move (other)),
73 other._innerbuf =
nullptr;
84 std::streambuf::operator= (std::move (other));
87 other._innerbuf =
nullptr;
stream buffer decorator.
Definition streambuf.hpp:38
virtual ~StreambufDecorator()
destroy the stream buffer decorator instance.
Definition streambuf.hpp:95
StreambufDecorator(StreambufDecorator &&other)
move constructor.
Definition streambuf.hpp:68
bool _own
own inner stream buffer.
Definition streambuf.hpp:108
std::streambuf * _innerbuf
concrete stream buffer.
Definition streambuf.hpp:105
StreambufDecorator(const StreambufDecorator &other)=delete
copy constructor.
StreambufDecorator & operator=(const StreambufDecorator &other)=delete
copy assignment operator.
StreambufDecorator(std::streambuf *streambuf, bool own=false)
create the stream buffer decorator instance.
Definition streambuf.hpp:45
Definition acceptor.hpp:32