Namespace issues

I’m pretty set on using Rect as a name for a class. However it’s already used:

of_prerelease_v0.05_windows_vs_fat\of_prerelease_v0.05_windows_vs_fat\libs\qtdevwin\cincludes\mactypes.h

How do I lock a class down to a namespace?

A simple example of a class in a namespace:

namespace_example.h

  
#ifndef __NAMESPACE_EXAMPLE_H__  
#define __NAMESPACE_EXAMPLE_H__  
  
namespace example  
{  
class Simple  
{  
public:  
    Simple(void);  
    virtual ~Simple(void);  
  
}; // Simple  
} // example  
  
#endif // __NAMESPACE_EXAMPLE_H__  

namespace_example.cpp

  
#include "namespace_example.h"  
  
namespace example  
{  
  
Simple::Simple(void)  
{  
} // Simple(void)  
  
Simple::~Simple(void)  
{  
} // ~Simple(void)  
  
} // example  

And a small demo of using it, for completeness:

  
#include "namespace_example.h"  
  
using namespace example;  
  
int main(int argc, char* argv[])  
{  
    Simple* mySimple = new Simple();  
  
    delete mySimple;  
}  

Or to reference the namespace as needed:

  
#include "namespace_example.h"  
  
int main(int argc, char* argv[])  
{  
    example::Simple* mySimple = new example::Simple();  
  
    delete mySimple;  
}