Attending this event?
View analytic
Thursday, September 27 • 16:45 - 17:45
Initialization, Shutdown, and constexpr

Sign up or log in to save this to your schedule and see who's attending!

It's easy to create an access a global object in C++, but doing so correctly and safely is unfortunately a bit tricky. But why?

This talk will take a close look at the various rules that govern when an object is safe to access, including storage duration, object lifetime, initialization, and program termination. We'll look at some safe idioms for creating global singletons that are justified by these rules. And we'll look at the relevant, helpful features added in various revisions of C++, such as constexpr constructors, and how they make the situation better.


Gregory Falcon

Staff Software Engineer, Google
Greg Falcon is a Staff Software Engineer at Google, working on the Abseil C++ library.

Thursday September 27, 2018 16:45 - 17:45

Attendees (39)