title: Templates for AS3 (like c++)
body: <p>How do I define C++-like templates in AS3?; I have a map class (2d array) that I want to re-use across projects but the cell data is a different class depending on the project or implementation;</p>
  
  <p>There are a bunch of other reasons regarding sharing code accross different implementations, but I'd hope for somthing like:</p>
  
  <pre><code>map = new MyMap&lt;MyCell&gt;();
  </code></pre>
  
  <p>Doesn't matter if it's Flash 10 only :-p</p>
  
  <p>Cheers,
  Chris</p>