Loading…
CppCon 2016 has ended
Back To Schedule
Thursday, September 22 • 2:00pm - 3:00pm
Constant Fun

Log in to save this to your schedule, view media, leave feedback and see who's attending!

This presentation discusses why it is useful to move some of the processing to compile time and shows some applications of doing so. In particular it shows how to create associative containers created at compile time and what is needed from the types involved to make it possible. The presentation also does some analysis to estimate the costs in terms for compile-time and object file size.

Specifically, the presentation discusses:
- implications of static and dynamic initialization – the C++ language rules for implementing constexpr functions and classes supporting constexpr objects.
- differences in error handling with constant expressions.
- sorting sequences at compile time and the needed infrastructure – creating constant associative containers with compile-time and run-time look-up.


Speakers
avatar for Dietmar Kühl

Dietmar Kühl

Software Developer, Bloomberg LP
Dietmar Kühl is a senior software developer at Bloomberg L.P. working on the data distrubtion environment used both internally and by enterprise installations at clients. In the past, he has done mainly consulting for software projects in the finance area. He is a regular attendee... Read More →


Thursday September 22, 2016 2:00pm - 3:00pm PDT
Kantner (Room 403) Meydenbauer Center
  case study