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

Owner, Jason Turner
Host of C++Weekly https://www.youtube.com/c/JasonTurner-lefticus, Co-host of CppCast http://cppcast.com, Co-creator and maintainer of the embedded scripting language for C++, ChaiScript http://chaiscript.com, and author and curator of the forkable coding standards document http://cppbestpractices.com.I'm... Read More →

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