typedef Iterator<BlockVectorType,!constness> InverseConstnessIterator;
public:
+ /**
+ * Type of the number this
+ * iterator points
+ * to. Depending on the value
+ * of the second template
+ * parameter, this is either a
+ * constant or non-const
+ * number.
+ */
+ typedef
+ typename Types<BlockVectorType,constness>::value_type
+ value_type;
+
/**
* Declare some typedefs which
* are standard for iterators
* they work on.
*/
typedef std::random_access_iterator_tag iterator_type;
- typedef typename Types<BlockVectorType,constness>::value_type value_type;
typedef ptrdiff_t difference_type;
typedef typename BlockVectorType::reference reference;
typedef value_type *pointer;
typename Types<BlockVectorType,constness>::BlockVector
BlockVector;
- /**
- * Type of the number this
- * iterator points
- * to. Depending on the value
- * of the second template
- * parameter, this is either a
- * constant or non-const
- * number.
- */
- typedef
- typename Types<BlockVectorType,constness>::value_type
- value_type;
-
/**
* Construct an iterator from
* a vector to which we point