// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#include <iostream>
#include <map>

using namespace std;

int main()
{
   map<int,int> m;
   cout << m.max_size() << endl;
   pair<int,int> p(123,456);
   m.insert(p);
   cout << m.max_size() << endl;
   return 0;
}
