//using namespaces using namespace std; //creating namespaces namespace custom{ class example{ public: static int method(){ return 0; } }; }; //using custom namespaces using namespace custom;