Constant Fun
Offered By: ACCU Conference via YouTube
Course Description
Overview
Explore the concept of constant expressions in C++ through this comprehensive conference talk from ACCU 2016. Delve into the world of constexpr with Dietmar Kühl, a senior software developer at Bloomberg L.P. and regular attendee of the ANSI/ISO C++ standards committee. Learn about the importance and applications of constant expressions, comparing bitmasks to constexpr, and understanding constexpr functions and literal types. Discover the implications of names in constexpr, explore practical examples, and gain insights into constexpr factory maps. Examine the performance differences between gcc and clang compilers when working with constant expressions. Enhance your C++ programming skills and optimize your code with the power of compile-time computations.
Syllabus
Intro
Overview
Constant Expressions
Why constexprs? III
Bitmask vs. constexpr
constexpr Functions
Literal Types
Names in constexpr
Name Example
Name Implication
Objective
Detour; string_view
match 1st()
Attempt: Use an Array
Validity of constexpr Fun
constexpr Map Members
Deducing Type
Sorting Elements
Constexpr Factory Map
Times gcc
Times clang
Taught by
ACCU Conference
Related Courses
Khronos Sycl Language Framework for C++ Accelerators - Take Advantage of All the MIPSACCU Conference via YouTube Space Invaders - The C++20 Spaceship Operator is Upon Us
ACCU Conference via YouTube Grinding, Farming, and Alliances - Become a Better Programmer by Using Words and Ideas From Casual Gaming
ACCU Conference via YouTube Designing for C++ Concurrency Using Message Passing
ACCU Conference via YouTube Productivity in C++ Game Development - Inside the Mind of an AAA Game Developer
ACCU Conference via YouTube