C++0x Initialization Lists

Posted in Conferences, Companies, Development on March 02, 2007

C++0x Initialization Lists
Google Tech Talks
February 21, 2007


Getting initialization right is an important part of programming. Over the years, this 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.

Watch Video

Tags: Techtalks, Google, Conferences, Lectures, C and C++, Broadcasting, Development, Companies