#include <yat/utility/Range.h>
Public Types | |
typedef T | iterator_type |
Public Member Functions | |
Range (void) | |
Default Constructor. | |
Range (T first, T last) | |
Constructor. | |
T | begin (void) const |
T | end (void) const |
Range & | operator= (const Range &) |
Does not modify underlying data. |
This class can be used to create a shallow copy of range, [first, end), defined by two iterators of type T. This can be useful, for example, when creating numerous sub-ranges of a larger container.
typedef T theplu::yat::utility::Range< T >::iterator_type |
Iterator type T.
T theplu::yat::utility::Range< T >::begin | ( | void | ) | const [inline] |
T theplu::yat::utility::Range< T >::end | ( | void | ) | const [inline] |
Range< T > & theplu::yat::utility::Range< T >::operator= | ( | const Range< T > & | rhs | ) | [inline] |