21 Apr
2009
21 Apr
'09
8:56 p.m.
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