YoVDO

Constant Fun

Offered By: ACCU Conference via YouTube

Tags

ACCU Conference Courses Software Development Courses C++ Courses Sorting Algorithms Courses

Course Description

Overview

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

Computer Graphics
University of California, San Diego via edX
Intro to Parallel Programming
Nvidia via Udacity
Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera
C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera
Introduction à la programmation orientée objet (en C++)
École Polytechnique Fédérale de Lausanne via Coursera