lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Types | Public Member Functions
lean::strings::range< Iterator > Class Template Reference

Iterator range. More...

#include <range.h>

List of all members.

Public Types

typedef Iterator iterator
 Iterator type.
typedef Iterator const_iterator
 Iterator type.

Public Member Functions

LEAN_INLINE range ()
 Constructs an empty iterator range.
LEAN_INLINE range (iterator begin, iterator end)
 Constructs an iterator range.
LEAN_INLINE void assign (iterator begin, iterator end)
 Assigns the given iterators to this range.
LEAN_INLINE bool empty () const
 Gets whether this range is empty.
LEAN_INLINE size_t size () const
 Gets the size of this range (only valid for random access iterators).
LEAN_INLINE iteratorbegin ()
 Gets the beginning of this range.
LEAN_INLINE iterator begin () const
 Gets the beginning of this range.
LEAN_INLINE iteratorend ()
 Gets the end of this range.
LEAN_INLINE iterator end () const
 Gets the beginning of this range.
LEAN_INLINE
std::iterator_traits< iterator >
::reference 
operator[] (size_t n) const
 Gets the n-th element.

Detailed Description

template<class Iterator>
class lean::strings::range< Iterator >

Iterator range.


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