|
Boost : |
From: Oliver.Kowalke_at_[hidden]
Date: 2006-01-30 06:37:35
Hallo,
how can I set failbit or badbit in boost::iostream::stream if I detect
some error in boost::iostream::device::read/write?
Is it possible without throwing exceptions?
Example: in the write method of a device which models a socket
connection an EPIPE error (peer has closed socket) was detected. How can
I set the boost::iostream::stream (which uses the device) to be not
useable?
Regards,
Oliver
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk