AI, Data Science & Business Certificates from Google, IBM & Microsoft
NY State-Licensed Certificates in Design, Coding & AI — Online
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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