Skip to content

Commit e7e556c

Browse files
committed
Updates from Overleaf
1 parent 6656a52 commit e7e556c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

chapters/00_title_page.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030

3131
Original copy of this book can be obtained at \href{https://github.com/HappyCerberus/book-cpp-algorithms}{https://github.com/HappyCerberus/book-cpp-algorithms}.
3232

33+
The book is also available through LeanPub where the proceeds go to Electronic Frontier Foundation (after LeanPub takes their cut) \href{https://leanpub.com/cpp-algorithms-guide}{https://leanpub.com/cpp-algorithms-guide}.
34+
3335
This copy of the book is version \version.
3436

3537
\vfill

chapters/90_theory.tex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,10 @@ \subsection{Function objects vs ADL}
5858
\footnotesize Example demonstrating a non-function object preventing ADL, making a friend function impossible to invoke.
5959
\tcblower
6060
\cppfile{code_examples/theory/adl_shutdown_code.h}
61-
\end{box-note}
61+
\end{box-note}
62+
63+
\subsection{\texorpdfstring{\CC20 ADL customization point}{C++20 ADL customization point}}
64+
65+
With the introduction of concepts in \CC20, we now have a cleaner way to introduce a customization point using ADL.
66+
67+
This approach has several benefits, in particular on the call site. We no longer need to remember to pull in the namespace of the default implementation. Furthermore, because the call is now fully qualified, we avoid the problem of symbol collisions that can potentially completely prevent ADL.

0 commit comments

Comments
 (0)