How to create a map with 2 key value
<p>I am looking for something like a school time table. Based on two input - Day of the week and Time of the day, one decides the subject. To implement this in c++, I was thinking of something like "map &lt; pair &lt; int, int>, int>". 
I was reading <a href="http://bytes.com/topic/c/answers/62216-stl-map-two-keys" rel="nofollow">here</a> to use a key class and operator overloading.
Is there any other elegant way of doing it?</p>

<p>Thanks in Advance</p>
