C++Now 2017 has ended
Back To Schedule
Tuesday, May 16 • 4:30pm - 6:00pm
constexpr ALL the things!

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

Feedback form is now closed.
Slides: https://github.com/boostcon/cppnow_presentations_2017/blob/master/05-16-2017_tuesday/constexpr_all_the_things__ben_deane_and_jason_turner__cppnow_05-16-2017.pdf
Video: https://www.youtube.com/watch?v=HMB9oXFobJc

constexpr: in C++11, a curiosity; in C++14, viable for more uses; now with added power, in C++17 will it become an important tool in the programmer’s toolkit?

In this talk we will examine the possibilities and power of constexpr and explore what can (and what should) be done at compile-time with C++17. We’ll present techniques for building constexpr data structures and algorithms, and for effectively meshing compile-time and runtime computation with constexpr API constructs. We’ll also consider the opportunities for judicious use of user defined literals for expressive compile-time abstractions.

Compile-time computation offers perhaps the ultimate zero-cost abstraction, and this talk attempts to answer the question of how C++17 delivers on the promise.

avatar for Ben Deane

Ben Deane

Ben was in the game industry for 23 years, at companies like EA and Blizzard. For the last couple of years he's been working in the finance industry at Quantlab. He's always looking for useful new techniques in C++, and he geeks out on algorithms, APIs, types and functional progr... Read More →
avatar for Jason Turner

Jason Turner

Owner, Jason Turner
Jason is host of the YouTube channel C++Weekly, co-host emeritus of the podcast CppCast, author of C++ Best Practices, and author of the first casual puzzle books designed to teach C++ fundamentals while having fun!

Tuesday May 16, 2017 4:30pm - 6:00pm MDT
Flug Auditorium