|
Boost : |
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2006-07-05 16:32:28
On 7/6/06, Oleg Abrosimov <beholder_at_[hidden]> wrote:
> me22 wrote:
> > What about something along the lines of throw after<read_error>(); or
> > throw because_of<read_error>();, if you want the readability? Or
> > perhaps throw annotated<read_error>();?
>
>
> boost::throw_<read_error>();
>
> It would be clearly seen in code and understandable.
>
+1 for boost::throw_<> ();
-- Dean Michael C. Berris C/C++ Software Architect Orange and Bronze Software Labs http://3w-agility.blogspot.com/ http://cplusplus-soup.blogspot.com/ Mobile: +639287291459 Email: dean [at] orangeandbronze [dot] com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk