filmov
tv
CppCon 2018: Nicolai Josuttis “The Nightmare of Initialization in C++”
Показать описание
—
—
After introducing uniform initialization with C++11, there are at least 5 ways in C++ to initialize an object.
Each have them has different rules, different effects, and different usage depending on the context and goals.
The situation is so confusing that today nobody can tell anymore which type of initialization to teach to beginners.
That's nothing but a disaster.
This talk will discuss the different forms of initialization, compare them to know when to use which, discuss what changed with C++14 and C++17 and what still has to change, and finally what to teach now to beginners.
I promise a source of trouble and discussion.
—
Nicolai Josuttis
IT Communication
—
*-----*
*-----*
—
After introducing uniform initialization with C++11, there are at least 5 ways in C++ to initialize an object.
Each have them has different rules, different effects, and different usage depending on the context and goals.
The situation is so confusing that today nobody can tell anymore which type of initialization to teach to beginners.
That's nothing but a disaster.
This talk will discuss the different forms of initialization, compare them to know when to use which, discuss what changed with C++14 and C++17 and what still has to change, and finally what to teach now to beginners.
I promise a source of trouble and discussion.
—
Nicolai Josuttis
IT Communication
—
*-----*
*-----*
CppCon 2018: Nicolai Josuttis “The Nightmare of Initialization in C++”
C++ : CppCon 2018, Nicolai Josuttis: Why are these interpreted as iterators?
CppCon 2017: Nicolai Josuttis “The Nightmare of Move Semantics for Trivial Classes”
Back to Basics: Move Semantics - Nicolai Josuttis - CppCon 2021
CppCon 2017: Nicolai Josuttis “C++ Templates Revised”
50 shades of C++ - Nicolai Josuttis - Meeting C++ 2018 Closing Keynote
CppCon 2018: Richard Powell “Named Arguments from Scratch”
C++ Templates Revised - Nicolai Josuttis [ACCU 2018]
CppCon 2018: Jon Cohen & Matt Kulukundis “Touring the Tips of the Week Series”
CoreHard Spring 2018. Nicolai Josuttis. Beware of C++17
The Nightmare of Move Semantics for Trivial C++ Classes - Nicolai Josuttis
Nicolai Josuttis — C++17 — the biggest traps
CppCon 2018: “Grill the Committee”
CppCon 2018: “Secure Coding Best Practices: Your First Line Is The Last Line Of Defense (1 of 2)”...
CppCon 2018: Andrei Alexandrescu “Expect the expected”
C++17 - The Best Features - Nicolai Josuttis [ACCU 2018]
CppCon 2018: Stoyan Nikolov “OOP Is Dead, Long Live Data-oriented Design”
Belle Views on C++ Ranges, their Details and the Devil - Nico Josuttis - Keynote Meeting C++ 2022
CppCon 2018: “The Landscape and Exciting New Future of Safe Reclamation for High Performance”
When C++ Style Guides Contradict - Nicolai Josuttis - CppCon 2019
Talks and Highlights From CppCon 2018!
CppCon 2018: William Clements “Save $$ Testing Code the Playback-Based Way”
CppCon 2018: Alan Talbot “Moving Faster: Everyday efficiency in modern C++”
CppCon 2018: Titus Winters “Modern C++ Design (part 1 of 2)”
Комментарии