21 Apr
2009
21 Apr
'09
8:55 p.m.
On Wed, Apr 22, 2009 at 4:16 AM, Joseph Garvin
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.
Read this guideline documentation for the rationale: http://www.boost.org/development/requirements.html#Exception-specification Regards, Eugene Wee