STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Functions
iterator File Reference
#include <istream>
#include <xutility>

Classes

class  back_insert_iterator< _Container >
 
struct  _Is_checked_helper< back_insert_iterator< _Container > >
 
class  front_insert_iterator< _Container >
 
struct  _Is_checked_helper< front_insert_iterator< _Container > >
 
class  insert_iterator< _Container >
 
struct  _Is_checked_helper< insert_iterator< _Container > >
 
class  istream_iterator< _Ty, _Elem, _Traits, _Diff >
 
struct  _Is_checked_helper< istream_iterator< _Ty, _Elem, _Traits, _Diff > >
 
class  ostream_iterator< _Ty, _Elem, _Traits >
 
struct  _Is_checked_helper< ostream_iterator< _Ty, _Elem, _Traits > >
 
class  checked_array_iterator< _Iterator >
 
class  unchecked_array_iterator< _Iterator >
 

Macros

#define _ITERATOR_
 

Functions

template<class _Container >
back_insert_iterator< _Container > back_inserter (_Container &_Cont)
 
template<class _Container >
front_insert_iterator< _Container > front_inserter (_Container &_Cont)
 
template<class _Container >
insert_iterator< _Container > inserter (_Container &_Cont, typename _Container::iterator _Where)
 
template<class _Ty , class _Elem , class _Traits , class _Diff >
bool operator== (const istream_iterator< _Ty, _Elem, _Traits, _Diff > &_Left, const istream_iterator< _Ty, _Elem, _Traits, _Diff > &_Right)
 
template<class _Ty , class _Elem , class _Traits , class _Diff >
bool operator!= (const istream_iterator< _Ty, _Elem, _Traits, _Diff > &_Left, const istream_iterator< _Ty, _Elem, _Traits, _Diff > &_Right)
 
template<class _Iterator >
checked_array_iterator< _Iterator >::_Unchecked_type _Unchecked (checked_array_iterator< _Iterator > _Iter)
 
template<class _Iterator >
checked_array_iterator< _Iterator > & _Rechecked (checked_array_iterator< _Iterator > &_Iter, typename checked_array_iterator< _Iterator >::_Unchecked_type _Right)
 
template<class _Iterator >
checked_array_iterator< _Iterator > operator+ (typename checked_array_iterator< _Iterator >::difference_type _Off, checked_array_iterator< _Iterator > _Next)
 
template<class _Iterator >
checked_array_iterator< _Iterator > make_checked_array_iterator (_Iterator _Array, size_t _Size, size_t _Index=0)
 
template<class _Iterator >
unchecked_array_iterator< _Iterator >::_Unchecked_type _Unchecked (unchecked_array_iterator< _Iterator > _Iter)
 
template<class _Iterator >
unchecked_array_iterator< _Iterator > & _Rechecked (unchecked_array_iterator< _Iterator > &_Iter, typename unchecked_array_iterator< _Iterator >::_Unchecked_type _Right)
 
template<class _Iterator >
unchecked_array_iterator< _Iterator > operator+ (typename unchecked_array_iterator< _Iterator >::difference_type _Off, unchecked_array_iterator< _Iterator > _Next)
 
template<class _Iterator >
unchecked_array_iterator< _Iterator > make_unchecked_array_iterator (_Iterator _Ptr)
 

Macro Definition Documentation

#define _ITERATOR_

Function Documentation

template<class _Iterator >
checked_array_iterator<_Iterator>& _Rechecked ( checked_array_iterator< _Iterator > &  _Iter,
typename checked_array_iterator< _Iterator >::_Unchecked_type  _Right 
)
inline
532  { // convert to checked
533  return (_Iter._Rechecked(_Right));
534  }
_Myt & _Rechecked(_Unchecked_type _Right)
Definition: iterator:393
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<class _Iterator >
unchecked_array_iterator<_Iterator>& _Rechecked ( unchecked_array_iterator< _Iterator > &  _Iter,
typename unchecked_array_iterator< _Iterator >::_Unchecked_type  _Right 
)
inline
712  { // convert to checked
713  return (_Iter._Rechecked(_Right));
714  }
_Myt & _Rechecked(_Unchecked_type _Right)
Definition: iterator:586
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<class _Iterator >
checked_array_iterator<_Iterator>::_Unchecked_type _Unchecked ( checked_array_iterator< _Iterator >  _Iter)
inline
523  { // convert to unchecked
524  return (_Iter._Unchecked());
525  }
_Unchecked_type _Unchecked() const
Definition: iterator:399
template<class _Iterator >
unchecked_array_iterator<_Iterator>::_Unchecked_type _Unchecked ( unchecked_array_iterator< _Iterator >  _Iter)
inline
703  { // convert to unchecked
704  return (_Iter._Unchecked());
705  }
_Unchecked_type _Unchecked() const
Definition: iterator:592
template<class _Container >
back_insert_iterator<_Container> back_inserter ( _Container &  _Cont)
inline
70  { // return a back_insert_iterator
71  return (back_insert_iterator<_Container>(_Cont));
72  }
Definition: iterator:17
template<class _Container >
front_insert_iterator<_Container> front_inserter ( _Container &  _Cont)
inline
129  { // return front_insert_iterator
130  return (front_insert_iterator<_Container>(_Cont));
131  }
Definition: iterator:76
template<class _Container >
insert_iterator<_Container> inserter ( _Container &  _Cont,
typename _Container::iterator  _Where 
)
inline
192  { // return insert_iterator
193  return (insert_iterator<_Container>(_Cont, _Where));
194  }
Definition: iterator:135
template<class _Iterator >
checked_array_iterator<_Iterator> make_checked_array_iterator ( _Iterator  _Array,
size_t  _Size,
size_t  _Index = 0 
)
inline
547  { // construct with array, size, and optional index
548  return (checked_array_iterator<_Iterator>(_Array, _Size, _Index));
549  }
Definition: iterator:358
_Size
Definition: vcruntime_string.h:36
template<class _Iterator >
unchecked_array_iterator<_Iterator> make_unchecked_array_iterator ( _Iterator  _Ptr)
inline
727  { // construct with pointer
729  }
Definition: iterator:553
template<class _Ty , class _Elem , class _Traits , class _Diff >
bool operator!= ( const istream_iterator< _Ty, _Elem, _Traits, _Diff > &  _Left,
const istream_iterator< _Ty, _Elem, _Traits, _Diff > &  _Right 
)
inline
292  { // test for istream_iterator inequality
293  return (!(_Left == _Right));
294  }
template<class _Iterator >
checked_array_iterator<_Iterator> operator+ ( typename checked_array_iterator< _Iterator >::difference_type  _Off,
checked_array_iterator< _Iterator >  _Next 
)
inline
540  { // add offset to iterator
541  return (_Next += _Off);
542  }
template<class _Iterator >
unchecked_array_iterator<_Iterator> operator+ ( typename unchecked_array_iterator< _Iterator >::difference_type  _Off,
unchecked_array_iterator< _Iterator >  _Next 
)
inline
720  { // add offset to iterator
721  return (_Next += _Off);
722  }
template<class _Ty , class _Elem , class _Traits , class _Diff >
bool operator== ( const istream_iterator< _Ty, _Elem, _Traits, _Diff > &  _Left,
const istream_iterator< _Ty, _Elem, _Traits, _Diff > &  _Right 
)
inline
281  { // test for istream_iterator equality
282  return (_Left._Equal(_Right));
283  }
bool _Equal(const _Myt &_Right) const
Definition: iterator:248