title: How to get type from scope in template class?
body: <p>Here I have some interesting code. Does anyone know how to get subtype from <code>myClass</code> without auxiliary parameter in template?</p>
  
  <hr>
  
  <p><strong><em>Note:</strong> Maybe <code>myClass</code> template too.</em></p>
  
  <pre><code>class myClass
  {
    public:
      struct tPacaje
      {
        int data;
      };
  };
  
  template &lt;class T&gt;
  class executorClass
  {
    public:
      void todo(T::tPacaje ob)
      {
        ...
      }
  };
  </code></pre>