This chapter describes the fundamental C++ standard library concepts that you need to work with all or most components:
• The namespace
• The names and formats of header files
• The general concept of error and exception handling
• Callable objects
• Basic concepts about concurrency and multithreading
• A brief introduction to allocators
If you use different modules and/or libraries, you always have the potential for name clashes. This is because modules and libraries might use the same identifier for different things. This problem was solved by the introduction of namespaces to C++. A namespace is a certain scope for identifiers. Unlike a class, a namespace is open for extensions that might ...