Boost Users :
Subject: Re: [Boost-users] boost exception tutorial
From: Dominique Devienne (ddevienne_at_[hidden])
Date: 2009-04-01 11:04:46
On Tue, Mar 31, 2009 at 5:25 PM, Emil Dotchevski
> 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:
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?
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net