added mention of traits requirement under Type Requirements section

[SVN r9216]
This commit is contained in:
Jeremy Siek 2001-02-15 16:49:16 +00:00
parent de84fe8d98
commit 83a4380dab

View File

@ -131,6 +131,13 @@ The <tt>Incrementable</tt> type must be <a
href="http://www.sgi.com/tech/stl/DefaultConstructible.html">Default
Constructible</a>, <a href="./CopyConstructible.html">Copy
Constructible</a>, and <a href="./Assignable.html">Assignable</a>.
Also, the <tt>Incrementable</tt> type must provide access to an
associated <tt>difference_type</tt> and <tt>iterator_category</tt>
through the <a
href="#counting_iterator_traits"><tt>counting_iterator_traits</tt></a>
class.
<p>
Furthermore, if you wish to create a counting iterator that is a <a
href="http://www.sgi.com/tech/stl/ForwardIterator.html"> Forward
Iterator</a>, then the following expressions must be valid:
@ -155,6 +162,8 @@ n = i - j
i < j
</pre>
<h3>Members</h3>
The counting iterator type implements the member functions and