using namespace MySpaceA::MySpaceB::MySpaceC::MySpaceD
"... MySpaceD"
using MySpaceA::MySpaceB::MySpaceC::MySpaceD::MyVeryLongNamedClass
'..MyVeryLongNamedClass' .
"" typedef:
#include <MyBigDeepNameSpaces.hh>
namespace myPureNameSpace {
typedef MySpaceA::MySpaceB::MySpaceC::MySpaceD::MyVeryLongNamedClass MySomething_t ;
}
C++ Coding Standards: 101 Rules, Guidelines, and Best Practices
By: Herb Sutter; Andrei Alexandrescu
Publisher: Addison-Wesley Professional
Pub. Date: October 25, 2004
Print ISBN-10: 0-321-11358-6
Print ISBN-13: 978-0-321-11358-0
Chapter 57
(stop using the namespace! Put your cigarette in!)
source
share