Description: C++ Engineering Practice (1): caution anonymous namespace anonymous namespace (anonymous namespace or call unnamed namespace) is a C++, a very useful function, and its main purpose is to allow the namespace of the member (variable or function) has a unique global name, to avoid name collisions (name collisions). General in the preparation. Cpp file, if you need to write some small helper functions, we often put in anonymous namespace. muduo 0.1.7 The muduo/base/Date.cc and muduo/base/Thread.cc to use an anonymous namespace, etc.
To Search:
File list (Check if you may need any files):
匿名 namespace.txt