C++Now 2018: Jason Turner “Initializer Lists Are Broken, Let's Fix Them”

Опубликовано: 07 Октябрь 2024
на канале: CppNow
14,827
226

http://cppnow.org

Presentation Slides, PDFs, Source Code and other presenter materials are available at: http://cppnow.org/history/2018/talks/

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.

Jason Turner
Developer, Trainer, Speaker

Host of C++Weekly    / 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 available for contracting and onsite training.

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
---

*--*

---