mtl::irange Class Reference

Class to define a half open index ranges. More...

#include <irange.hpp>

List of all members.

Public Member Functions

 irange (size_type start, size_type finish)
 Create an index range of [start, finish).
 irange (size_type finish)
 Create an index range of [0, finish).
 irange ()
 Create an index range of [0, imax), i.e. all indices.
size_type start ()
 First index in range.
size_type finish ()
 Past-end index in range.
size_type size ()
 Number of indices.


Detailed Description

Class to define a half open index ranges.
The documentation for this class was generated from the following file:





mtl::irange Class Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Generated on 19 May 2009 by Doxygen 1.5.5 -- Copyright 2007 by the Trustees of Indiana University.