A range class that refers to an interval [start, stop), where 'start' is included, and 'stop' is excluded. More...
#include <forwards.h>
Public Types | |
typedef SizeT | size_type |
typedef DistanceT | difference_type |
typedef size_type | value_type |
typedef value_type | const_reference |
typedef const_reference | reference |
Public Member Functions | |
basic_range () | |
basic_range (size_type start_index, size_type stop_index) | |
size_type | start () const |
size_type | size () const |
const_reference | operator() (size_type i) const |
const_reference | operator[] (size_type i) const |
bool | operator== (const basic_range &r) const |
bool | operator!= (const basic_range &r) const |
A range class that refers to an interval [start, stop), where 'start' is included, and 'stop' is excluded.
Similar to the boost::numeric::ublas::basic_range class.
Definition at line 424 of file forwards.h.
typedef value_type viennacl::basic_range< SizeType, DistanceType >::const_reference |
typedef DistanceT viennacl::basic_range< SizeType, DistanceType >::difference_type |
typedef const_reference viennacl::basic_range< SizeType, DistanceType >::reference |
typedef SizeT viennacl::basic_range< SizeType, DistanceType >::size_type |
typedef size_type viennacl::basic_range< SizeType, DistanceType >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |