Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Standard Attributes in C and C++

ACCU Conference via YouTube

Overview

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

Reviews

Start your review of Standard Attributes in C and C++

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.