Back to the basics: Namespaces 101 - Sandor Dargo - Meeting C++ 2025 @MeetingCPP
Back to the basics: Namespaces 101 - Sandor Dargo - Meeting C++ 2025  @MeetingCPP
Uploaded March 2026 | Updated November 2026, 2 hours ago
Back to the basics: Namespaces 101 - Sandor Dargo - Meeting C++ 2025
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com

In this beginner-friendly talk, we are going to explore namespaces. They are an essential tool for organizing our codebase around different concerns and across different layers. But we cannot call it a day by simply stating that.

We also need to discuss their evolution. Over time, C++ introduced features like inline namespaces, which are a handy tool for API versioning. Additionally, namespace usage has been simplified—nested namespaces and even nested inline namespaces can now be opened directly.

After covering the syntactic basics, we will dive into how the compiler performs name lookup. Which namespaces will it check from a given scope? And if it cannot find a symbol, how can we bring in all or specific members of a namespace into our current scope? What advantages anonymous namespaces offer?

In the final section of our talk, we'll move beyond language rules to cover best practices based on the Core Guidelines, the Google Style Guide, and personal experience. This includes not just naming and formatting conventions, but also guidance on how and when to bring the contents of a namespace into a scope—and the potential pitfalls of the using keyword for your codebase.
Back to the basics: Namespaces 101 - Sandor Dargo - Meeting C++ 2025Range adaptors - 5 years after C++20 - Hannes Hauswedell - Meeting C++ 2025From Córdoba to the world: submitting my first C++ talk - Gabriel Valenzuela - Speaking aboutC++2025Kate Gregory: Dont memorize operator precedence - just use brackets #interview #coding #programmingSurprising result: heap access seemed faster than the stack - the bugInterview with James McNellis for Meeting C++ 2025Software Engineering Completeness - Peter Muldoon - Meeting C++ 2024C++ Reflection: Back on Track - David Olsen - Meeting C++ 2024Persistence squared: persisting persistent data structures - Juan Pedro Bolívar Puente - Meeting C++Sanitize for your Sanity: Sanitizers tools for Modern C++ - Evgenii Seliverstov - Meeting C++ 2025Short intro to the keynotes of Meeting C++ 2025PetriNet Studio - Architecting a SaaS Simulator in Modern C++ - Gabriel Valenzuela - Meeting C++2025
Meeting Cpp |

Back to the basics: Namespaces 101 - Sandor Dargo - Meeting C++ 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER