C++ - Is there a way that using Class name as a key of std::map?
<p>I'm trying to use class as a key of standard map structure.</p>

<p>The usage is like below.</p>

<pre><code>std::map&lt;ClassName, int&gt; someMap;

someMap[ StudentClass ]
someMap[ TeacherClass ]
</code></pre>

<p>I'll use this making Template Factory class.</p>
