mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-20 08:02:10 +02:00
Fixed up definition of facade's iterator_category
fixed table widths in new-iter-concepts cross-referenced interoperability concept in iterator_facade_tutorial iterator_traversal can't satisfy UnaryTypeTrait: that's a boolean trait. [SVN r21742]
This commit is contained in:
@ -388,7 +388,7 @@ just as you can with ``std::list<int>``\ 's ``iterator`` and
|
||||
compare them for equality.
|
||||
|
||||
This expected ability to use two different iterator types together
|
||||
is known as **interoperability**. Achieving interoperability in
|
||||
is known as |interoperability|_. Achieving interoperability in
|
||||
our case is as simple as templatizing the ``equal`` function and
|
||||
adding a templatized converting constructor [#broken]_ [#random]_::
|
||||
|
||||
@ -432,6 +432,9 @@ adding a templatized converting constructor [#broken]_ [#random]_::
|
||||
typedef impl::node_iterator<node_base> node_iterator;
|
||||
typedef impl::node_iterator<node_base const> node_const_iterator;
|
||||
|
||||
.. |interoperability| replace:: **interoperability**
|
||||
.. _interoperability: new-iter-concepts.html#interoperable-iterators-lib-interoperable-iterators
|
||||
|
||||
.. [#broken] If you're using an older compiler and it can't handle
|
||||
this example, see the `example code`__ for workarounds.
|
||||
|
||||
|
Reference in New Issue
Block a user