East Const but Constexpr West
Offered By: code::dive conference via YouTube
Course Description
Overview
Explore the nuances of C++ syntax in this 16-minute conference talk from code::dive 2018. Delve into the placement of const and constexpr keywords in declarations, examining the "East const" approach and its rationale. Gain insights into constant expressions, constant objects, and symbolic constants while understanding the motivation behind const usage. Analyze declaration specifiers, type specifiers, and the interplay between star and const. Learn about uniform reading, typedef NTCS, and typedef macros in context. Conclude with a comprehensive understanding of C++ declaration intricacies and best practices for keyword placement.
Syllabus
Intro
Constant Expressions
Constant Objects
Symbolic Constants
Const Expert
East const
Motivation for const
Declaration specifiers
Type specifiers
Declaratory know
Declaratory
Types specifiers
Constant volatile
Specifiers
Volatiles
Star and Const
Uniform reading
Type def NTCS
Type def macro
Context
Conclusion
Taught by
code::dive conference
Related Courses
From Developer to SW Architectcode::dive conference via YouTube Stop Writing Test Doubles You Are Using
code::dive conference via YouTube You Can Do Better! Presentations That Are Captivating
code::dive conference via YouTube What C and C++ Developers Can Learn from Rust
code::dive conference via YouTube Beautiful Python Refactoring II
code::dive conference via YouTube