# end **Description** : - Returns an iterator referring to the past-the-end (next to last element) element in the vector container. **Example**: ```cpp // Iterate over myVector using iterators for (auto it = myVector.begin(); it != myVector.end(); it++) { std::cout << *it << " "; } ``` **[See Sample code](../snippets/vector/end.cpp)** **[Run Code](https://rextester.com/TNG69681)**