ReactOS 0.4.15-dev-7705-g2320c37
raw_storage_iterator< _ForwardIterator, _Tp > Class Template Reference

#include <_raw_storage_iter.h>

Inheritance diagram for raw_storage_iterator< _ForwardIterator, _Tp >:
Collaboration diagram for raw_storage_iterator< _ForwardIterator, _Tp >:

Public Types

typedef output_iterator_tag iterator_category
 
- Public Types inherited from iterator< output_iterator_tag, void, void, void, void >
typedef output_iterator_tag iterator_category
 

Public Member Functions

 raw_storage_iterator (_ForwardIterator __x)
 
raw_storage_iterator< _ForwardIterator, _Tp > & operator* ()
 
raw_storage_iterator< _ForwardIterator, _Tp > & operator= (const _Tp &__element)
 
raw_storage_iterator< _ForwardIterator, _Tp > & operator++ ()
 
raw_storage_iterator< _ForwardIterator, _Tp > operator++ (int)
 

Protected Attributes

_ForwardIterator _M_iter
 

Detailed Description

template<class _ForwardIterator, class _Tp>
class raw_storage_iterator< _ForwardIterator, _Tp >

Definition at line 40 of file _raw_storage_iter.h.

Member Typedef Documentation

◆ iterator_category

template<class _ForwardIterator , class _Tp >
typedef output_iterator_tag raw_storage_iterator< _ForwardIterator, _Tp >::iterator_category

Definition at line 46 of file _raw_storage_iter.h.

Constructor & Destructor Documentation

◆ raw_storage_iterator()

template<class _ForwardIterator , class _Tp >
raw_storage_iterator< _ForwardIterator, _Tp >::raw_storage_iterator ( _ForwardIterator  __x)
inlineexplicit

Definition at line 53 of file _raw_storage_iter.h.

53: _M_iter(__x) {}
_ForwardIterator _M_iter

Member Function Documentation

◆ operator*()

template<class _ForwardIterator , class _Tp >
raw_storage_iterator< _ForwardIterator, _Tp > & raw_storage_iterator< _ForwardIterator, _Tp >::operator* ( )
inline

Definition at line 54 of file _raw_storage_iter.h.

54{ return *this; }

◆ operator++() [1/2]

template<class _ForwardIterator , class _Tp >
raw_storage_iterator< _ForwardIterator, _Tp > & raw_storage_iterator< _ForwardIterator, _Tp >::operator++ ( )
inline

Definition at line 59 of file _raw_storage_iter.h.

59 {
60 ++_M_iter;
61 return *this;
62 }

◆ operator++() [2/2]

template<class _ForwardIterator , class _Tp >
raw_storage_iterator< _ForwardIterator, _Tp > raw_storage_iterator< _ForwardIterator, _Tp >::operator++ ( int  )
inline

Definition at line 63 of file _raw_storage_iter.h.

63 {
65 ++_M_iter;
66 return __tmp;
67 }

◆ operator=()

template<class _ForwardIterator , class _Tp >
raw_storage_iterator< _ForwardIterator, _Tp > & raw_storage_iterator< _ForwardIterator, _Tp >::operator= ( const _Tp &  __element)
inline

Definition at line 55 of file _raw_storage_iter.h.

55 {
56 _Param_Construct(&*_M_iter, __element);
57 return *this;
58 }
void _Param_Construct(_T1 *__p, const _T2 &__val)
Definition: _construct.h:150

Member Data Documentation

◆ _M_iter

template<class _ForwardIterator , class _Tp >
_ForwardIterator raw_storage_iterator< _ForwardIterator, _Tp >::_M_iter
protected

Definition at line 44 of file _raw_storage_iter.h.


The documentation for this class was generated from the following file: