by Bjarne Stroustrup
Getting initialization right is an important part of programming. Over the years, this ... all » has led to a mess of language facilities and techniques. This talk describes how C++0x (most likely) will address two issues: how to get a uniform syntax and semantics for all initialization and how to allow initialization by general lists. Obviously, people will want the solution to be really simple and completely compatible. As ever, the resolution is to be almost completely compatible and almost simple. This talk will describe sequence constructors, homogeneous and heterogeneous initializer lists, and (as far as time allows) fit generalized constant expressions, prevention of narrowing conversions, and variadic templates into this picture.
Speaking in Singapore (Thursday 20 November) and Sydney (Sunday 23 November)
-
In the next week, I will be giving talks on C++ reflection in Singapore
(Thursday night) and Sydney (Sunday night). If you’re local, please RSVP! I
look fo...
1 week ago


No comments:
Post a Comment