const correctness: should define the value without const

these typedefs are provided for client code to pick up
the actual type; and for value_type we'd expect the
type without any adornments
This commit is contained in:
Fischlurch 2016-02-04 22:53:39 +01:00
parent 34feedf82f
commit 170bca7044

View file

@ -539,7 +539,7 @@ namespace lib {
public:
typedef const INT* pointer;
typedef const INT& reference;
typedef const INT value_type;
typedef INT value_type;
NumIter (INT start, INT end)
: i_(start)