[boost] iostreams::indirect_streambuf -> sync_impl returning integer?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[boost] iostreams::indirect_streambuf -> sync_impl returning integer?

Oliver.Kowalke-2
Hello,
wouldn't it be better if indirect_streambuf::sync_impl returns a
integer?
In device::write I want to indicate that no character can be written to
the external source via returning EOF (external device == socket -> peer
has closed socket) instead throwing an exception.

Regards,
Oliver

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost