|
Boost Users : |
Subject: Re: [Boost-users] Why doesn't boost use empty throws() list?
From: Nikolai N Fetissov (nikolai-boost_at_[hidden])
Date: 2009-04-21 16:56:56
> For example, all the smart pointer headers have:
>
> // never throws
>
> Next to their definitions, rather than an actual "throws()". I'd guess
> this has to do with compiler compatibility, but there are already
> plenty of macro hacks for enabling/disabling details like this on a
> compiler by compiler basis.
>
> Just curious.
Here's a good explanation from H. Sutter:
http://www.gotw.ca/publications/mill22.htm
Cheers,
-- Nikolai
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