File multiostream.hxx#
-
template<typename char_type, typename traits = std::char_traits<char_type>>
class multioutbuf : public std::basic_streambuf<char_type, std::char_traits<char_type>># - #include <multiostream.hxx>
Template class to split streams.
from http://accu.org/index.php/journals/260
Public Functions
Protected Functions
-
inline int overflow(int c) override#
Private Members
-
stream_container streams_#
-
inline int overflow(int c) override#
-
template<typename char_type, typename traits>
class multioutbuf_init# Subclassed by Output, multiostream< char_type, traits >
Public Functions
-
inline multioutbuf<char_type, traits> *buf()#
Private Members
-
multioutbuf<char_type, traits> buf_#
-
inline multioutbuf<char_type, traits> *buf()#
-
template<typename char_type, typename traits = std::char_traits<char_type>>
class multiostream : private multioutbuf_init<char_type, std::char_traits<char_type>>, public std::basic_ostream<char_type, std::char_traits<char_type>># Public Functions
-
inline multiostream()#
Private Types
-
using multioutbuf_init = ::multioutbuf_init<char_type, traits>#
-
inline multiostream()#