C++Now 2015 has ended
Please visit the C++Now website.
Back To Schedule
Tuesday, May 12 • 4:30pm - 6:00pm
constexpr: C++ At Compile Time

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

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.


avatar for Scott Schurr

Scott Schurr

Staff Software Engineer, Ripple
If you ask his children, they will tell you that Scott has been writing software since dinosaurs roamed the earth. In 1996 Scott learned C++ by working through the exercises in Stroustrup's TC++PL 2nd edition and he has never looked back. Scott is currently working at Ripple Labs... Read More →

Tuesday May 12, 2015 4:30pm - 6:00pm MDT
Flug Auditorium

Attendees (0)