Public Types | Public Member Functions | Protected Attributes | List of all members
ustl::reverse_iterator< Iterator > Class Template Reference

Wraps Iterator to behave in an exactly opposite manner. More...

#include <ustl.h>

Public Types

typedef iterator_traits< Iterator >::value_type value_type
 
typedef iterator_traits< Iterator >::difference_type difference_type
 
typedef iterator_traits< Iterator >::pointer pointer
 
typedef iterator_traits< Iterator >::reference reference
 

Public Member Functions

 reverse_iterator (Iterator iter)
 
bool operator== (const reverse_iterator &iter) const
 
bool operator< (const reverse_iterator &iter) const
 
Iterator base (void) const
 
reference operator* (void) const
 
pointer operator-> (void) const
 
reverse_iteratoroperator++ (void)
 
reverse_iteratoroperator-- (void)
 
reverse_iterator operator++ (int)
 
reverse_iterator operator-- (int)
 
reverse_iteratoroperator+= (size_t n)
 
reverse_iteratoroperator-= (size_t n)
 
reverse_iterator operator+ (size_t n) const
 
reverse_iterator operator- (size_t n) const
 
reference operator[] (uoff_t n) const
 
difference_type operator- (const reverse_iterator &i) const
 

Protected Attributes

Iterator _i
 

Detailed Description

template<class Iterator>
class ustl::reverse_iterator< Iterator >

Wraps Iterator to behave in an exactly opposite manner.


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

Generated on Mon Sep 28 2015 17:58:50 for uSTL by Doxygen 1.8.10