forked from boostorg/fusion
fixes typos: at<0>(...
[SVN r37339]
This commit is contained in:
@ -200,7 +200,7 @@ __bidirectional_sequence__
|
|||||||
[variablelist Notation
|
[variablelist Notation
|
||||||
[[`s`] [A Random Access Sequence]]
|
[[`s`] [A Random Access Sequence]]
|
||||||
[[`S`] [A Random Access Sequence type]]
|
[[`S`] [A Random Access Sequence type]]
|
||||||
[[`N`] [An integral constant]]
|
[[`N`] [An __mpl_integral_constant__]]
|
||||||
[[`o`] [An arbitrary object]]
|
[[`o`] [An arbitrary object]]
|
||||||
[[`e`] [A Sequence element]]
|
[[`e`] [A Sequence element]]
|
||||||
]
|
]
|
||||||
@ -491,7 +491,7 @@ time). The runtime cost of access to each element is peculiarly constant
|
|||||||
[[`car`] [An arbitrary data]]
|
[[`car`] [An arbitrary data]]
|
||||||
[[`cdr`] [Another `cons` list]]
|
[[`cdr`] [Another `cons` list]]
|
||||||
[[`s`] [A __forward_sequence__]]
|
[[`s`] [A __forward_sequence__]]
|
||||||
[[`N`] [An Integral Constant]]
|
[[`N`] [An __mpl_integral_constant__]]
|
||||||
]
|
]
|
||||||
|
|
||||||
[heading Expression Semantics]
|
[heading Expression Semantics]
|
||||||
@ -519,8 +519,8 @@ constant (see __recursive_inline__).]
|
|||||||
[heading Example]
|
[heading Example]
|
||||||
|
|
||||||
cons<int, cons<float> > l(12, cons<float>(5.5f));
|
cons<int, cons<float> > l(12, cons<float>(5.5f));
|
||||||
std::cout << __at__<0>(l) << std::endl;
|
std::cout << __at_c__<0>(l) << std::endl;
|
||||||
std::cout << __at__<1>(l) << std::endl;
|
std::cout << __at_c__<1>(l) << std::endl;
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
@ -576,7 +576,7 @@ including any Fusion header to change the default. Example:
|
|||||||
[[`l`] [An instance of `list`]]
|
[[`l`] [An instance of `list`]]
|
||||||
[[`e0`...`en`] [Heterogeneous values]]
|
[[`e0`...`en`] [Heterogeneous values]]
|
||||||
[[`s`] [A __forward_sequence__]]
|
[[`s`] [A __forward_sequence__]]
|
||||||
[[`N`] [An Integral Constant]]
|
[[`N`] [An __mpl_integral_constant__]]
|
||||||
]
|
]
|
||||||
|
|
||||||
[heading Expression Semantics]
|
[heading Expression Semantics]
|
||||||
@ -602,8 +602,8 @@ constant (see __recursive_inline__).]
|
|||||||
[heading Example]
|
[heading Example]
|
||||||
|
|
||||||
list<int, float> l(12, 5.5f);
|
list<int, float> l(12, 5.5f);
|
||||||
std::cout << __at__<0>(l) << std::endl;
|
std::cout << __at_c__<0>(l) << std::endl;
|
||||||
std::cout << __at__<1>(l) << std::endl;
|
std::cout << __at_c__<1>(l) << std::endl;
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
@ -1678,7 +1678,7 @@ Returns the N-th element from the beginning of the sequence.
|
|||||||
[table
|
[table
|
||||||
[[Parameter] [Requirement] [Description]]
|
[[Parameter] [Requirement] [Description]]
|
||||||
[[`seq`] [Model of __random_access_sequence__] [The sequence we wish to investigate.]]
|
[[`seq`] [Model of __random_access_sequence__] [The sequence we wish to investigate.]]
|
||||||
[[`N`] [An __mpl__ integral constant] [An index from the beginning of the
|
[[`N`] [An __mpl_integral_constant__] [An index from the beginning of the
|
||||||
sequence.]]
|
sequence.]]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user