Submit Your Site For Free!

Email Address:
* URL:
*
*Indicates Mandatory Field

Terms & Conditions

CProgramTrends
FlashNewz
DevWebPro








Almost-Ready New C++ Standard Discussed

By Doug Caverly
Staff Writer
Article Date: 2009-05-21

Has anyone else noticed how many of the movies released recently revolve around the future? "Star Trek," "Terminator," perhaps "Wolverine" considering some of the technology on display . . . . So, in keeping with that trend, we're going to look at C++0x - the not-yet-released C++ standard - today.

Verity Stob wrote a pseudo-interview for The Register as a way of discussing the standard. Rather far along in the piece, she hit upon a laundry list of rather technical points that may be of special interest.

Stob wrote, "You can stick in lambda functions anywhere you want, so that the appalling for_each template and its brethren suddenly become usable . . . complete with a wonderful [square bracket] syntax for deciding which bits of local state will arise from the undead when the thing is called. . . . And you can make for loops in a style I last saw in CORAL 66, where one provides the list of values the loop variable takes. One, two, miss out three, five, six, now do four."

Also, "[T]here are heaps of Boost library functions (of course), a scary new template programming concept called, um, 'concepts', a scary new template programming thing called 'variadic templates', constructors calling constructors, more fruitful unions . . ."

On the whole, then, it sounds as if C++0x will present itself with a serious learning curve, but with that will hopefully come some big rewards.

About the Author:
Doug is a staff writer for WebProNews. Visit WebProNews for the latest eBusiness news.



Newsletter Archive | Article Archive | Submit Article | Advertising Information | About Us | Contact

C Programming Trends is an iEntry, Inc. ® publication - All Rights Reserved Privacy Policy and Legal