#include #include #include #include #include #include "map.h" using namespace std; template class mylist: public list { }; int main() { ::map gravity; //implemented atop 2 vectors gravity.insert("Mercury", .27); gravity.insert("Venus", .85); gravity.insert("Earth", 1.00); cout << "Mercury" << ", " << gravity.find("Mercury") << "\n"; ::map gravity2; //implemented atop 2 mylists gravity2.insert("Mercury", .27); cout << "Mercury" << ", " << gravity2.find("Mercury") << "\n"; return EXIT_SUCCESS; }