Boost logo

Boost Users :

From: eg (egoots_at_[hidden])
Date: 2008-06-24 14:08:54


Melville, Ryan wrote:
>
>
>
> It seems that boost::iostreams::copy() closes its Source and Sink input
> parameters once it completes its copy. This seems to be a problem for
> us because copy() is not the last thing we want to do with our Sinks; we
> copy() into them but then also put more stuff in them (which now
> fails). This seems like a natural use case to me…
>
>
>
> Does anyone know why boost::iostreams::copy() feels the need to close
> the Source and Sink passed to it? It seems to me that it should not.
> The caller may or may not want them closed after the copy() and this
> behavior precludes using copy() as anything other than the last thing
> you want to do with a Sink.
>

Could it be related to:

http://article.gmane.org/gmane.comp.lib.boost.user/33330

which was addressed in:

http://svn.boost.org/trac/boost/ticket/1624


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net