
14 Nov
2006
14 Nov
'06
6:46 p.m.
"Emil Dotchevski" <emildotchevski@hotmail.com> writes:
David Abrahams wrote:
The first example uses "error_info_value" without qualification. You need to test your examples.
In the examples in the documentation, only "exception" is qualified, to differentiate between boost::exception and std::exception. The examples are easier to read and understand without boost:: sprinkled all over.
In my opinion they're not. I think the idea that leaving out qualification clarifies code is a common misconception.
As for testing, I tried to compile the first example, the compiler choked on the "...." and I gave up. :)
??! -- Dave Abrahams Boost Consulting www.boost-consulting.com