filmov
tv
C++Now 2018: Jason Turner “Initializer Lists Are Broken, Let's Fix Them”
Показать описание
—
—
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
I'm available for contracting and onsite training.
—
---
*--*
---
—
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
I'm available for contracting and onsite training.
—
---
*--*
---
C++Now 2018: Jason Turner “Initializer Lists Are Broken, Let's Fix Them”
CppCon 2018: Jason Turner “Applied Best Practices”
CppCon 2018: Jason Turner “Surprises in Object Lifetime”
C++ Weekly - Ep 141 - C++20's Designated Initializers And Lambdas
C++ Weekly - Ep 33 - Start Using Default Member Initializers
C++ Weekly - Ep 127 - C++20's Designated Initializers
C++ Weekly - Ep 125 - The Optimal Way To Return From A Function
C++ Weekly - Ep 385 - The Important Parts of C++20 In Less Than 8 Minutes!
C++ Weekly - Ep 34 - Reading Assembly Language - Part 1
CppCon 2016: Jason Turner “Practical Performance Practices'
Jason Turner: Practical Performance Practices
C++ Weekly - Ep 134 - The Best Possible Way To Create A Visitor?
C++ Weekly - Ep 75 - Why You Cannot Move From Const
C++ Weekly - Ep 257 - Garbage In, Garbage Out - Why Initialization Matters
C++ Weekly - Ep 197 - 25 Years of Best Practices
Practical C++17 - Jason Turner - Meeting C++ 2017
Jason Turner: IIFE in C++ for Performance and Safety
The Worst Best Practices - Jason Turner - [CppNow 2021]
C++ Weekly - Ep 1 ChaiScript_Parser Initialization Refactor
C++Now 2017: Jason Turner '(Ab)using C++17'
CppCon 2019: Jason Turner “The Best Parts of C++'
C++ Weekly - Ep 122 - `constexpr` With `optional` And `variant`
C++ Weekly - Ep 99 - C++ 20's Default Bit-field Member Initializers
C++ Weekly - Ep 24 C++17's Structured Bindings
Комментарии