stdx::ptr_vec_iter< T > Class Template Reference

#include <ptr_vector.h>

Inherits stdx::ptr_iterator_tag.

Inheritance diagram for stdx::ptr_vec_iter< T >:

Inheritance graph
[legend]
Collaboration diagram for stdx::ptr_vec_iter< T >:

Collaboration graph
[legend]
List of all members.

Friends

class stdx::ptr_vector< T >
class stdx::const_ptr_vec_iter< T >
class stdx::ptr_iter_util< ptr_vec_iter< T > >

Detailed Description

template<typename T>
class stdx::ptr_vec_iter< T >

ptr_vec_iter

iterator class template for ptr_vector (typedef-ed as ptr_vector<T>::iterator) that fulfills the requirements of a Random Access Iterator;
iterates over pointed-to objects not pointers;
Similar to std::vector<T>::iterator this iterator represents a pointer to a position within ptr_vector rather than a pointer to a concrete object. In contrast to std::vector<T>::iterator this iterator remains valid when ptr_vector expands (e.g. in the progress of push_back() ).


The documentation for this class was generated from the following file:
Generated on Wed Jan 17 14:53:51 2007 for iTunesIslands by  doxygen 1.5.1-p1