Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Back to Basics: const and constexpr - Rainer Grimm - CppCon 2021

Автор: CppCon

Загружено: 2021-12-22

Просмотров: 34834

Описание:

https://cppcon.org/
https://github.com/CppCon/CppCon2021
---
It is a virtue to program as const as possible in modern C++. Your program is by design way more type safe, has fewer concurrency issues, and runs with high probability faster.

Const has many flavors in modern C++. Thanks to const, you can protect a value against mutation. With constexpr, you can initialize and compute values at compile time. Thanks to conteval, a computation can only run at compile time. In the end, constinit empowers you to initialize a modifiable value at compile time.

Let me show you in my lecture how you can initialize a value with constexpr and constinit in a thread-safe way. Let me show you how const and constexpr help you protect values from mutation and, therefore, make them immune to data races. Finally, let me show you how constexpr and consteval empowers you to improve the performance of your program and get functions that are by design easy to test, easy to maintain, and implicitly thread-safe.

---
Rainer Grimm

I've worked as a software architect, team lead, and instructor since 1999. In 2002, I created company-intern meetings for further education. I have given training courses since 2002. My first tutorials were about proprietary management software, but I began teaching Python and C++ soon after. In my spare time, I like to write articles about C++, Python, and Haskell. I also like to speak at conferences. I publish weekly on my English blog (https://www.modernescpp.com/) and the (https://www.grimm-jaud.de/index.php/b..., hosted by Heise Developer. Since 2016 he is an independent instructor giving seminars about modern C++ and Python. Rainer published several books in various languages to modern C++ and concurrency, C++20, and the C++ Core Guidelines, in particular. Due to his profession, Rainer always searches for the best way to teach modern C++

---
Videos Streamed & Edited by Digital Medium: http://online.digital-medium.co.uk

*--*

Back to Basics: const and constexpr  - Rainer Grimm - CppCon 2021

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Back To Basics: Undefined Behavior - Ansel Sermersheim & Barbara Geller - CppCon 2021

Back To Basics: Undefined Behavior - Ansel Sermersheim & Barbara Geller - CppCon 2021

Back to Basics: Compiling and Linking - Ben Saks - CppCon 2021

Back to Basics: Compiling and Linking - Ben Saks - CppCon 2021

Back to Basics: Standard Library Containers in Cpp - Rainer Grimm - CppCon 2022

Back to Basics: Standard Library Containers in Cpp - Rainer Grimm - CppCon 2022

C++ From Scratch: Constexpr

C++ From Scratch: Constexpr

Синьор 1С: 10 привычек, без которых ты не вырастешь

Синьор 1С: 10 привычек, без которых ты не вырастешь

Back to Basics: Templates in C++ - Nicolai Josuttis - CppCon 2022

Back to Basics: Templates in C++ - Nicolai Josuttis - CppCon 2022

How To Use `constexpr` In C++23 - Jason Turner - NDC TechTown 2024

How To Use `constexpr` In C++23 - Jason Turner - NDC TechTown 2024

Chillout Lounge Radio - 24/7 Live | Smooth Background Music | Focus, Study, Work, Sleep, Meditation

Chillout Lounge Radio - 24/7 Live | Smooth Background Music | Focus, Study, Work, Sleep, Meditation

Back to Basics: Designing Classes (part 1 of 2) - Klaus Iglberger - CppCon 2021

Back to Basics: Designing Classes (part 1 of 2) - Klaus Iglberger - CppCon 2021

Супероптимизация C++: в 1000 раз быстрее

Супероптимизация C++: в 1000 раз быстрее

What is Low Latency C++    Timur Doumler

What is Low Latency C++ Timur Doumler

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Branchless Programming in C++ - Fedor Pikus - CppCon 2021

Branchless Programming in C++ - Fedor Pikus - CppCon 2021

Введение в constexpr | Серия Modern Cpp, выпуск 86

Введение в constexpr | Серия Modern Cpp, выпуск 86

Мир по Трампу: что теряет Путин - и что ждет Украину? | Хармс, Филиппенко, Стратиевский

Мир по Трампу: что теряет Путин - и что ждет Украину? | Хармс, Филиппенко, Стратиевский

C++ ♥ Python - Alex Dathskovsky - CppCon 2025

C++ ♥ Python - Alex Dathskovsky - CppCon 2025

C++ Lambda Idioms - Timur Doumler - CppCon 2022

C++ Lambda Idioms - Timur Doumler - CppCon 2022

Why Does Fire BURN? Feynman's Answer Will DESTROY Your Reality

Why Does Fire BURN? Feynman's Answer Will DESTROY Your Reality

Back to Basics: Move Semantics - Nicolai Josuttis - CppCon 2021

Back to Basics: Move Semantics - Nicolai Josuttis - CppCon 2021

Workshop Preview   Safe and Efficient C++ for Embedded Environments

Workshop Preview Safe and Efficient C++ for Embedded Environments

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com