How make a class private inside a namespace in C++?
<p>How make a class private inside a namespace in C++ and prevent other to access the class from outside the namespace, for instance:</p>

<pre><code>namespace company{
    class MyPublicClass{ ... }  // This should be accessible 
    class MyPrivateClass{ ... } // This should NOT be accessible
}
</code></pre>