CppCast cover image

C++ Game Development at Blizzard

CppCast

00:00

The Future of Constexpr

In C++ 14, we've got generalized constexpr. We still can't fiddle with the innards of floating point representations or anything like that. But at least you get more than one expression per function body. You can write things in a more or less runtime efficient way. And with 17, we get more yet. In theory, we I think could have had before in the same way that we really could have made. The new syntax makes them that much easier to use and therefore that much more widespread.

Play episode from 40:38
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app