Scott Schurr: constexpr: C++ At Compile Time
Channel: CppNow
Date: 16/02/2016

I'm excited about constexpr. It's probably my favorite C++11 feature, and it has become even better with C++14. But when I talk to other developers about constexpr they seem puzzled. What sorts of useful computations can the compiler possibly do before runtime?

I'd like to take this session to explore some of the capabilities that constexpr brings to the table. We'll be looking at compile-time parsing, floating-point computations, containers, and maybe even explore what it would take to make a compile-time std::string. We'll also look at a possible way to work around one of constexpr's limitations.

Slides here: https://github.com/boostcon/cppnow_presentations_2015/raw/master/files/CppNow2015_ConstexprSlides.pdf
---

*--*

---