Re: Exception Specifications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Perry Smith <pedz@xxxxxxxxxxxxxxxx> writes:

> I believe I saw in some of the boost libraries that they do not use
> exception specifications because some compilers produce slower code.

Adding an exception specification to a function declaration (e.g.,
throw()) should not cause gcc to generate slower code.  In a few cases
it will actually permit gcc to generate faster code.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux