3 ms·
Many new features in GCC 4.6
- mayank 16y agoSome interesting optimizations in the changelog, like the -Ofast optimization switch that rolls up -O3 and other non-standards-compliant optimizations: http://gcc.gnu.org/gcc-4.6/changes.html http://gcc.gnu.org/gcc-4.6/changes.html And a switch to dump stack usage: A new switch -fstack-usage has been added. It makes the compiler output stack usage information for the program, on a per-function basis, in an auxiliary file. But I was more excited to hear that the C++0x standard is finally going to include a foreach structure: http://en.wikipedia.org/wiki/C%2B%2B0x#Range-based_for-loop http://en.wikipedia.org/wiki/C%2B%2B0x#Range-based_for-loop And lambda functions too? Never thought I'd see the day. http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_expressions http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_...