YoVDO

Embracing User-Defined Literals Safely

Offered By: ACCU Conference via YouTube

Tags

ACCU Conference Courses C++ Courses Operator Overloading Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

Intro
Literal Examples
Outline
About me
Book
UserDefined Literals
Why UserDefined Literals
Common UserDefined Literals
Other Restrictions
Factory Functions
UserDefined Literal
syntactic sugar
how to define
namespaces
cooked udl operators
token example
possible overloads
cooked literals
raw udl operators
base3 udl
base3 error detection


Taught by

ACCU Conference

Related Courses

INTERMEDIATE SOFTWARE DESIGN IN C++
Foothill College via California Community Colleges System
Programming in C++
Mt. San Antonio College via California Community Colleges System
Programming in C++ Laboratory
Mt. San Antonio College via California Community Colleges System
Object Oriented Implementation Using C++
IBM via edX
Learn By Example: C++ Programming - 75 Solved Problems
Udemy