| 16503 | } |
| 16504 | |
| 16505 | size_type count(const Key& key) const |
| 16506 | { |
| 16507 | for (auto it = this->begin(); it != this->end(); ++it) |
| 16508 | { |
| 16509 | if (it->first == key) |
| 16510 | { |
| 16511 | return 1; |
| 16512 | } |
| 16513 | } |
| 16514 | return 0; |
| 16515 | } |
| 16516 | |
| 16517 | iterator find(const Key& key) |
| 16518 | { |