ISO C++ Standard meeting (Bellevue USA)
On February 24 to March 1 (2008) the ISO C++ Standards committee met in Bellevue, WA USA. These are the approved additions to the standard from that meeting.
Lambda functions and closures
Yes it’s true lambda functions and closures was voted into C++0x. Even if C++ has supported lambda function indirect through function objects, writing code at the point where is being used is much more convenient that writing in somewhere far away. It does also make it much easier to write concurrent code pieces that can be passed around to worker threads.
Read more about all the feature and syntax in the paper N2550.
Approved features
- N2550 Lambda functions and closures.
- N2535 Namespace associations.
- N2540 Inheriting constructors.
- N2541 New function declarator syntax.
- N2543 STL singly linked list (forward_list)
- N2544 Unrestricted unions
- N2546 Removal of auto as a storage-class specifier
- N2551 Variadic template versions of std::min, std::max, and std::minmax
- N2554 Scoped allocator model
- N2525 Allocator-specific swap and move behavior
- N2547 Allow lock-free atomic in signal handlers
- N2555 Extended variadic template template parameters
- N2559 Nesting exceptions (aka wrapped exceptions)
I failed to make myself understood
I failed to make myself understood. Some times there are things in my head that is so purely what they are, that when I try turning them into words I joust don’t know how. You can’t imagine how hard that is, to have an idea and not be able to share it.
