Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int poc = 0;
- typename map<Key, map<Key, map<Key, Value > > >::const_iterator it1;
- typename map<Key, map<Key, Value > >::const_iterator it2;
- typename map<Key, Value >::const_iterator it3;
- for (it1 = this->begin(); it1 != this->end(); it1++) {
- for (it2 = it1->second.begin(); it2 != it1->second.end(); it2++) {
- if (it2->first == kluc2) {
- for (it3 = it2->second.begin(); it3 != it2->second.end(); it3++) {
- if (it3->first == kluc3) {
- poc++;
- }
- }
- }
- }
- }
- return poc;
Add Comment
Please, Sign In to add comment