HOME SCALA & F# JAVA .NET WEB GROOVY & GRAILS ANDROID & IOS NOSQL ARCHITECTURE AGILE & SCRUM AGILE DEVELOPER  
ACCU 2011: Dietmar Kuehl on Generic Programming with C++ 0x
Generic Programming with C++ 0x

C++Ox provides several new featues which help with the use and implementation of generic components. Although the flagship feature (concepts) was withdrawn other still remain and this presentation describes some of the new features applicable in the generic area. In particular it coverss lambda functions, the new function declaration syntax, automatically deduced types, variadic templates, and initializer lists.

Writing code applicable in more than a specific situation requires the use of some form of genericity, especially in statically typed languages. When the actual types are known only at run-time, the use of virtual functions is the way to go. However, in many situations the actually involved types are known statically and using them directly makes generic components typically both easier to use and faster. The support for static polymorphism in C++2003 is lacking some features making it often quite hard to implement generic components as well as making their use unnecessary hard. In the upcoming C++0x several of the problems are addressed. This presentation will demonstrate the use of these features as they apply both to users as well as implementers of generic components. It will only discuss features already implemented in publically available compilers (in particular in gcc), i.e. this won't be a presentation about C++ language features hopefully appearing some time in the features but it will show how the language can be used right away. Although the main focus will be core language features, the presentation will use library components new in C++Ox where applicable.



ABOUT DIETMAR KUEHL
Dietmar Kuhl is a senior software developer at Bloomberg L.P. working on estimating future power use and carbon emissions. Before joining Bloomberg's energy team he worked on high throughput systems feeding exchange data into Bloomberg's internal sys
More about Dietmar Kuehl
PODCAST GENERIC PROGRAMMING WITH C 0X

This session took part at the ACCU 2011. You can view the other 14 podcasts here.
© Copyright 2003-2011, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Meeting & Training Rooms  Newsletter  Jobs: Sales Executive  Jobs: Student SkillsCaster  jobs - junior event coordinator  Speed Coding 2011  Open Source Journal  Ticket Raffle  Agile Expert Series  Jobs: Sponsorship Development  jobs: Marketing & Sales Graduate Internship