mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-29 12:27:33 +02:00
added pseudo-code for facade_iterator_category type function
[SVN r21736]
This commit is contained in:
@ -66,13 +66,13 @@ following pseudo-code. We use the abbreviation
|
||||
else
|
||||
typedef Difference difference_type;
|
||||
|
||||
``iterator_category`` satisfies the following conditions, where
|
||||
``R`` is ``reference`` and ``V`` is ``value_type``, and where: if
|
||||
``CategoryOrTraversal`` is ``use_default``, ``C`` is
|
||||
``iterator_traversal<Iterator>::type`` and otherwise ``C`` is
|
||||
``CategoryOrTraversal``.
|
||||
|
||||
.. include:: facade_iterator_category.rst
|
||||
|
||||
The ``iterator_category`` member is ``facade_iterator_category(C,
|
||||
value_type, reference)`` where if ``CategoryOrTraversal`` is
|
||||
``use_default``, ``C`` is ``iterator_traversal<Iterator>::type`` and
|
||||
otherwise ``C`` is ``CategoryOrTraversal``.
|
||||
|
||||
|
||||
``indirect_iterator`` requirements
|
||||
..................................
|
||||
|
Reference in New Issue
Block a user