471{
472 auto key1 = std::make_pair(1,false);
473 auto key2 = std::make_pair(1,true);
474 auto key3 = std::make_pair(2,false);
475 auto key4 = std::make_pair(2,true);
476 std::map<std::pair<int,bool>,int> myMap;
477 myMap.insert(std::make_pair(key1,0));
478 myMap.insert(std::make_pair(key2,0));
479 myMap.insert(std::make_pair(key3,0));
480 myMap.insert(std::make_pair(key4,0));
481
482 for (auto i : myMap)
483 {
484 std::cout << "[" << i.first.first << "," << i.first.second << "]" << std::endl;
485 }
486}