mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-05 15:54:39 +02:00
Fix prior's requirements (see http://article.gmane.org/gmane.comp.lib.boost.devel/187753/)
[SVN r52207]
This commit is contained in:
@@ -48,14 +48,14 @@ Parameters
|
|||||||
+---------------+---------------------------+-----------------------------------+
|
+---------------+---------------------------+-----------------------------------+
|
||||||
| Parameter | Requirement | Description |
|
| Parameter | Requirement | Description |
|
||||||
+===============+===========================+===================================+
|
+===============+===========================+===================================+
|
||||||
| ``Iterator`` | |Forward Iterator|. | An iterator to decrement. |
|
| ``Iterator`` | |Bidirectional Iterator|. | An iterator to decrement. |
|
||||||
+---------------+---------------------------+-----------------------------------+
|
+---------------+---------------------------+-----------------------------------+
|
||||||
|
|
||||||
|
|
||||||
Expression semantics
|
Expression semantics
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
For any |Forward Iterator|\ s ``iter``:
|
For any |Bidirectional Iterator|\ s ``iter``:
|
||||||
|
|
||||||
|
|
||||||
.. parsed-literal::
|
.. parsed-literal::
|
||||||
@@ -63,7 +63,7 @@ For any |Forward Iterator|\ s ``iter``:
|
|||||||
typedef prior<iter>::type j;
|
typedef prior<iter>::type j;
|
||||||
|
|
||||||
:Return type:
|
:Return type:
|
||||||
|Forward Iterator|.
|
|Bidirectional Iterator|.
|
||||||
|
|
||||||
:Precondition:
|
:Precondition:
|
||||||
``iter`` is decrementable.
|
``iter`` is decrementable.
|
||||||
|
Reference in New Issue
Block a user