Standard Attributes in C and C++
Offered By: ACCU Conference via YouTube
Course Description
Overview
Explore an in-depth tour of standard attributes in C and C++ programming languages in this conference talk from ACCU 2023. Discover the syntax, semantics, and practical applications of attributes like deprecated, fallthrough, nodiscard, and maybe_unused for warning management. Learn about optimization hints using likely and unlikely attributes, and understand the potential pitfalls of noreturn and assume attributes that can introduce undefined behavior. Examine the no_unique_address attribute for class layout optimization and its portability considerations across major compilers. Gain insights into C23's exclusive attributes: unsequenced and reproducible. Analyze code examples, receive guidelines for safe and effective attribute usage, and clarify the misunderstood "ignorable" nature of attributes in C++ language design. Delve into the evolution of standard attributes from C++11 to the latest additions in C23 and C++23, equipping yourself with knowledge to enhance code quality and optimization in C and C++ programming.
Syllabus
Standard Attributes in C and C++ - Timur Doumler - ACCU 2023 [Rerelease]
Taught by
ACCU Conference
Related Courses
Compilers: Theory and PracticeGeorgia Institute of Technology via Udacity Основы разработки на C++: красный пояс
Moscow Institute of Physics and Technology via Coursera Spark
Udacity Advanced JavaScript
Udemy Writing Efficient Python Code
DataCamp