mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 14:54:30 +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 |
|
||||
+===============+===========================+===================================+
|
||||
| ``Iterator`` | |Forward Iterator|. | An iterator to decrement. |
|
||||
| ``Iterator`` | |Bidirectional Iterator|. | An iterator to decrement. |
|
||||
+---------------+---------------------------+-----------------------------------+
|
||||
|
||||
|
||||
Expression semantics
|
||||
--------------------
|
||||
|
||||
For any |Forward Iterator|\ s ``iter``:
|
||||
For any |Bidirectional Iterator|\ s ``iter``:
|
||||
|
||||
|
||||
.. parsed-literal::
|
||||
@@ -63,7 +63,7 @@ For any |Forward Iterator|\ s ``iter``:
|
||||
typedef prior<iter>::type j;
|
||||
|
||||
:Return type:
|
||||
|Forward Iterator|.
|
||||
|Bidirectional Iterator|.
|
||||
|
||||
:Precondition:
|
||||
``iter`` is decrementable.
|
||||
|
Reference in New Issue
Block a user