filmov
tv
Back to Basics: Cpp Value Semantics - Klaus Iglberger - CppCon 2022
Показать описание
---
Back to Basics: C++ Value Semantics - Klaus Iglberger - CppCon 2022
Modern C++ is more than new standards or an assortment of new features. Modern C++ is about a philosophy on how to use the language. An integral part of this philosophy is value semantics: preferring values and value-like types instead of pointers and references.
This talk explains the rational of this philosophy. It demonstrates the benefits of several value types from the standard library, such as std::optional, std::function and std::variant, and the drawbacks of several reference types, such as std::string_view and std::span. It also goes into detail about the most common questions about value semantics, as for instance how to properly use reference types and whether we should stop using reference parameters.
---
Klaus Iglberger
__
#cppcon #programming #cpp
Back to Basics: C++ Value Semantics - Klaus Iglberger - CppCon 2022
Modern C++ is more than new standards or an assortment of new features. Modern C++ is about a philosophy on how to use the language. An integral part of this philosophy is value semantics: preferring values and value-like types instead of pointers and references.
This talk explains the rational of this philosophy. It demonstrates the benefits of several value types from the standard library, such as std::optional, std::function and std::variant, and the drawbacks of several reference types, such as std::string_view and std::span. It also goes into detail about the most common questions about value semantics, as for instance how to properly use reference types and whether we should stop using reference parameters.
---
Klaus Iglberger
__
#cppcon #programming #cpp
Back to Basics: Cpp Value Semantics - Klaus Iglberger - CppCon 2022
Back To Basics: C++ Containers
CppCon 2014: Herb Sutter 'Back to the Basics! Essentials of Modern C++ Style'
Back to Basics: Standard Library Containers in Cpp - Rainer Grimm - CppCon 2022
31 nooby C++ habits you need to ditch
CppCon 2019: Arthur O'Dwyer “Back to Basics: Smart Pointers”
Back to Basics: Debugging in Cpp - Greg Law - CppCon 2023
Breaking Dependencies - The Visitor Design Pattern in Cpp - Klaus Iglberger - CppCon 2022
Lec. 25 Mastering Logical Operator in Cpp: Write smart code #coding #coding #cppcode
CppCon 2018: Jonathan Boccara “105 STL Algorithms in Less Than an Hour”
Peering Forward - C++’s Next Decade - Herb Sutter - CppCon 2024
Pragmatic Simplicity - Actionable Guidelines To Tame Cpp Complexity - Vittorio Romeo - CppCon 2022
Why #include? | Why int main() | Why return 0 | Simple C Program | Log2Base2
CPP-01 Modern C++: Variables, Basic Types, Control Structures (2018, Igor)
A Pattern Language for Expressing Concurrency in Cpp - Lucian Radu Teodorescu - CppCon 2022
Move Semantics in C++
CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?”
C++20: C++ at 40 - Bjarne Stroustrup - CppCon 2019
C++ Tutorial - How to create and pass values to FUNCTIONS
compiler dev 2 - more cpp basics & planning
Damaged Skin Barrier?! Here’s what to do #shorts
you will never ask about pointers again after watching this video
Basic program structure of C++ #cpp #cppprogramming #coding #programming #tutorial
lvalue, rvalue, lvalue references and an introd to rvalue references | Modern Cpp Series Ep. 31
Комментарии