CMap<std::string> CAttributeRange::GetAttributesWithoutInternal() const { CMap<std::string> filteredAttrs; for( auto currElem : mAttributes ) { if( currElem.first[0] != '$' ) filteredAttrs.insert( currElem ); } return filteredAttrs; }
int main() { CMap<string, int> grades; grades.insert("Jones", 88); grades.insert("Smith", 90); grades.get(0); cout << endl; grades.get(1); cout << endl; return 0; }