C++Now 2018 has ended
Back To Schedule
Wednesday, May 9 • 2:30pm - 4:00pm
Initializer Lists Are Broken, Let's Fix Them

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

Feedback form is now closed.
C++11's initializer_list objects are flawed in ways that prevent them from being used in some contexts and used efficiently in other contexts. They allow you to create dangling references that most compilers and static analysis tools are unable to track. Specific examples, benchmarks, and quotes from the standard will illustrate these problems and how they are mandated. Will it be possible to address these issues with library changes or do we need to make a change to the standard? We will attempt to come to a consensus as a group.

avatar for Jason Turner

Jason Turner

Trainer/Speaker/YouTuber, 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!

Wednesday May 9, 2018 2:30pm - 4:00pm MDT