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:
parent
34feedf82f
commit
170bca7044
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue