Популярное

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

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

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

Топ запросов

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

CppCon 2016: Michał Dominiak “Variadic expansion in examples"

Автор: CppCon

Загружено: 2016-10-02

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

Описание:

http://CppCon.org
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/cppcon/cppcon2016
—
Templates - and variadic templates - are an important aspect of writing a successful library in C++; libraries that can deal with custom types the user creates greatly eases their use. Variadic templates specifically are still a new, relatively unknown and at the same time quite a buggy (in the sense of bugs in their implementations) tool, but nevertheless, they offer much easier ways of creating truly generic types and functions.

This talk will focus slightly less on variadic templates in general; the common pitfalls will be discussed, but more attention will be given to the tool of parameter pack expansion and all the contexts where it can be used, especially as a code generation tool.

The talk will start mostly from scratch, assuming the audience's general knowledge about templates. It'll introduce the idea of variadic templates and general syntax and typical techniques for their use. Next, it will head into the (mostly) unknown and buggy lands of the interesting uses of variadic packs, like unpacking a tuple into a function call using `std::integer_sequence`, the use of empty packs for a slightly easier way to work with `enable_if`. The final examples will explain the way of invoking an expression per every argument in a pack, and dispatch to appropriate version of code for each of the argument types based on runtime values, which will be used to more easily create variant visitors.
—
Michał Dominiak
Software Engineer, Nokia Networks
Bachelor of Engineering in Computer Science, studied at Faculty of Electronics at Wrocław University of Technology. Loves metaprogramming and doing as much as possible during compile time, instead of wasting precious cycles at runtime.
—
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com

*-----*
Register Now For CppCon 2022: https://cppcon.org/registration/
*-----*

CppCon 2016: Michał Dominiak “Variadic expansion in examples"

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

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

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

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

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

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

Back to Basics: Templates (part 1 of 2) - Bob Steagall - CppCon 2021

Back to Basics: Templates (part 1 of 2) - Bob Steagall - CppCon 2021

Михаил Матросов — Спецификаторы, квалификаторы и шаблоны

Михаил Матросов — Спецификаторы, квалификаторы и шаблоны

C++ ♥ Python - Alex Dathskovsky - CppCon 2025

C++ ♥ Python - Alex Dathskovsky - CppCon 2025

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

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

CppCon 2016: Marc Gregoire “Mobile App Development for Multiple Platforms with Visual C++, 2016

CppCon 2016: Marc Gregoire “Mobile App Development for Multiple Platforms with Visual C++, 2016"

Cache-Friendly C++ - Jonathan Müller - CppCon 2025

Cache-Friendly C++ - Jonathan Müller - CppCon 2025

Back to Basics: Templates (part 2 of 2) - Bob Steagall - CppCon 2021

Back to Basics: Templates (part 2 of 2) - Bob Steagall - CppCon 2021

CppCon 2016: Chandler Carruth “High Performance Code 201: Hybrid Data Structures

CppCon 2016: Chandler Carruth “High Performance Code 201: Hybrid Data Structures"

C++ Variadic Templates and Parameter Packs - Vladimir Vishnevskii - C++ on Sea 2025

C++ Variadic Templates and Parameter Packs - Vladimir Vishnevskii - C++ on Sea 2025

An Introduction to Multithreading in C++20 - Anthony Williams - CppCon 2022

An Introduction to Multithreading in C++20 - Anthony Williams - CppCon 2022

CppCon 2016: Timur Doumler “Want fast C++? Know your hardware!

CppCon 2016: Timur Doumler “Want fast C++? Know your hardware!"

ВСЕ, ЧТО ВЫ НЕ ЗНАЛИ ОБ АТОМЕ И ЯДЕРНОЙ ЭНЕРГИИ

ВСЕ, ЧТО ВЫ НЕ ЗНАЛИ ОБ АТОМЕ И ЯДЕРНОЙ ЭНЕРГИИ

Back to Basics: Move Semantics (part 2 of 2) - Klaus Iglberger - CppCon 2019

Back to Basics: Move Semantics (part 2 of 2) - Klaus Iglberger - CppCon 2019

Generics in C++ 5 - Variadic arguments and Variadic Function Templates | Modern Cpp Series Ep. 75

Generics in C++ 5 - Variadic arguments and Variadic Function Templates | Modern Cpp Series Ep. 75

CppCon 2016: Jason Turner “Practical Performance Practices

CppCon 2016: Jason Turner “Practical Performance Practices"

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Для Чего РЕАЛЬНО Нужен был ГОРБ Boeing 747?

Для Чего РЕАЛЬНО Нужен был ГОРБ Boeing 747?

CppCon 2016: Michael Caisse “Asynchronous IO with Boost.Asio

CppCon 2016: Michael Caisse “Asynchronous IO with Boost.Asio"

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Понимание GD&T

Понимание GD&T

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



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



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