filmov
tv
C++ constexpr // a tool for optimizing your code

Показать описание
We continue our series on C++11 features you might have forgotten or never learned. This time, we learn about the constexpr keyword which can be used to tell the compiler to evaluate certain expressions at COMPILETIME. This will speed up the execution of your program, but at a cost.
// Learn More //
C++ 11 playlist:
Check out my complete C++ videos playlist:
// Consider supporting this channel in multiple ways //
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
Dogecoin: DRK2HDp3ZkkbFpvGZnVgMVosnBhPv8r3uP
// Learn More //
C++ 11 playlist:
Check out my complete C++ videos playlist:
// Consider supporting this channel in multiple ways //
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
Dogecoin: DRK2HDp3ZkkbFpvGZnVgMVosnBhPv8r3uP
const and constexpr - Rainer Grimm - Meeting C++ online
CppCon 2017: Ben Deane & Jason Turner “constexpr ALL the Things!”
C++ Weekly - Ep 145 - Semi-Automatic `constexpr` and `noexcept`
Pointers and constexpr in C++
C++ Weekly Special Edition - Using C++17's constexpr if
A totally constexpr standard library - Paul Keir, Joel Falcou et al - Meeting C++ 2022
C++ Weekly - Ep 458 - array of bool? No! constexpr std::bitset!
Practical constexpr - Jason Turner - Meeting C++ 2017
C++ Weekly - Ep 301 - C++ Homework: `constexpr` All The Things
Lightning Talk: The UB Detector: constexpr - Andreas Fertig - CppCon 2024
if constexpr C++17
“Constexpr Everything” - The Standard Library, Microkernel, Apps, and Unit Tests - Rian Quinn
C++ Weekly - Ep 314 - Every Possible Way To Force The Compiler To Do Work At Compile-Time in C++
C++ Weekly - Ep 432 - Why constexpr Matters
Don't constexpr All the Things - David Sankel [CppNow 2021]
C Which of the following statements is correct about a constexpr
C++ | Tips Understanding Constant Types in C++: const, constexpr, constinit #shorts #cpp
CppCon 2015: B. Geller & A. Sermersheim 'Compile-Time Counter Using Template & Constexp...
2019 LLVM Developers’ Meeting: N. Licker “The clang constexpr interpreter”
C++Now 2017: Tony Van Eerd “Bruce Lee”
C++ Tips for all
CppCon 2018: Fabian Renn-Giles “A Semi Compile/Run-time Map with (Nearly) Zero Overhead Lookup”
C++ templates (if constexpr, type_traits) and preferring free functions | Modern Cpp Series Ep. 214
CppCon 2015: Peter Sommerlad “Variable Templates and Compile-Time Computation with C++14'
Комментарии