http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60711

--- Comment #9 from Jim Michaels <jmichae3 at yahoo dot com> ---
it appears from 
    protected:
      /**
       *  @brief  Base constructor.
       *
       *  Only called from derived constructors, and sets up all the
       *  buffer data to zero, including the pointers described in the
       *  basic_streambuf class description.  Note that, as a result,
       *  - the class starts with no read nor write positions available,
       *  - this is not an error
      */
      basic_streambuf()
      : _M_in_beg(0), _M_in_cur(0), _M_in_end(0),
      _M_out_beg(0), _M_out_cur(0), _M_out_end(0),
      _M_buf_locale(locale())
      { }

that the streambuf class must be derived from to be used. it doesn't have the
kind of constructor I had hoped. I see no examples anywhere on how to use
streambuf. and I have not done c++ at this level, so I am thinking about giving
up, at least for now. and stackoverflow.com is copyrighted.

why is it SO DIFFICULT to do this?
everyone wants to do unicode streams. I can't do graphic block shade characters
without this (what's shown in the code) for graphs and TUIs.

Reply via email to