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

YouTube

Namespaces 101 - C++ Programming Fundamentals

cpponsea via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the fundamentals of C++ namespaces in this comprehensive conference talk from C++ on Sea 2025. Learn how namespaces serve as essential tools for organizing codebases around different concerns and layers, starting with basic syntax and progressing to advanced features like inline namespaces for API versioning and simplified nested namespace declarations. Discover how the compiler performs name lookup across different scopes and understand which namespaces are checked from any given context. Master techniques for bringing namespace members into your current scope, including the advantages of anonymous namespaces and the proper use of using declarations. Delve into compiler mechanics to understand symbol resolution and scope management in complex namespace hierarchies. Apply best practices derived from the Core Guidelines, Google Style Guide, and industry experience, covering naming conventions, formatting standards, and strategic guidance on when and how to import namespace contents. Examine the potential pitfalls of the using keyword and learn to avoid common namespace-related issues that can impact codebase maintainability. Gain practical insights for organizing large-scale C++ projects through effective namespace design and implementation strategies.

Syllabus

Namespaces 101 - Sandor DARGO - C++ on Sea 2025

Taught by

cpponsea

Reviews

Start your review of Namespaces 101 - C++ Programming Fundamentals

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.