typedef _ValueType ValueType;
typedef _IndexType IndexType;
typedef _IndexType IteratorType;
-
+
+ typedef _ValueType& ValueTypeRef;
+ typedef _ValueType* ValueTypePtr;
+ typedef const _ValueType CValueType;
+ typedef const _ValueType& CValueTypeRef;
+ typedef const _ValueType* CValueTypePtr;
+
protected:
ContainerMemberType m_con;
{
public:
typedef T IteratorType;
+
typedef T ValueType;
+ typedef T ValueTypeRef;
+ typedef T* ValueTypePtr;
+ typedef const T CValueType;
+ typedef const T CValueTypeRef;
+ typedef const T* CValueTypePtr;
protected:
T m_it;
}
// Value
- T& get_value_ref() const
+ //T& get_value_ref() const
+ T get_value_ref() const
{
return m_it;
}
work[0] = 1;
//indexer_iterator<char*, char>::type a = _indexer_iterator_impl<char*, char>(work,32);
- indexer_iterator<int*, int>::type a = make_indexer_iterator<int*, int>(work,1,lengthof(work));
+ indexer_iterator<int*, int>::type a = make_indexer_iterator<int*, int>(work,0,lengthof(work));
counter_iterator ca(lengthof(work));
//*a = 0;