|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2000-12-01 14:13:20
----- Original Message -----
From: "Ed Brey" <brey_at_[hidden]>
> I also have a semi-nit: The long list of catches for classes deriving from
> std::exception, could be replaced by:
> catch ( const std::exception & ex )
> { std::cout << typeid(ex).name() << ": " << ex.what() << std::endl; }
That's doesn't give you portably readable output. Some compilers (e.g. gcc)
don't produce human-readable typeid(T).name() results.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk