Subject: Re: [boost] program options (consider using BOOST_THROW_EXCEPTION)
From: Alex Perry (Alex.Perry_at_[hidden])
Date: 2012-06-27 08:14:43


Vladimir Prus on 27 June 2012 10:41 wrote :

> What practical value would source location somewhere in any.hpp give you?
>
>- Volodya

Minor value I admit - but as I think someone mentioned earlier - its very easy to move to this throw site after catching the exception in application code and then can add a breakpoint and rerun.

Then can explore the problem in the "correct context" of the code - stepping through all the library code whilst obviously possible can just take a long time - particularly as the code organisation in the library (for sensible reasons) will be more complex than I really want to know about as a user - being able to start at the correct "implementatioin/detail" level with (hopefully) the code which was complaining about the input nearby does help.

Alex