YoVDO

Standard Attributes in C and C++

Offered By: ACCU Conference via YouTube

Tags

ACCU Conference Courses C Programming Courses Code Optimization Courses

Course Description

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

Related Courses

Khronos Sycl Language Framework for C++ Accelerators - Take Advantage of All the MIPS
ACCU Conference via YouTube
Space Invaders - The C++20 Spaceship Operator is Upon Us
ACCU Conference via YouTube
Grinding, Farming, and Alliances - Become a Better Programmer by Using Words and Ideas From Casual Gaming
ACCU Conference via YouTube
Designing for C++ Concurrency Using Message Passing
ACCU Conference via YouTube
Productivity in C++ Game Development - Inside the Mind of an AAA Game Developer
ACCU Conference via YouTube