CppCon 2019: Kostas Kyrimis ADL: introduction in name taxonomy, customization points and use cases
—
Discussion & Comments:
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at:
—
This talk introduces argument dependent lookup(ADL); name taxonomy; and customisation points in order to demonstrate and understand the peculiarities and the process of looking up names with ADL. Furthermore, this talk will demonstrate and discuss ADL thoroughly in the context of templates.
What is ADL?
ADL is a C feature that extends a name’s* lookup set by associating it with “extra” namespaces. The C standard mandates name taxonomy in a nonintuitive way that makes it difficult for young programmers to understand and use this feature. On the other hand, in advanced use cases of templates even experienced programmers sometimes struggle to reason about their code.
Why ADL?
It greatly enhances the usability of templates by allowing the compiler to extend the overload resolution of a template call allowing
1 view
4621
1722
2 years ago 01:29:55 1
Sorting Algorithms: Speed Is Found In The Minds of People - Andrei Alexandrescu - CppCon 2019
2 years ago 00:53:49 1
Back to Basics: Move Semantics (part 2 of 2) - Klaus Iglberger - CppCon 2019
3 years ago 01:01:30 1
CppCon 2019: Ben Saks “Back to Basics: Exception Handling and Exception Safety”
3 years ago 00:51:12 1
CppCon 2019: Kostas Kyrimis ADL: introduction in name taxonomy, customization points and use cases
3 years ago 01:00:19 1
CppCon 2019: Timur Doumler “Type punning in modern C++”
3 years ago 00:52:23 5
CppCon 2019: Miro Knejp “Non-conforming C++: the Secrets the Committee Is Hiding From You”
4 years ago 00:59:53 1
CppCon 2019: Chandler Carruth “There Are No Zero-cost Abstractions”
4 years ago 00:55:42 3
CppCon 2019: Matt Godbolt “Path Tracing Three Ways: A Study of C++ Style”
4 years ago 01:00:15 1
C++20 STL Features: One Year of Development on GitHub - Stephan T. Lavavej - CppCon 2020
4 years ago 01:03:05 1
CppCon 2019: Timur Doumler “C++20: The small things”
4 years ago 01:31:26 1
CppCon 2019: Bjarne Stroustrup “C++20: C++ at 40”
5 years ago 00:56:45 1
CppCon 2019: Greg Law “Modern Linux C++ debugging tools - under the covers”
5 years ago 01:00:15 1
CppCon 2019: Patrice Roy “C++ as a First Language... Really?”
5 years ago 00:32:20 1
CppCon 2019: Billy O’Neal “C++ Standard Library “Little Things”
5 years ago 00:58:02 1
CppCon 2019: Jonathan Müller “Using C++20’s Three-way Comparison <=>”
5 years ago 01:05:31 1
CppCon 2019: Gordon Brown “Efficient GPU Programming with Modern C++”
5 years ago 00:13:26 1
C++ Weekly - Ep 173 - The Important Parts of C++98 in 13 Minutes