STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Private Attributes | List of all members
raw_storage_iterator< _OutIt, _Ty > Class Template Reference
Inheritance diagram for raw_storage_iterator< _OutIt, _Ty >:
iterator< _Category, _Ty, _Diff, _Pointer, _Reference >

Public Types

typedef _OutIt iterator_type
 
typedef _OutIt iter_type
 
typedef _Ty element_type
 
- Public Types inherited from iterator< _Category, _Ty, _Diff, _Pointer, _Reference >
typedef _Category iterator_category
 
typedef _Ty value_type
 
typedef _Diff difference_type
 
typedef _Diff distance_type
 
typedef _Pointer pointer
 
typedef _Reference reference
 

Public Member Functions

 raw_storage_iterator (_OutIt _First)
 
raw_storage_iterator< _OutIt, _Ty > & operator* ()
 
raw_storage_iterator< _OutIt, _Ty > & operator= (const _Ty &_Val)
 
raw_storage_iterator< _OutIt, _Ty > & operator++ ()
 
raw_storage_iterator< _OutIt, _Ty > operator++ (int)
 

Private Attributes

_OutIt _Next
 

Member Typedef Documentation

template<class _OutIt , class _Ty >
typedef _Ty raw_storage_iterator< _OutIt, _Ty >::element_type
template<class _OutIt , class _Ty >
typedef _OutIt raw_storage_iterator< _OutIt, _Ty >::iter_type
template<class _OutIt , class _Ty >
typedef _OutIt raw_storage_iterator< _OutIt, _Ty >::iterator_type

Constructor & Destructor Documentation

template<class _OutIt , class _Ty >
raw_storage_iterator< _OutIt, _Ty >::raw_storage_iterator ( _OutIt  _First)
inlineexplicit
707  : _Next(_First)
708  { // construct with iterator
709  }
_OutIt _Next
Definition: xmemory:736

Member Function Documentation

template<class _OutIt , class _Ty >
raw_storage_iterator<_OutIt, _Ty>& raw_storage_iterator< _OutIt, _Ty >::operator* ( )
inline
712  { // pretend to return designated value
713  return (*this);
714  }
template<class _OutIt , class _Ty >
raw_storage_iterator<_OutIt, _Ty>& raw_storage_iterator< _OutIt, _Ty >::operator++ ( )
inline
723  { // preincrement
724  ++_Next;
725  return (*this);
726  }
_OutIt _Next
Definition: xmemory:736
template<class _OutIt , class _Ty >
raw_storage_iterator<_OutIt, _Ty> raw_storage_iterator< _OutIt, _Ty >::operator++ ( int  )
inline
729  { // postincrement
731  ++_Next;
732  return (_Ans);
733  }
Definition: xmemory:698
_OutIt _Next
Definition: xmemory:736
template<class _OutIt, class _Ty>
raw_storage_iterator<_OutIt, _Ty>& raw_storage_iterator< _OutIt, _Ty >::operator= ( const _Ty &  _Val)
inline
717  { // construct value designated by stored iterator
718  _Construct(&*_Next, _Val);
719  return (*this);
720  }
void _Construct(_Ty1 *_Ptr, _Ty2 &&_Val)
Definition: xmemory0:37
_OutIt _Next
Definition: xmemory:736
_FwdIt const _Ty _Val
Definition: algorithm:1938

Member Data Documentation

template<class _OutIt, class _Ty>
_OutIt raw_storage_iterator< _OutIt, _Ty >::_Next
private

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