mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-12 14:01:37 +00:00
Incorporated Keith MacDonald's comments
[SVN r22567]
This commit is contained in:
parent
0c3a68530e
commit
bed1d7fa7a
Binary file not shown.
@ -474,11 +474,12 @@ the underlying iterator object of a <tt class="literal"><span class="pre">revers
|
|||||||
</table>
|
</table>
|
||||||
<p>The user of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> creates a class derived from an
|
<p>The user of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> creates a class derived from an
|
||||||
instantiation of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> and then selectively
|
instantiation of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> and then selectively
|
||||||
redefines some of the core member functions described in the table
|
redefines some of the core member functions described in the
|
||||||
above. The <tt class="literal"><span class="pre">Base</span></tt> type need not meet the full requirements for an
|
<tt class="literal"><span class="pre">iterator_facade</span></tt> core requirements table. The <tt class="literal"><span class="pre">Base</span></tt> type need
|
||||||
iterator. It need only support the operations used by the core
|
not meet the full requirements for an iterator; it need only
|
||||||
interface functions of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> that have not been
|
support the operations used by the core interface functions of
|
||||||
redefined in the user's derived class.</p>
|
<tt class="literal"><span class="pre">iterator_adaptor</span></tt> that have not been redefined in the user's
|
||||||
|
derived class.</p>
|
||||||
<p>Several of the template parameters of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> default
|
<p>Several of the template parameters of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> default
|
||||||
to <tt class="literal"><span class="pre">use_default</span></tt>. This allows the
|
to <tt class="literal"><span class="pre">use_default</span></tt>. This allows the
|
||||||
user to make use of a default parameter even when she wants to
|
user to make use of a default parameter even when she wants to
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -92,11 +92,12 @@ the underlying iterator object of a <tt class="literal"><span class="pre">revers
|
|||||||
</table>
|
</table>
|
||||||
<p>The user of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> creates a class derived from an
|
<p>The user of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> creates a class derived from an
|
||||||
instantiation of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> and then selectively
|
instantiation of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> and then selectively
|
||||||
redefines some of the core member functions described in the table
|
redefines some of the core member functions described in the
|
||||||
above. The <tt class="literal"><span class="pre">Base</span></tt> type need not meet the full requirements for an
|
<tt class="literal"><span class="pre">iterator_facade</span></tt> core requirements table. The <tt class="literal"><span class="pre">Base</span></tt> type need
|
||||||
iterator. It need only support the operations used by the core
|
not meet the full requirements for an iterator; it need only
|
||||||
interface functions of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> that have not been
|
support the operations used by the core interface functions of
|
||||||
redefined in the user's derived class.</p>
|
<tt class="literal"><span class="pre">iterator_adaptor</span></tt> that have not been redefined in the user's
|
||||||
|
derived class.</p>
|
||||||
<p>Several of the template parameters of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> default
|
<p>Several of the template parameters of <tt class="literal"><span class="pre">iterator_adaptor</span></tt> default
|
||||||
to <tt class="literal"><span class="pre">use_default</span></tt>. This allows the
|
to <tt class="literal"><span class="pre">use_default</span></tt>. This allows the
|
||||||
user to make use of a default parameter even when she wants to
|
user to make use of a default parameter even when she wants to
|
||||||
|
Binary file not shown.
@ -18,11 +18,12 @@ instance of the ``Base`` type, which it stores as a member.
|
|||||||
|
|
||||||
The user of ``iterator_adaptor`` creates a class derived from an
|
The user of ``iterator_adaptor`` creates a class derived from an
|
||||||
instantiation of ``iterator_adaptor`` and then selectively
|
instantiation of ``iterator_adaptor`` and then selectively
|
||||||
redefines some of the core member functions described in the table
|
redefines some of the core member functions described in the
|
||||||
above. The ``Base`` type need not meet the full requirements for an
|
``iterator_facade`` core requirements table. The ``Base`` type need
|
||||||
iterator. It need only support the operations used by the core
|
not meet the full requirements for an iterator; it need only
|
||||||
interface functions of ``iterator_adaptor`` that have not been
|
support the operations used by the core interface functions of
|
||||||
redefined in the user's derived class.
|
``iterator_adaptor`` that have not been redefined in the user's
|
||||||
|
derived class.
|
||||||
|
|
||||||
Several of the template parameters of ``iterator_adaptor`` default
|
Several of the template parameters of ``iterator_adaptor`` default
|
||||||
to ``use_default``. This allows the
|
to ``use_default``. This allows the
|
||||||
|
@ -1287,6 +1287,10 @@ appropriate:</p>
|
|||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
|
private:
|
||||||
|
struct enabler {};
|
||||||
|
|
||||||
|
public:
|
||||||
template <class OtherValue>
|
template <class OtherValue>
|
||||||
node_iter(
|
node_iter(
|
||||||
node_iter<OtherValue> const& other
|
node_iter<OtherValue> const& other
|
||||||
|
Binary file not shown.
@ -483,6 +483,10 @@ appropriate::
|
|||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
|
private:
|
||||||
|
struct enabler {};
|
||||||
|
|
||||||
|
public:
|
||||||
template <class OtherValue>
|
template <class OtherValue>
|
||||||
node_iter(
|
node_iter(
|
||||||
node_iter<OtherValue> const& other
|
node_iter<OtherValue> const& other
|
||||||
|
Loading…
x
Reference in New Issue
Block a user