BasicSystemOStreamWrapper

BasicSystemOStreamWrapper class

Represents a std::ostream-like wrapper that used BasicSystemIOStreamBuf as internal buffer.

template<typename Elem,typename Traits>class BasicSystemOStreamWrapper : public std::basic_ostream<Elem, std::char_traits<Elem>>

Methods

MethodDescription
void AssignRV(BasicSystemOStreamWrapper&&)Used in move constructor and move assignment operator to reset pointers and call swap().
BasicSystemOStreamWrapper(SharedPtr<Stream>, SystemIOStreamWrappingMode)Constructs a new instance of the BasicSystemOStreamWrapper.
BasicSystemOStreamWrapper(const BasicSystemOStreamWrapper&)Copy constructor. Deleted.
BasicSystemOStreamWrapper(BasicSystemOStreamWrapper&&)Move constructor.
BasicSystemOStreamWrapper& operator=(const BasicSystemOStreamWrapper&)Copy assignment operator. Deleted.
BasicSystemOStreamWrapper& operator=(BasicSystemOStreamWrapper&&)Move assignment operator.
void swap(BasicSystemOStreamWrapper&)Call to swap *this and right, if they are not equal.

Typedefs

TypedefDescription
char_type
traits_type
Mybase
Mysb

See Also