
24 Jan
2010
24 Jan
'10
7:47 p.m.
On Sun, Jan 24, 2010 at 9:43 AM, Igor R
const boost::function
SerialInterface::ON_TIMEOUT(if_then(_1 != error::operation_aborted, throw_exception(bind(constructor< SerialInterfaceTimeoutException> ())))); // ... void SerialInterface::read(void *buf, size_t size) throw(SerialInterfaceTimeoutException) { By the way, use exception specifications carefully: http://www.gotw.ca/gotw/082.htm
This advice should be more like "don't ever use exception specifications." :) Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode