Michael's profileMichael HUO's SpacePhotosBlogListsMore Tools Help

Blog


    map<vector<int>, value> or vector<pair<vector<int>, value> >?

    Since map and set require that the key can be compared of larger or smaller,  while vector<int> does not provide such operator, so the former cannot be compiled correctly. The latter is to be used.