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.
Source: Google Tech Talks
Poll: Does your project use terminating assertions in production?
-
I’m running this poll to gather data, both for myself and for other
interested C++ committee members. I’m curious to see what you all report!
Please let us...
2 days ago
No comments:
Post a Comment