From Jason Turner

[iterator.basic]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpis04ke_2/{from.md → to.md} +0 -19
tmp/tmpis04ke_2/{from.md → to.md} RENAMED
@@ -1,19 +0,0 @@
1
- ### Basic iterator <a id="iterator.basic">[[iterator.basic]]</a>
2
-
3
- The `iterator` template may be used as a base class to ease the
4
- definition of required types for new iterators.
5
-
6
- ``` cpp
7
- namespace std {
8
- template<class Category, class T, class Distance = ptrdiff_t,
9
- class Pointer = T*, class Reference = T&>
10
- struct iterator {
11
- typedef T value_type;
12
- typedef Distance difference_type;
13
- typedef Pointer pointer;
14
- typedef Reference reference;
15
- typedef Category iterator_category;
16
- };
17
- }
18
- ```
19
-