| 401 | |
| 402 | template <typename T> |
| 403 | Iterator<T> MakeVectorIterator(std::vector<T> v) { |
| 404 | return Iterator<T>(VectorIterator<T>(std::move(v))); |
| 405 | } |
| 406 | |
| 407 | /// \brief Simple iterator which yields *pointers* to the elements of a std::vector<T>. |
| 408 | /// This is provided to support T where IterationTraits<T>::End is not specialized |
no outgoing calls