boost::iostream - no way to set failbit or badbit in stream from device?
30 Jan
2006
30 Jan
'06
11:37 a.m.
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
6864
Age (days ago)
6864
Last active (days ago)
0 comments
1 participants
participants (1)
-
Oliver.Kowalke@infineon.com