How to create an object of class defined inside namespace in c++
<pre><code>namespace t {
    class A {};
}
</code></pre>

<p>How can create an object of class <code>A</code>?</p>

<p><strong>EDIT :</strong></p>

<pre><code>namespace beta {
  class TESSDLL_API TessBaseAPI 
  { 
     public: 
           TessBaseAPI(); 
           virtual ~TessBaseAPI(); 
  }
}
</code></pre>

<p>This is the class defined inside <code>beta</code>  namespace . Now how do i call the constructor? is </p>

<pre><code>tess = new beta::TessBaseAPI(); 
</code></pre>

<p>correct? </p>
