added member typedefs to reverse_iterator spec

[SVN r21645]
This commit is contained in:
Jeremy Siek committed 2004-01-12 20:26:36 +00:00
1 parent 954d12a04d
commit 75e76eb637
4 files changed
+42 -13

No files matched your search

+11
View File
@@ -4,6 +4,12 @@
class reverse_iterator
{
public:
typedef iterator_traits<Iterator>::value_type value_type;
typedef iterator_traits<Iterator>::reference reference;
typedef iterator_traits<Iterator>::pointer pointer;
typedef iterator_traits<Iterator>::difference_type difference_type;
typedef /* see below */ iterator_category;
reverse_iterator() {}
explicit reverse_iterator(Iterator x) ;
@@ -21,6 +27,11 @@
};
The ``iterator_category`` member is a type convertible to the tags
corresponding to each standard concept modeled by
``reverse_iterator``, as described in the models section.
``reverse_iterator`` requirements
.................................