Reference

__gnu_cxx::normal_iterator(3)

NAME

__gnu_cxx::normal_iterator -

SYNOPSIS

Inherits std::iterator< Category, Type, Distance, Pointer, Reference >< std::iterator_traits< Iterator >::iterator_category, std::iterator_traits< Iterator >::value_type, std::iterator_traits< Iterator >::iterator_traits< Iterator >::difference_type, std::iterator_traits< Iterator >::iterator_traits< Iterator >::pointer, std::iterator_traits< Iterator >::iterator_traits< Iterator >::reference >.

Public Types

typedef iterator_traits< Iterator >::difference_type difference_type
Distance between iterators is represented as this type. typedef iterator_traits< Iterator >::reference reference
This type represents a reference-to-value_type. typedef iterator_traits< Iterator >::pointer pointer
This type represents a pointer-to-value_type. typedef Category iterator_category
One of the tag types. typedef Type value_type
The type 'pointed to' by the iterator.

Public Member Functions

normal_iterator ()
normal_iterator (const Iterator &__i)
template<typename Iter> normal_iterator (const normal_iterator< Iter, Container > &__i)
reference operator * () const
pointer operator-> () const
normal_iterator & operator++ ()
normal_iterator operator++ (int)
normal_iterator & operator-- ()
normal_iterator operator-- (int)
reference operator[] (const difference_type &n) const
normal_iterator & operator+= (const difference_type &n)
normal_iterator operator+ (const difference_type &n) const
normal_iterator & operator-= (const difference_type &n)
normal_iterator operator- (const difference_type &n) const
const Iterator & base () const

Protected Attributes

Iterator M_current

Detailed Description

template<typename Iterator, typename Container> class __gnu_cxx::normal_iterator< Iterator, Container >

Definition at line 574 of file stl_iterator.h.

Member Typedef Documentation

template<typename Iterator, typename Container> typedef iterator_traits<Iterator>::difference_type __gnu_cxx::normal_iterator< Iterator, Container >::difference_type

Distance between iterators is represented as this type.

Reimplemented from std::iterator< Category, Type, Distance, Pointer, Reference >.

Definition at line 586 of file stl_iterator.h.

template<typename Iterator, typename Container> typedef iterator_traits<Iterator>::reference __gnu_cxx::normal_iterator< Iterator, Container >::reference

This type represents a reference-to-value_type.

Reimplemented from std::iterator< Category, Type, Distance, Pointer, Reference >.

Definition at line 587 of file stl_iterator.h.

template<typename Iterator, typename Container> typedef iterator_traits<Iterator>::pointer __gnu_cxx::normal_iterator< Iterator, Container >::pointer

This type represents a pointer-to-value_type.

Reimplemented from std::iterator< Category, Type, Distance, Pointer, Reference >.

Definition at line 588 of file stl_iterator.h.

template<typename Category, typename Type, typename Distance = ptrdiff_t, typename Pointer = Type*, typename Reference = Type&> typedef Category std::iterator< Category, Type, Distance, Pointer, Reference >::iterator_category [inherited]

One of the tag types.

Definition at line 107 of file stl_iterator_base_types.h.

template<typename Category, typename Type, typename Distance = ptrdiff_t, typename Pointer = Type*, typename Reference = Type&> typedef Type std::iterator< Category, Type, Distance, Pointer, Reference >::value_type [inherited]

The type 'pointed to' by the iterator.

Reimplemented in __gnu_cxx::sequence_buffer< Sequence, Buf_sz >.

Definition at line 109 of file stl_iterator_base_types.h.

Author

Generated automatically by Doxygen for libstdc++-v3 Source from the source code.