Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 291 Bytes

11.10.md

File metadata and controls

2 lines (2 loc) · 291 Bytes

We can define map<vector<int>::iterator, int> because the iterator of vector supports iterator arithmetic which includes < operator. But we cannot define map<list<int>::iterator, int> because the iterator of list does not support iterator arithmetic and does not support < operator.