[Exceptional C++ Style] Item 13: A Pragmatic Lookat ExceptionSpecifications

Kevlin Henney kevlin at curbralan.com
Tue Dec 7 18:41:44 EST 2004


In message <00ef01c4dc64$6f443d80$6700a8c0 at myopwv.com>, Paul Grenyer 
<paul at paulgrenyer.co.uk> writes
 >
>> Also, there's experience that using exception specs is in general a bad
>idea - it exposes implementation detail
>> in the signature.
>
>Isn't that the same with const? Or even with a return value to a certain
>extent?

Only if you're doing it wrong ;->

Kevlin
-- 
____________________________________________________________

   Kevlin Henney                   phone:  +44 117 942 2990
   mailto:kevlin at curbralan.com     mobile: +44 7801 073 508
   http://www.curbralan.com        fax:    +44 870 052 2289
   Curbralan: Consultancy + Training + Development + Review
____________________________________________________________



More information about the Effective-cpp mailing list