#193 base_array_unmanaged::iterator tags missing
Metadata
Property | Value |
---|---|
Reported by | unknown (unknown) |
Reported at | Nov 1, 2006 13:49 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Closed by | Markus Blatt (markus@dr-blatt.de) |
Closed at | Nov 8, 2006 13:55 |
Closed in version | Unknown |
Resolution | Implemented |
Comment | Implemented in revision 670. |
Other iterators were changed accordingly. |
Description
In base_array_unmanaged::iterator and base_array_unmanaged::const_iterator the nested types iterator_category, value_type etc. are undefined. This can lead to compile errors when using STL algorithms. The following patch should solve the problem:
6a7
#include 79c80 < class iterator
class iterator: public std::iterator<std::bidirectional_iterator_tag,B>
81c82,83 < public:
public:
190c192,193 < class const_iterator
class const_iterator: public std::iterator<std::bidirectional_iterator_tag, B, ptrdiff_t, B const*, B const&>