#include <iostream>
#include <map>
using namespace std;
int main()
{
    typedef map<int,char,less<int>>M;
    M m1;
    m1.insert(M::value_type(2,'B'));
    m1.insert(M::value_type(3,'C'));
    m1.insert(M::value_type(1,'A'));
    M::iterator It = m1.begin();
    cout<<endl<<"m1:"<<endl;
    while(It != m1.end())
    {
        cout<<(*It).first<<" - "<<(*It).second<<endl;
        It++;
    }
    getchar();
    return 0;
}