What Is The Inline Namespace Feature In Modern C++?
July 14, 2023
In modern C++, namespaces are a kind of library or framework. They are useful to hold the same name of classes, methods, and other entities in different namespaces. C++11 standard and other standards above, allow the inline keyword in a namespace definition and in this post, we explain how to use inline namespaces in modern C++.
What is a namespace in modern C++?
Namespaces in C++ allow…