Boost logo

Boost Users :

From: Oliver.Kowalke_at_[hidden]
Date: 2006-01-30 06:37:35

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


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at