
On Tue, Mar 31, 2009 at 5:25 PM, Emil Dotchevski <emildotchevski@gmail.com> wrote:
I added a Motivation page and a few other tweaks in the documentation. It'll be out with the 1.39 release but can be viewed right away through this link: http://svn.boost.org/svn/boost/trunk/libs/exception/doc/motivation.html
Thanks for that Emil, it's helpful to me too. Something that confuses me a little in the exception documentation is the struct tag used when typedef'ing error_info<>. It's unclear if these tags are coming from boost exception headers, std headers (like the in the case below) or if these must be explicitly defined by the user, or if the simple fact that of using them in the typedef is enough to declare them. typedef boost::error_info<struct tag_std_range_min,size_t> std_range_min; So the above is equivalent to the below? struct tag_std_range_min; typedef boost::error_info<tag_std_range_min,size_t> std_range_min; It may not be obvious to everyone ;-) Wasn't to me at first. Thanks, --DD