Mapping between two sets of classes
<p>I have a requirement where in i have a set of classes and they have a one on one correspondence with another set of classes. Consider something like this</p>

<p>a)</p>

<pre><code> template &lt; class A &gt;

class Walkers
{
     int walk( Context&lt; A &gt;* context );
};
</code></pre>

<p>The set of Context classes are not templates. They are individual classes. I need to create a mapping between these two sets. One way, i could think of is to create a typelist and refer to the class at the appropriate location. But i feel that is more error prone, as i may mismatch the Contexts in the typelist. Can someone advise me how to do this ?</p>

<p>Thanks,
Gokul.</p>
