11template <
class _CharT,
class _Traits>
15 struct C_OMemBuf: std::basic_streambuf<_CharT,_Traits>
18 { this->setp(buffer, buffer+size); }
20 { this->setp(buffer.begin(), buffer.end()); }
28template <
class _CharT,
class _Traits =std::
char_traits<_CharT>>
31 public std::basic_ostream<_CharT,_Traits>
38 std::basic_ostream<_CharT,_Traits>(&this->
m_Buffer)
42 std::basic_ostream<_CharT,_Traits>(&this->
m_Buffer)
C_OMemStreamT(_CharT *buffer, size_t size)
C_OMemStreamT(std::span< _CharT > buffer)
THE common namespace of bux library.
C_OMemBuf(std::span< _CharT > buffer)
C_OMemBuf(_CharT *buffer, size_t size)
C_OMemBufAsMemberT(std::span< _CharT > buffer)
C_OMemBufAsMemberT(_CharT *buffer, size_t size)
bux::C_OMemBufAsMemberT::C_OMemBuf m_Buffer