[Exceptional C++ Style] Item 13: A Pragmatic Look at Exceptio nSpecifications

David Sykes d.sykes at pindar.com
Tue Dec 7 06:59:49 EST 2004


> Yes, but I certainly don't see that as a problem with const. 

It can sometimes feel like a problem when you think slipping a little const
function into legacy code will only take a minute... ;)

> void MyFunc() throw()
> {
>     try
>     {
>           std::cout << "Hello, World!" << std::endl;
>     }
>     catch( ... )
>     {
>         ...
>      }
> }
> 

Yes, that would do it

David Sykes
[ *** LongSig auto truncated *** ]

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
---



More information about the Effective-cpp mailing list