Hinweis: Die aktuelle OOP-Konferenz finden Sie hier!
SIGS DATACOM Fachinformationen für IT-Professionals


The Conference for Software Architectures

Munich, 01 - 05 February 2016


Talk: Nmo 3
Date: Mon, 01.02.2016
Time: 18:30 - 20:00

Compile-time Computations in C++14

Time: 18:30 - 20:00
Talk: Nmo 3


C++03 provides compile-time computation only clumsily using macros or templates. C++11 added constexpr to allow computing functions and constants at compile time. There is the new category of „Literal Types“ that can be used in such compile-time computations. C++14 further relaxed the restrictions on constexpr functions to allow all reasonable statements at compile time. Peter Sommerlad demonstrates C++14 features with examples of compile-time computation, such as variadic and variable templates and shows its limitations.

Target Audience: Developers
Prerequisites: C++ knowledge
Level: Practicing

You will learn:

  • Features of modern standard C++ and C++ IDEs
  • Also shows other C++11/14 features on the fly