C++ joining Java to get closures

Herb Sutter writes on C++ closures, which have been accepted as part of the next C++0x standard.  This means C++ is joining Java in supporting closures.  My first introduction to closures was Javascript, and I think it will be great for the other mainstream languages to support them.  Of course, it will probably be a few years until closures are widely used, as was the case for C++ and Java templates/generics.

If you are interested in more details, be sure to read the comments at the end of Herb's blog post — there's some good examples and discussion.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string ht5JWi to the field below: