AMDG
It fails because char_array_buffer doesn't meet the requirements of boost::iostreams::stream.
T - A CopyConstructible model of one of the Device concepts
http://www.boost.org/doc/libs/1_60_0/libs/iostreams/doc/guide/generic_stream...
In particular, it is not CopyConstructible. Hi Steven, Thanks. I tried a deceleration of every kind of constructor. It may be
Steven Watanabe wrote:
that I hit that because somewhere I could not resolve where my class
gets cast to constant when trying to use my own streambuf rather than a
device:
c:\cpp\boost_1_60\modular-boost\boost\iostreams\detail\adapter\concept_adapter.hpp(68):
error C2440: 'initializing': cannot convert from 'const
rtf::rtf_stream_buffer