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  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 >
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 (const checked_array_iterator< _Iterator > _Iter)
 
template<class _Iterator >
checked_array_iterator< _Iterator > & _Rechecked (checked_array_iterator< _Iterator > &_Iter, const typename checked_array_iterator< _Iterator >::_Unchecked_type _Right)
 
template<class _Iterator >
checked_array_iterator< _Iterator > operator+ (const typename checked_array_iterator< _Iterator >::difference_type _Off, checked_array_iterator< _Iterator > _Next)
 
template<class _Iterator >
checked_array_iterator< _Iterator > make_checked_array_iterator (const _Iterator _Array, const size_t _Size, const size_t _Index=0)
 
template<class _Iterator >
unchecked_array_iterator< _Iterator >::_Unchecked_type _Unchecked (const unchecked_array_iterator< _Iterator > _Iter)
 
template<class _Iterator >
unchecked_array_iterator< _Iterator > & _Rechecked (unchecked_array_iterator< _Iterator > &_Iter, const typename unchecked_array_iterator< _Iterator >::_Unchecked_type _Right)
 
template<class _Iterator >
unchecked_array_iterator< _Iterator > operator+ (const typename unchecked_array_iterator< _Iterator >::difference_type _Off, unchecked_array_iterator< _Iterator > _Next)
 
template<class _Iterator >
unchecked_array_iterator< _Iterator > make_unchecked_array_iterator (const _Iterator _Ptr)
 

Macro Definition Documentation

#define _ITERATOR_

Function Documentation

template<class _Iterator >
checked_array_iterator<_Iterator>& _Rechecked ( checked_array_iterator< _Iterator > &  _Iter,
const typename checked_array_iterator< _Iterator >::_Unchecked_type  _Right 
)
inline
507  { // convert to checked
508  return (_Iter._Rechecked(_Right));
509  }
checked_array_iterator & _Rechecked(const _Unchecked_type _Right)
Definition: iterator:328
constexpr const _Ty &() _Right
Definition: algorithm:3723
template<class _Iterator >
unchecked_array_iterator<_Iterator>& _Rechecked ( unchecked_array_iterator< _Iterator > &  _Iter,
const typename unchecked_array_iterator< _Iterator >::_Unchecked_type  _Right 
)
inline
680  { // convert to checked
681  return (_Iter._Rechecked(_Right));
682  }
unchecked_array_iterator & _Rechecked(const _Unchecked_type _Right)
Definition: iterator:554
constexpr const _Ty &() _Right
Definition: algorithm:3723
template<class _Iterator >
checked_array_iterator<_Iterator>::_Unchecked_type _Unchecked ( const checked_array_iterator< _Iterator >  _Iter)
inline
498  { // convert to unchecked
499  return (_Iter._Unchecked());
500  }
_Unchecked_type _Unchecked() const
Definition: iterator:334
template<class _Iterator >
unchecked_array_iterator<_Iterator>::_Unchecked_type _Unchecked ( const unchecked_array_iterator< _Iterator >  _Iter)
inline
671  { // convert to unchecked
672  return (_Iter._Unchecked());
673  }
_Unchecked_type _Unchecked() const
Definition: iterator:560
template<class _Container >
front_insert_iterator<_Container> front_inserter ( _Container &  _Cont)
inline
70  { // return front_insert_iterator
71  return (front_insert_iterator<_Container>(_Cont));
72  }
Definition: iterator:18
template<class _Container >
insert_iterator<_Container> inserter ( _Container &  _Cont,
typename _Container::iterator  _Where 
)
inline
133  { // return insert_iterator
134  return (insert_iterator<_Container>(_Cont, _Where));
135  }
Definition: iterator:77
template<class _Iterator >
checked_array_iterator<_Iterator> make_checked_array_iterator ( const _Iterator  _Array,
const size_t  _Size,
const size_t  _Index = 0 
)
inline
522  { // construct with array, size, and optional index
524  }
_CRT_BEGIN_C_HEADER _Check_return_ _Ret_maybenull_ _In_ size_t _Size
Definition: corecrt_malloc.h:58
_In_ size_t _In_ int _Index
Definition: time.h:102
Definition: iterator:301
template<class _Iterator >
unchecked_array_iterator<_Iterator> make_unchecked_array_iterator ( const _Iterator  _Ptr)
inline
694  { // construct with pointer
696  }
Definition: iterator:528
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
233  { // test for istream_iterator inequality
234  return (!(_Left == _Right));
235  }
template<class _Iterator >
checked_array_iterator<_Iterator> operator+ ( const typename checked_array_iterator< _Iterator >::difference_type  _Off,
checked_array_iterator< _Iterator >  _Next 
)
inline
515  { // add offset to iterator
516  return (_Next += _Off);
517  }
template<class _Iterator >
unchecked_array_iterator<_Iterator> operator+ ( const typename unchecked_array_iterator< _Iterator >::difference_type  _Off,
unchecked_array_iterator< _Iterator >  _Next 
)
inline
688  { // add offset to iterator
689  return (_Next += _Off);
690  }
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
222  { // test for istream_iterator equality
223  return (_Left._Equal(_Right));
224  }
bool _Equal(const istream_iterator &_Right) const
Definition: iterator:187