|
05.21.09 Almost-Ready New C++ Standard Discussed By
Doug CaverlyHas 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.
|
|
| ||
|
-- CProgrammingTrends is an iEntry,
Inc. publication -- iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 2009 iEntry, Inc. All Rights Reserved Privacy Policy Legal archives | advertising info | news headlines | free newsletters | comments/feedback | submit article |