Главная
Study mode:
on
1
Intro
2
Literal Examples
3
Outline
4
About me
5
Book
6
UserDefined Literals
7
Why UserDefined Literals
8
Common UserDefined Literals
9
Other Restrictions
10
Factory Functions
11
UserDefined Literal
12
syntactic sugar
13
how to define
14
namespaces
15
cooked udl operators
16
token example
17
possible overloads
18
cooked literals
19
raw udl operators
20
base3 udl
21
base3 error detection
Description:
Explore the intricacies of user-defined literals (UDLs) in C++ through this comprehensive ACCU 2022 conference talk by Pablo Halpern. Delve into the benefits, implementation methods, best practices, and potential pitfalls of UDLs. Learn when to use and when to avoid creating custom literals, understanding their role in minimizing expressive differences between built-in types and user-defined types. Gain insights into various UDL definition techniques, ranging from simple to complex, and discover how to safely embrace this powerful C++ feature to enhance code readability and expressiveness.

Embracing User-Defined Literals Safely

ACCU Conference
Add to list
00:00
-01:19