Is there any way to check whether a given iterator belongs to a given list in C++?

Edit
Report