fusion: merge of associative iterators/views and the new fold interface

[SVN r58618]
This commit is contained in:
Christopher Schmidt
2010-01-01 22:00:21 +00:00
parent b605617c4f
commit cda74605fc
379 changed files with 28481 additions and 2185 deletions

View File

@ -3,5 +3,8 @@ Interface Changes
- June 12, 2009: vector0 is now vector0<> as per Boost Trac Ticket #1608 - June 12, 2009: vector0 is now vector0<> as per Boost Trac Ticket #1608
to follow MPL more closely. to follow MPL more closely.
- September 24, 2009: added nview and friends - September 24, 2009: added nview and friends
- October 12, 2009: the accumulator is the first argument to the functor of
fold and accumulate. Fixes Boost Trac Ticket #2355.
- October 30, 2009: Added support for associative iterators & views.
Renamed associative_sequence_tag to associative_tag. Fixes Boost Trac
Ticket #3473.

View File

@ -62,7 +62,7 @@ a sequence repeatedly applying an operation to its elements.
[section fold] [section fold]
[heading Description] [heading Description]
For a sequence `Seq`, initial state, and binary function object or function pointer `f`, fold repeatedly applies binary `f` to each element of `Seq` and the previous state. For a sequence `seq`, initial state `initial_state`, and binary function object or function pointer `f`, fold returns the result of the repeated application of binary `f` to the result of the previous `f` invocation (`inital_state` if it is the first call) and each element of `seq`.
[heading Synopsis] [heading Synopsis]
template< template<
@ -75,9 +75,9 @@ For a sequence `Seq`, initial state, and binary function object or function poin
[table Parameters [table Parameters
[[Parameter][Requirement][Description]] [[Parameter][Requirement][Description]]
[[`seq`][A model of __forward_sequence__,`f(e,s)` must be a valid expression for each element `e` in `seq`, and current state `s`][Operation's argument]] [[`seq`][A model of __forward_sequence__, `f(s,e)` must be a valid expression for current state `s`, and each element `e` in `seq`][Operation's argument]]
[[`initial_state`][Any type][Initial state]] [[`initial_state`][Any type][Initial state]]
[[`f`][`__boost_result_of_call__<F(E,S)>::type` is the return type of `f(e,s)` for each element `e` of type `E` in `seq`, and current state `s` of type `S`][Operation's argument]] [[`f`][`__boost_result_of_call__<F(S,E)>::type` is the return type of `f(s,e)` current state `s` of type `S`, and for each element `e` of type `E` in `seq`][Operation's argument]]
] ]
[heading Expression Semantics] [heading Expression Semantics]
@ -85,7 +85,7 @@ For a sequence `Seq`, initial state, and binary function object or function poin
[*Return type]: Any type [*Return type]: Any type
[*Semantics]: Equivalent to `f(eN ....f(e2,f(e1,initial_state)))` where `e1 ...eN` are the elements of `seq`. [*Semantics]: Equivalent to `f(... f(f(initial_state,e1),e2) ...eN)` where `e1 ...eN` are the elements of `seq`.
[heading Complexity] [heading Complexity]
Linear, exactly `__result_of_size__<Sequence>::value` applications of `f`. Linear, exactly `__result_of_size__<Sequence>::value` applications of `f`.
@ -101,7 +101,7 @@ Linear, exactly `__result_of_size__<Sequence>::value` applications of `f`.
typedef std::string result_type; typedef std::string result_type;
template<typename T> template<typename T>
std::string operator()(const T& t, const std::string& str) const std::string operator()(const std::string& str, const T& t) const
{ {
return str + boost::lexical_cast<std::string>(t); return str + boost::lexical_cast<std::string>(t);
} }
@ -115,7 +115,7 @@ Linear, exactly `__result_of_size__<Sequence>::value` applications of `f`.
[section accumulate] [section accumulate]
[heading Description] [heading Description]
For a sequence `Seq`, initial state, and binary function object or function pointer `f`, accumulate repeatedly applies binary `f` to each element of `Seq` and the previous state. For a sequence `seq`, initial state `initial_state`, and binary function object or function pointer `f`, accumulate returns the result of the repeated application of binary `f` to the result of the previous `f` invocation (`inital_state` if it is the first call) and each element of `seq`.
[heading Synopsis] [heading Synopsis]
template< template<
@ -128,9 +128,9 @@ For a sequence `Seq`, initial state, and binary function object or function poin
[table Parameters [table Parameters
[[Parameter][Requirement][Description]] [[Parameter][Requirement][Description]]
[[`seq`][A model of __forward_sequence__, `f(eN ....f(e2,f(e1,initial_state)))` must be a valid expression for each element `e1` to `eN` in `seq`][Operation's argument]] [[`seq`][A model of __forward_sequence__, `f(s,e)` must be a valid expression for current state `s`, and each element `e` in `seq`][Operation's argument]]
[[`initial_state`][Any type][Initial state]] [[`initial_state`][Any type][Initial state]]
[[`f`][`__boost_result_of_call__<F(E,S)>::type` is the return type of `f(e,s)` for each element `e` of type `E` in `seq`, and current state `s` of type `S`][Operation's argument]] [[`f`][`__boost_result_of_call__<F(S,E)>::type` is the return type of `f(s,e)` current state `s` of type `S`, and for each element `e` of type `E` in `seq`][Operation's argument]]
] ]
[heading Expression Semantics] [heading Expression Semantics]
@ -138,7 +138,7 @@ For a sequence `Seq`, initial state, and binary function object or function poin
[*Return type]: Any type [*Return type]: Any type
[*Semantics]: Equivalent to `f(eN ....f(e2,f(e1,initial_state)))` where `e1 ...eN` are the elements of `seq`. [*Semantics]: Equivalent to `f(... f(f(initial_state,e1),e2) ...eN)` where `e1 ...eN` are the elements of `seq`.
[heading Complexity] [heading Complexity]
Linear, exactly `__result_of_size__<Sequence>::value` applications of `f`. Linear, exactly `__result_of_size__<Sequence>::value` applications of `f`.
@ -154,7 +154,7 @@ Linear, exactly `__result_of_size__<Sequence>::value` applications of `f`.
typedef std::string result_type; typedef std::string result_type;
template<typename T> template<typename T>
std::string operator()(const T& t, const std::string& str) const std::string operator()(const std::string& str, const T& t) const
{ {
return str + boost::lexical_cast<std::string>(t); return str + boost::lexical_cast<std::string>(t);
} }
@ -238,7 +238,7 @@ Returns the result type of __fold__.
[[Parameter] [Requirement] [Description]] [[Parameter] [Requirement] [Description]]
[[`Sequence`] [A model of __forward_sequence__] [The sequence to iterate]] [[`Sequence`] [A model of __forward_sequence__] [The sequence to iterate]]
[[`State`] [Any type] [The initial state for the first application of `F`]] [[`State`] [Any type] [The initial state for the first application of `F`]]
[[`F`] [`__boost_result_of_call__<F(E,S)>::type` is the return type of `f(e,s)` for each element `e` of type `E` in `seq`, and current state `s` of type `S`] [The operation to be applied on forward traversal]] [[`F`] [`__boost_result_of_call__<F(S,E)>::type` is the return type of `f(s,e)` for current state `s` of type `S`, and for each element `e` of type `E` in `seq`] [The operation to be applied on forward traversal]]
] ]
[heading Expression Semantics] [heading Expression Semantics]
@ -278,7 +278,7 @@ Returns the result type of __accumulate__.
[[Parameter] [Requirement] [Description]] [[Parameter] [Requirement] [Description]]
[[`Sequence`] [A model of __forward_sequence__] [The sequence to iterate]] [[`Sequence`] [A model of __forward_sequence__] [The sequence to iterate]]
[[`State`] [Any type] [The initial state for the first application of `F`]] [[`State`] [Any type] [The initial state for the first application of `F`]]
[[`F`] [`__boost_result_of_call__<F(E,S)>::type` is the return type of `f(e,s)` for each element `e` of type `E` in `seq`, and current state `s` of type `S`] [The operation to be applied on forward traversal]] [[`F`] [`__boost_result_of_call__<F(S,E)>::type` is the return type of `f(s,e)` for current state `s` of type `S`, and for each element `e` of type `E` in `seq`] [The operation to be applied on forward traversal]]
] ]
[heading Expression Semantics] [heading Expression Semantics]
@ -583,8 +583,8 @@ or `__end__(seq)` if there is no such element.
[heading Complexity] [heading Complexity]
Linear. At most `__result_of_size__<Sequence>::value` comparisons. Linear. At most `__result_of_size__<Sequence>::value` comparisons.
#include <boost/fusion/algorithm/query/find_if.hpp>
/algorithm/query/find_if.hpp> #include <boost/fusion/include/find_if.hpp>
[heading Example] [heading Example]
const __vector__<double,int> vec(1.0,2); const __vector__<double,int> vec(1.0,2);
@ -795,7 +795,7 @@ Constant.
[section find] [section find]
[heading Description] [heading Description]
Returns the result type of `find`, given the sequence and search types. Returns the result type of __find__, given the sequence and search types.
[heading Synopsis] [heading Synopsis]
template< template<
@ -833,7 +833,7 @@ Linear, at most `__result_of_size__<Sequence>::value` comparisons.
[section find_if] [section find_if]
[heading Description] [heading Description]
Returns the result type of `find_if` given the sequence and predicate types. Returns the result type of __find_if__ given the sequence and predicate types.
[heading Synopsis] [heading Synopsis]
template< template<
@ -983,7 +983,10 @@ For a given sequence, filter returns a new sequences containing only the element
[heading Expression Semantics] [heading Expression Semantics]
__filter__<T>(seq); __filter__<T>(seq);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence containing all the elements of `seq` of type `T`. [*Semantics]: Returns a sequence containing all the elements of `seq` of type `T`.
Equivalent to `__filter_if__<boost::same_type<_, T> >(seq)`. Equivalent to `__filter_if__<boost::same_type<_, T> >(seq)`.
@ -1024,7 +1027,10 @@ only the elements with types for which a given __mpl_lambda_expression__ evaluat
[heading Expression Semantics] [heading Expression Semantics]
__filter_if__<Pred>(seq); __filter_if__<Pred>(seq);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence containing all the elements of `seq` with types for which `Pred` evaluates [*Semantics]: Returns a sequence containing all the elements of `seq` with types for which `Pred` evaluates
to `boost::mpl::true_`. The order of the retained elements is the same as in the original sequence. to `boost::mpl::true_`. The order of the retained elements is the same as in the original sequence.
@ -1225,7 +1231,10 @@ Returns a new sequence, with all the elements of the original sequence, except t
[heading Expression Semantics] [heading Expression Semantics]
__remove__<T>(seq); __remove__<T>(seq);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence, containing all the elements of `seq`, in their original order, except [*Semantics]: Returns a new sequence, containing all the elements of `seq`, in their original order, except
those of type `T`. Equivalent to `__remove_if__<boost::is_same<_,T> >(seq)`. those of type `T`. Equivalent to `__remove_if__<boost::is_same<_,T> >(seq)`.
@ -1266,7 +1275,10 @@ function object evaluates to `true`.
[heading Expression Semantics] [heading Expression Semantics]
__remove_if__<Pred>(seq); __remove_if__<Pred>(seq);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence, containing all the elements of `seq`, in their original order, except [*Semantics]: Returns a new sequence, containing all the elements of `seq`, in their original order, except
those elements with types for which `Pred` evaluates to `boost::mpl::true_`. those elements with types for which `Pred` evaluates to `boost::mpl::true_`.
@ -1305,7 +1317,11 @@ Returns a new sequence with the elements of the original in reverse order.
[heading Expression Semantics] [heading Expression Semantics]
__reverse__(seq); __reverse__(seq);
[*Return type]: A model of __bidirectional_sequence__. [*Return type]:
* A model of __bidirectional_sequence__ if `seq` is a __bidirectional_sequence__
else, __random_access_sequence__ if `seq` is a __random_access_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence containing all the elements of `seq` in reverse order. [*Semantics]: Returns a new sequence containing all the elements of `seq` in reverse order.
@ -1390,13 +1406,19 @@ between two iterators.
[heading Expression Semantics] [heading Expression Semantics]
__erase__(seq, pos); __erase__(seq, pos);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence, containing all the elements of `seq` except the element at `pos`. [*Semantics]: Returns a new sequence, containing all the elements of `seq` except the element at `pos`.
__erase__(seq, first, last); __erase__(seq, first, last);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence, with all the elements of `seq`, in their original order, except those [*Semantics]: Returns a new sequence, with all the elements of `seq`, in their original order, except those
in the range [`first`,`last`). in the range [`first`,`last`).
@ -1419,26 +1441,27 @@ Constant. Returns a view which is lazily evaluated.
[section erase_key] [section erase_key]
[heading Description] [heading Description]
For an __associative_sequence__ `seq`, returns a __forward_sequence__ containing all the For an [link fusion.sequence.concepts.associative_sequence associative]] __forward_sequence__ `seq`,
elements of the original except those with a given key. returns a [link fusion.sequence.concepts.associative_sequence associative]] __forward_sequence__ containing
all the elements of the original except those with a given key.
[heading Synposis] [heading Synposis]
template< template<
typename Key, typename Key,
typename Sequence typename Sequence
> >
typename result_of::erase_key<Sequence const, Key>::type erase_key(Sequence const& seq); typename __result_of_erase_key__<Sequence const, Key>::type erase_key(Sequence const& seq);
[table Parameters [table Parameters
[[Parameter][Requirement][Description]] [[Parameter][Requirement][Description]]
[[`seq`][A model of __associative_sequence__][Operation's argument]] [[`seq`][A model of __forward_sequence__ and __associative_sequence__][Operation's argument]]
[[`Key`][Any type][Key to erase]] [[`Key`][Any type][Key to erase]]
] ]
[heading Expression Semantics] [heading Expression Semantics]
__erase_key__<Key>(seq); __erase_key__<Key>(seq);
[*Return type]: A model of __forward_sequence__. [*Return type]: A model of __forward_sequence__ and __associative_sequence__.
[*Semantics]: Returns a new sequence, containing all the elements of `seq`, except those with key `Key`. [*Semantics]: Returns a new sequence, containing all the elements of `seq`, except those with key `Key`.
@ -1467,7 +1490,8 @@ position described by a given iterator.
typename Pos, typename Pos,
typename T typename T
> >
__unspecified__ insert(Sequence const& seq, Pos const& pos, T const& t); typename __result_of_insert__<Sequence const, Pos, T>::type insert(
Sequence const& seq, Pos const& pos, T const& t);
[table Parameters [table Parameters
[[Parameter][Requirement][Description]] [[Parameter][Requirement][Description]]
@ -1479,7 +1503,10 @@ position described by a given iterator.
[heading Expression Semantics] [heading Expression Semantics]
__insert__(seq, p, t); __insert__(seq, p, t);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence, containing all the elements of `seq`, in their original order, and a new element with the [*Semantics]: Returns a new sequence, containing all the elements of `seq`, in their original order, and a new element with the
type and value of `t` inserted at iterator `pos`. type and value of `t` inserted at iterator `pos`.
@ -1522,7 +1549,10 @@ Returns a new sequence with another sequence inserted at a specified iterator.
[heading Expression Semantics] [heading Expression Semantics]
__insert__(seq, pos, range); __insert__(seq, pos, range);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence, containing all the elements of `seq`, and the elements of [*Semantics]: Returns a new sequence, containing all the elements of `seq`, and the elements of
`range` inserted at iterator `pos`. All elements retaining their ordering from the orignal sequences. `range` inserted at iterator `pos`. All elements retaining their ordering from the orignal sequences.
@ -1561,9 +1591,12 @@ Takes 2 sequences and returns a sequence containing the elements of the first fo
[heading Expression Semantics] [heading Expression Semantics]
__join__(lhs, rhs); __join__(lhs, rhs);
[*Return type]: A model of __forward_sequence__. [*Return type]:
[*Semantics]: Returns a sequence containing all the elements of `lhs` followed by all the elements of `rhs`. The order of th elements is preserved. * A model of __forward_sequence__.
* A model of __associative_sequence__ if `lhs` and `rhs` implement the __associative_sequence__ model.
[*Semantics]: Returns a sequence containing all the elements of `lhs` followed by all the elements of `rhs`. The order of the elements is preserved.
[heading Complexity] [heading Complexity]
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
@ -1641,7 +1674,10 @@ Returns a new sequence, with the last element of the original removed.
[heading Expression Semantics] [heading Expression Semantics]
__pop_back__(seq); __pop_back__(seq);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence containing all the elements of `seq`, except the last element. The elements in the new sequence are in the same order as they were in `seq`. [*Semantics]: Returns a new sequence containing all the elements of `seq`, except the last element. The elements in the new sequence are in the same order as they were in `seq`.
@ -1678,7 +1714,10 @@ Returns a new sequence, with the first element of the original removed.
[heading Expression Semantics] [heading Expression Semantics]
__pop_front__(seq); __pop_front__(seq);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence containing all the elements of `seq`, except the first element. The elements in the new sequence are in the same order as they were in `seq`. [*Semantics]: Returns a new sequence containing all the elements of `seq`, except the first element. The elements in the new sequence are in the same order as they were in `seq`.
@ -1717,7 +1756,10 @@ Returns a new sequence with an element added at the end.
[heading Expression Semantics] [heading Expression Semantics]
__push_back__(seq, t); __push_back__(seq, t);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence, containing all the elements of `seq`, and new element `t` appended to the end. The elements are in the same order as they were in `seq`. [*Semantics]: Returns a new sequence, containing all the elements of `seq`, and new element `t` appended to the end. The elements are in the same order as they were in `seq`.
@ -1756,7 +1798,10 @@ Returns a new sequence with an element added at the beginning.
[heading Expression Semantics] [heading Expression Semantics]
__push_back__(seq, t); __push_back__(seq, t);
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `seq` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence, containing all the elements of `seq`, and new element `t` appended to the beginning. The elements are in the same order as they were in `seq`. [*Semantics]: Returns a new sequence, containing all the elements of `seq`, and new element `t` appended to the beginning. The elements are in the same order as they were in `seq`.
@ -1801,7 +1846,10 @@ Returns the result type of __filter__ given the sequence type and type to retain
[heading Expression Semantics] [heading Expression Semantics]
__result_of_filter__<Sequence, T>::type __result_of_filter__<Sequence, T>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence containing the elements of `Sequence` that are of type `T`. Equivalent to `__result_of_filter_if__<Sequence, boost::is_same<mpl::_, T> >::type`. [*Semantics]: Returns a sequence containing the elements of `Sequence` that are of type `T`. Equivalent to `__result_of_filter_if__<Sequence, boost::is_same<mpl::_, T> >::type`.
@ -1839,7 +1887,10 @@ Returns the result type of __filter_if__ given the sequence and unary __mpl_lamb
[heading Expression Semantics] [heading Expression Semantics]
__result_of_filter_if__<Sequence, Pred>::type __result_of_filter_if__<Sequence, Pred>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence containing the elements of `Sequence` for which `Pred` evaluates to `boost::mpl::true_`. [*Semantics]: Returns a sequence containing the elements of `Sequence` for which `Pred` evaluates to `boost::mpl::true_`.
@ -1876,7 +1927,10 @@ with elements created by applying `f(e)` to each element of `e` of `seq`.
[heading Expression Semantics] [heading Expression Semantics]
__transform__(seq, f); __transform__(seq, f);
[*Return type]: A model of __forward_sequence__ [*Return type]:
* A model of __forward_sequence__
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence, containing the return values of `f(e)` for each element `e` within `seq`. [*Semantics]: Returns a new sequence, containing the return values of `f(e)` for each element `e` within `seq`.
@ -2024,7 +2078,10 @@ Returns the result type of __remove__, given the sequence and removal types.
[heading Expression Semantics] [heading Expression Semantics]
__result_of_remove__<Sequence, T>::type __result_of_remove__<Sequence, T>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence containing the elements of `Sequence` not of type `T`. Equivalent to `__result_of_replace_if__<Sequence, boost::is_same<mpl::_, T> >::type`. [*Semantics]: Returns a sequence containing the elements of `Sequence` not of type `T`. Equivalent to `__result_of_replace_if__<Sequence, boost::is_same<mpl::_, T> >::type`.
@ -2062,7 +2119,10 @@ Returns the result type of __remove_if__, given the input sequence and unary __m
[heading Expression Semantics] [heading Expression Semantics]
__result_of_remove_if__<Sequence, Pred>::type __result_of_remove_if__<Sequence, Pred>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence containing the elements of `Sequence` for which `Pred` evaluates to `boost::mpl::false_`. [*Semantics]: Returns a sequence containing the elements of `Sequence` for which `Pred` evaluates to `boost::mpl::false_`.
@ -2098,7 +2158,11 @@ Returns the result type of __reverse__, given the input sequence type.
[heading Expression Semantics] [heading Expression Semantics]
__result_of_reverse__<Sequence>::type __result_of_reverse__<Sequence>::type
[*Return type]: A model of __bidirectional_sequence__. [*Return type]:
* A model of __bidirectional_sequence__ if `Sequence` is a __bidirectional_sequence__
else, __random_access_sequence__ if `Sequence` is a __random_access_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence with the elements in the reverse order to `Sequence`. [*Semantics]: Returns a sequence with the elements in the reverse order to `Sequence`.
@ -2173,7 +2237,10 @@ Returns the result type of __erase__, given the input sequence and range delimit
[heading Expression Semantics] [heading Expression Semantics]
__result_of_erase__<Sequence, It1>::type __result_of_erase__<Sequence, It1>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a new sequence with the element at `It1` removed. [*Semantics]: Returns a new sequence with the element at `It1` removed.
@ -2210,14 +2277,14 @@ Returns the result type of __erase_key__, given the sequence and key types.
[table Parameters [table Parameters
[[Parameter][Requirement][Description]] [[Parameter][Requirement][Description]]
[[`Sequence`][A model of __associative_sequence__][Operation's argument]] [[`Sequence`][A model of __forward_sequence__ and __associative_sequence__][Operation's argument]]
[[`Key`][Any type][Key type]] [[`Key`][Any type][Key type]]
] ]
[heading Expression Semantics] [heading Expression Semantics]
__result_of_erase_key__<Sequence, Key>::type __result_of_erase_key__<Sequence, Key>::type
[*Return type]: A model of __associative_sequence__. [*Return type]: A model of __forward_sequence__ and __associative_sequence__.
[*Semantics]: Returns a sequence with the elements of `Sequence`, except those with key `Key`. [*Semantics]: Returns a sequence with the elements of `Sequence`, except those with key `Key`.
@ -2257,7 +2324,10 @@ Returns the result type of __insert__, given the sequence, position iterator and
[heading Expression Semantics] [heading Expression Semantics]
__result_of_insert__<Sequence, Position, T>::type __result_of_insert__<Sequence, Position, T>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence with an element of type `T` inserted at position `Position` in `Sequence`. [*Semantics]: Returns a sequence with an element of type `T` inserted at position `Position` in `Sequence`.
@ -2297,7 +2367,10 @@ Returns the result type of __insert_range__, given the input sequence, position
[heading Expression Semantics] [heading Expression Semantics]
__result_of_insert_range__<Sequence, Position, Range>::type __result_of_insert_range__<Sequence, Position, Range>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence with the elements of `Range` inserted at position `Position` into `Sequence`. [*Semantics]: Returns a sequence with the elements of `Range` inserted at position `Position` into `Sequence`.
@ -2329,7 +2402,10 @@ Returns the result of joining 2 sequences, given the sequence types.
[heading Expression Semantics] [heading Expression Semantics]
__result_of_join__<LhSequence, RhSequence>::type __result_of_join__<LhSequence, RhSequence>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `LhSequence` amd `RhSequence` implement the __associative_sequence__ model.
[*Semantics]: Returns a sequence containing the elements of `LhSequence` followed by the elements of `RhSequence`. The order of the elements in the 2 sequences is preserved. [*Semantics]: Returns a sequence containing the elements of `LhSequence` followed by the elements of `RhSequence`. The order of the elements in the 2 sequences is preserved.
@ -2399,7 +2475,10 @@ Returns the result type of __pop_back__, given the input sequence type.
[heading Expression Semantics] [heading Expression Semantics]
__result_of_pop_back__<Sequence>::type __result_of_pop_back__<Sequence>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence with all the elements of `Sequence` except the last element. [*Semantics]: Returns a sequence with all the elements of `Sequence` except the last element.
@ -2408,7 +2487,7 @@ Constant.
[heading Header] [heading Header]
#include <boost/fusion/algorithm/tranformation/pop_back.hpp> #include <boost/fusion/algorithm/transformation/pop_back.hpp>
#include <boost/fusion/include/pop_back.hpp> #include <boost/fusion/include/pop_back.hpp>
[endsect] [endsect]
@ -2435,14 +2514,20 @@ Returns the result type of __pop_front__, given the input sequence type.
[heading Expression Semantics] [heading Expression Semantics]
__result_of_pop_front__<Sequence>::type __result_of_pop_front__<Sequence>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence with all the elements of `Sequence` except the first element. [*Semantics]: Returns a sequence with all the elements of `Sequence` except the first element.
[heading Complexity] [heading Complexity]
Constant. Constant.
/algorithm/transformation/pop_front.hpp> [heading Header]
#include <boost/fusion/algorithm/transformation/pop_front.hpp>
#include <boost/fusion/include/pop_front.hpp>
[endsect] [endsect]
@ -2470,14 +2555,20 @@ Returns the result type of __push_back__, given the types of the input sequence
[heading Expression Semantics] [heading Expression Semantics]
__result_of_push_back__<Sequence, T>::type __result_of_push_back__<Sequence, T>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence with the elements of `Sequence` and an element of type `T` added to the end. [*Semantics]: Returns a sequence with the elements of `Sequence` and an element of type `T` added to the end.
[heading Complexity] [heading Complexity]
Constant. Constant.
/algorithm/transformation/push_back.hpp> [heading Header]
#include <boost/fusion/algorithm/transformation/push_back.hpp>
#include <boost/fusion/include/push_back.hpp>
[endsect] [endsect]
@ -2505,14 +2596,20 @@ Returns the result type of __push_front__, given the types of the input sequence
[heading Expression Semantics] [heading Expression Semantics]
__result_of_push_front__<Sequence, T>::type __result_of_push_front__<Sequence, T>::type
[*Return type]: A model of __forward_sequence__. [*Return type]:
* A model of __forward_sequence__.
* A model of __associative_sequence__ if `Sequence` implements the __associative_sequence__ model.
[*Semantics]: Returns a sequence with the elements of `Sequence` and an element of type `T` added to the beginning. [*Semantics]: Returns a sequence with the elements of `Sequence` and an element of type `T` added to the beginning.
[heading Complexity] [heading Complexity]
Constant. Constant.
/algorithm/transformation/push_front.hpp> [heading Header]
#include <boost/fusion/algorithm/transformation/push_front.hpp>
#include <boost/fusion/include/push_front.hpp>
[endsect] [endsect]

View File

@ -12,7 +12,7 @@ This section summarizes significant changes to the Fusion library.
* Sep 27, 2006: Added `boost::tuple` support. (Joel de Guzman) * Sep 27, 2006: Added `boost::tuple` support. (Joel de Guzman)
* Nov 17, 2006: Added `boost::variant` support. (Joel de Guzman) * Nov 17, 2006: Added `boost::variant` support. (Joel de Guzman)
* Feb 15, 2007: Added functional module. (Tobias Schwinger) * Feb 15, 2007: Added functional module. (Tobias Schwinger)
* APRIL 2, 2007: Added struct adapter. (Joel de Guzman) * April 2, 2007: Added struct adapter. (Joel de Guzman)
* May 8, 2007: Added associative struct adapter. (Dan Marsden) * May 8, 2007: Added associative struct adapter. (Dan Marsden)
* Dec 20, 2007: Removed `boost::variant` support. After thorough * Dec 20, 2007: Removed `boost::variant` support. After thorough
investigation, I think now that the move to make variant a investigation, I think now that the move to make variant a
@ -21,5 +21,9 @@ This section summarizes significant changes to the Fusion library.
and there's no way to know at compile time what it contains. and there's no way to know at compile time what it contains.
Iterating over its types is simply wrong. All these imply that Iterating over its types is simply wrong. All these imply that
the variant is *not* a fusion sequence. (Joel de Guzman) the variant is *not* a fusion sequence. (Joel de Guzman)
* Oct 12, 2009: The accumulator is the first argument to the functor of
__fold__ and __accumulate__. (Christopher Schmidt)
* Oct 30, 2009: Added support for associative iterators and views. (Christopher
Schmidt)
[endsect] [endsect]

View File

@ -145,15 +145,15 @@ our iterator's tag type.
The implementation itself is pretty simple, it just uses 2 partial specializations to The implementation itself is pretty simple, it just uses 2 partial specializations to
provide the type of the 2 different members of `example_struct`, based on the index of the iterator. provide the type of the 2 different members of `example_struct`, based on the index of the iterator.
To understand how `value_of_impl` is used by the library we will look at the implementation of __value_of__: To understand how `value_of_impl` is used by the library we will look at the implementation of __result_of_value_of__:
template <typename Iterator> template <typename Iterator>
struct __value_of__ struct value_of
: extension::value_of_impl<typename detail::tag_of<Iterator>::type>:: : extension::value_of_impl<typename detail::tag_of<Iterator>::type>::
template apply<Iterator> template apply<Iterator>
{}; {};
So __value_of__ uses __tag_dispatching__ to select an __mpl_metafunction_class__ So __result_of_value_of__ uses __tag_dispatching__ to select an __mpl_metafunction_class__
to provide its functionality. You will notice this pattern throughout the to provide its functionality. You will notice this pattern throughout the
implementation of Fusion. implementation of Fusion.
@ -216,7 +216,7 @@ To see how `deref_impl` is used, lets have a look at the implementation of __der
} }
So again __result_of_deref__ uses __tag_dispatching__ in exactly the So again __result_of_deref__ uses __tag_dispatching__ in exactly the
same way as the __value_of__ implementation. The runtime functionality used same way as the __result_of_value_of__ implementation. The runtime functionality used
by __deref__ is provided by the `call` static function of the selected by __deref__ is provided by the `call` static function of the selected
__mpl_metafunction_class__. __mpl_metafunction_class__.
@ -227,14 +227,14 @@ bit of metaprogramming to return `const` references if the underlying sequence
is const. is const.
[note Although there is a fair amount of left to do to produce a fully fledged [note Although there is a fair amount of left to do to produce a fully fledged
Fusion sequence, __value_of__ and __deref__ illustrate all the signficant concepts Fusion sequence, __result_of_value_of__ and __deref__ illustrate all the signficant concepts
required. The remainder of the process is very repetitive, simply requiring required. The remainder of the process is very repetitive, simply requiring
implementation of a suitable `xxxx_impl` for each feature `xxxx`. implementation of a suitable `xxxx_impl` for each feature `xxxx`.
] ]
[heading Implementing the remaining iterator functionality] [heading Implementing the remaining iterator functionality]
Ok, now we have seen the way __value_of__ and __deref__ work, everything else will work Ok, now we have seen the way __result_of_value_of__ and __deref__ work, everything else will work
in pretty much the same way. Lets start with forward iteration, in pretty much the same way. Lets start with forward iteration,
by providing a `next_impl`: by providing a `next_impl`:
@ -317,14 +317,15 @@ is provided in the example code.
For our __random_access_sequence__ we will also need to implement `size_impl`, For our __random_access_sequence__ we will also need to implement `size_impl`,
`value_at_impl` and `at_impl`. `value_at_impl` and `at_impl`.
[heading Enabling our type as an associative container] [heading Enabling our type as an associative sequence]
In order for `example_struct` to serve as an associative container, In order for `example_struct` to serve as an associative forward sequence,
we need to enable 3 lookup features, __at_key__, __value_at_key__ and __has_key__. we need to adapt the traversal category of our sequence and our iterator
We also need to provide an implementation of the `is_associative` trait accordingly and enable 3 intrinsic sequence lookup features, __at_key__,
so that our sequence can be correctly identified as an associative container. __value_at_key__ and __has_key__. We also need to enable 3 iterator lookup
features, __result_of_key_of__, __result_of_value_of_data__ and __deref_data__.
To implement `at_key_impl` we need to associate the `fields::age` and `fields::age` To implement `at_key_impl` we need to associate the `fields::name` and `fields::age`
types described in the __quick_start__ guide with the appropriate members of `example_struct`. types described in the __quick_start__ guide with the appropriate members of `example_struct`.
Our implementation is as follows: Our implementation is as follows:
@ -369,15 +370,14 @@ Its all very similar to the implementations we've seen previously,
such as `deref_impl` and `value_of_impl`. Instead of identifying such as `deref_impl` and `value_of_impl`. Instead of identifying
the members by index or position, we are now selecting them using the members by index or position, we are now selecting them using
the types `fields::name` and `fields::age`. The implementations of the types `fields::name` and `fields::age`. The implementations of
`value_at_key_impl` and `has_key_impl` are equally straightforward, the other functions are equally straightforward, and are provided in
and are provided in the example code, along with an implementation the example code.
of `is_associative_impl`.
[heading Summary] [heading Summary]
We've now worked through the entire process for adding a new random We've now worked through the entire process for adding a new random
access sequence and we've also enabled our type to serve as an associative access sequence and we've also enabled our type to serve as an associative
container. The implementation was slightly longwinded, but followed sequence. The implementation was slightly longwinded, but followed
a simple repeating pattern. a simple repeating pattern.
The support for `std::pair`, __mpl__ sequences, and `boost::array` all The support for `std::pair`, __mpl__ sequences, and `boost::array` all
@ -467,6 +467,10 @@ The user must the implement the key expressions required by their iterator type.
[[`iterator::template distance<It1, It2>::call(it1, it2)`][The distance between iterator `it1` and `it2`][None]] [[`iterator::template distance<It1, It2>::call(it1, it2)`][The distance between iterator `it1` and `it2`][None]]
[[`iterator::template equal_to<It1, It2>::type`][The distance between iterators of type `It1` and `It2`][`boost::same_type<It1, It2>::type`]] [[`iterator::template equal_to<It1, It2>::type`][The distance between iterators of type `It1` and `It2`][`boost::same_type<It1, It2>::type`]]
[[`iterator::template equal_to<It1, It2>::call(it1, it2)`][The distance between iterators `it1` and `it2`][`boost::same_type<It1, It2>::type()`]] [[`iterator::template equal_to<It1, It2>::call(it1, it2)`][The distance between iterators `it1` and `it2`][`boost::same_type<It1, It2>::type()`]]
[[`iterator::template key_of<It>::type`][The key type associated with the element from `It`][None]]
[[`iterator::template value_of_data<It>::type`][The type of the data property associated with the element from `It`][None]]
[[`iterator::template deref_data<It>::type`][The type that will be returned by dereferencing the data property of the element from `It`][None]]
[[`iterator::template deref_data<It>::call(it)`][Deferences the data property associated with the element referenced by `it`][None]]
] ]
[heading Header] [heading Header]

View File

@ -79,6 +79,7 @@
[def __forward_iterator__ [link fusion.iterator.concepts.forward_iterator Forward Iterator]] [def __forward_iterator__ [link fusion.iterator.concepts.forward_iterator Forward Iterator]]
[def __bidirectional_iterator__ [link fusion.iterator.concepts.bidirectional_iterator Bidirectional Iterator]] [def __bidirectional_iterator__ [link fusion.iterator.concepts.bidirectional_iterator Bidirectional Iterator]]
[def __random_access_iterator__ [link fusion.iterator.concepts.random_access_iterator Random Access Iterator]] [def __random_access_iterator__ [link fusion.iterator.concepts.random_access_iterator Random Access Iterator]]
[def __associative_iterator__ [link fusion.iterator.concepts.associative_iterator Associative Iterator]]
[def __next__ [link fusion.iterator.functions.next `next`]] [def __next__ [link fusion.iterator.functions.next `next`]]
[def __prior__ [link fusion.iterator.functions.prior `prior`]] [def __prior__ [link fusion.iterator.functions.prior `prior`]]
@ -86,6 +87,7 @@
[def __advance_c__ [link fusion.iterator.functions.advance_c `advance_c`]] [def __advance_c__ [link fusion.iterator.functions.advance_c `advance_c`]]
[def __distance__ [link fusion.iterator.functions.distance `distance`]] [def __distance__ [link fusion.iterator.functions.distance `distance`]]
[def __deref__ [link fusion.iterator.functions.deref `deref`]] [def __deref__ [link fusion.iterator.functions.deref `deref`]]
[def __deref_data__ [link fusion.iterator.functions.deref_data `deref_data`]]
[def __result_of_next__ [link fusion.iterator.metafunctions.next `result_of::next`]] [def __result_of_next__ [link fusion.iterator.metafunctions.next `result_of::next`]]
[def __result_of_prior__ [link fusion.iterator.metafunctions.prior `result_of::prior`]] [def __result_of_prior__ [link fusion.iterator.metafunctions.prior `result_of::prior`]]
@ -95,7 +97,9 @@
[def __result_of_distance__ [link fusion.iterator.metafunctions.distance `result_of::distance`]] [def __result_of_distance__ [link fusion.iterator.metafunctions.distance `result_of::distance`]]
[def __result_of_deref__ [link fusion.iterator.metafunctions.deref `result_of::deref`]] [def __result_of_deref__ [link fusion.iterator.metafunctions.deref `result_of::deref`]]
[def __result_of_value_of__ [link fusion.iterator.metafunctions.value_of `result_of::value_of`]] [def __result_of_value_of__ [link fusion.iterator.metafunctions.value_of `result_of::value_of`]]
[def __value_of__ [link fusion.iterator.metafunctions.value_of `value_of`]] [def __result_of_key_of__ [link fusion.iterator.metafunctions.key_of `result_of::key_of`]]
[def __result_of_value_of_data__ [link fusion.iterator.metafunctions.value_of_data `result_of::value_of_data`]]
[def __result_of_deref_data__ [link fusion.iterator.metafunctions.deref_data `result_of::deref_data`]]
[def __sequence__ [link fusion.sequence Sequence]] [def __sequence__ [link fusion.sequence Sequence]]
[def __sequence_concepts__ [link fusion.sequence.concepts Sequence Concepts]] [def __sequence_concepts__ [link fusion.sequence.concepts Sequence Concepts]]

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Acknowledgements</title> <title>Acknowledgements</title>
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="previous" href="change_log.html" title="Change log"> <link rel="previous" href="change_log.html" title="Change log">

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Adapted</title> <title>Adapted</title>
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="previous" href="view/nview.html" title="nview"> <link rel="previous" href="view/nview.html" title="nview">
@ -49,10 +53,17 @@
Fusion also provides various schemes to make it easy for the user to adapt Fusion also provides various schemes to make it easy for the user to adapt
various data structures, non-intrusively, as full fledged Fusion sequences. various data structures, non-intrusively, as full fledged Fusion sequences.
</p> </p>
<<<<<<< .working
<a name="fusion.adapted.header"></a><h3> <a name="fusion.adapted.header"></a><h3>
<a name="id530111"></a> <a name="id530111"></a>
<a href="adapted.html#fusion.adapted.header">Header</a> <a href="adapted.html#fusion.adapted.header">Header</a>
</h3> </h3>
=======
<a name="fusion.adapted.header"></a><h4>
<a name="id737474"></a>
<a class="link" href="adapted.html#fusion.adapted.header">Header</a>
</h4>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title> BOOST_FUSION_ADAPT_ASSOC_STRUCT</title> <title> BOOST_FUSION_ADAPT_ASSOC_STRUCT</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../adapted.html" title="Adapted"> <link rel="up" href="../adapted.html" title="Adapted">
<link rel="previous" href="adapt_struct.html" title=" BOOST_FUSION_ADAPT_STRUCT"> <link rel="previous" href="adapt_struct.html" title=" BOOST_FUSION_ADAPT_STRUCT">
@ -22,6 +26,7 @@
<div class="spirit-nav"> <div class="spirit-nav">
<a accesskey="p" href="adapt_struct.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapted.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../algorithm.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a> <a accesskey="p" href="adapt_struct.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapted.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../algorithm.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
</div> </div>
<<<<<<< .working
<div class="section" lang="en"> <div class="section" lang="en">
<div class="titlepage"> <div class="titlepage">
<div><div><h3 class="title"> <div><div><h3 class="title">
@ -33,6 +38,16 @@
<a name="id534295"></a> <a name="id534295"></a>
<a href="adapt_assoc.html#fusion.adapted.adapt_assoc.description">Description</a> <a href="adapt_assoc.html#fusion.adapted.adapt_assoc.description">Description</a>
</h4> </h4>
=======
<div class="section" title="BOOST_FUSION_ADAPT_ASSOC_STRUCT">
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.adapted.adapt_assoc"></a><a class="link" href="adapt_assoc.html" title="BOOST_FUSION_ADAPT_ASSOC_STRUCT"> BOOST_FUSION_ADAPT_ASSOC_STRUCT</a>
</h3></div></div></div>
<a name="fusion.adapted.adapt_assoc.description"></a><h5>
<a name="id741464"></a>
<a class="link" href="adapt_assoc.html#fusion.adapted.adapt_assoc.description">Description</a>
</h5>
>>>>>>> .merge-right.r57125
<p> <p>
BOOST_FUSION_ADAPT_ASSOC_STRUCT is a macro that can be used to generate all BOOST_FUSION_ADAPT_ASSOC_STRUCT is a macro that can be used to generate all
the necessary boilerplate to make an arbitrary struct into a model of <a href="../sequence/concepts/random_access_sequence.html" title="Random the necessary boilerplate to make an arbitrary struct into a model of <a href="../sequence/concepts/random_access_sequence.html" title="Random
@ -41,10 +56,17 @@
Sequence">Associative Sequence">Associative
Sequence</a>. Sequence</a>.
</p> </p>
<<<<<<< .working
<a name="fusion.adapted.adapt_assoc.synopsis"></a><h4> <a name="fusion.adapted.adapt_assoc.synopsis"></a><h4>
<a name="id534343"></a> <a name="id534343"></a>
<a href="adapt_assoc.html#fusion.adapted.adapt_assoc.synopsis">Synopsis</a> <a href="adapt_assoc.html#fusion.adapted.adapt_assoc.synopsis">Synopsis</a>
</h4> </h4>
=======
<a name="fusion.adapted.adapt_assoc.synopsis"></a><h5>
<a name="id741490"></a>
<a class="link" href="adapt_assoc.html#fusion.adapted.adapt_assoc.synopsis">Synopsis</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="identifier">BOOST_FUSION_ADAPT_ASSOC_STRUCT</span><span class="special">(</span> <pre class="programlisting"><span class="identifier">BOOST_FUSION_ADAPT_ASSOC_STRUCT</span><span class="special">(</span>
<span class="identifier">struct_name</span><span class="special">,</span> <span class="identifier">struct_name</span><span class="special">,</span>
<span class="special">(</span><span class="identifier">member_type0</span><span class="special">,</span> <span class="identifier">member_name0</span><span class="special">,</span> <span class="identifier">key_type0</span><span class="special">)</span> <span class="special">(</span><span class="identifier">member_type0</span><span class="special">,</span> <span class="identifier">member_name0</span><span class="special">,</span> <span class="identifier">key_type0</span><span class="special">)</span>
@ -52,10 +74,17 @@
<span class="special">...</span> <span class="special">...</span>
<span class="special">)</span> <span class="special">)</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.adapt_assoc.semantics"></a><h4> <a name="fusion.adapted.adapt_assoc.semantics"></a><h4>
<a name="id534485"></a> <a name="id534485"></a>
<a href="adapt_assoc.html#fusion.adapted.adapt_assoc.semantics">Semantics</a> <a href="adapt_assoc.html#fusion.adapted.adapt_assoc.semantics">Semantics</a>
</h4> </h4>
=======
<a name="fusion.adapted.adapt_assoc.semantics"></a><h5>
<a name="id741591"></a>
<a class="link" href="adapt_assoc.html#fusion.adapted.adapt_assoc.semantics">Semantics</a>
</h5>
>>>>>>> .merge-right.r57125
<p> <p>
The above macro generates the necessary code to adapt <tt class="computeroutput"><span class="identifier">struct_name</span></tt> The above macro generates the necessary code to adapt <tt class="computeroutput"><span class="identifier">struct_name</span></tt>
as a model of <a href="../sequence/concepts/random_access_sequence.html" title="Random as a model of <a href="../sequence/concepts/random_access_sequence.html" title="Random
@ -72,17 +101,31 @@
The macro should be used at global scope, and <tt class="computeroutput"><span class="identifier">struct_name</span></tt> The macro should be used at global scope, and <tt class="computeroutput"><span class="identifier">struct_name</span></tt>
should be the fully namespace qualified name of the struct to be converted. should be the fully namespace qualified name of the struct to be converted.
</p> </p>
<<<<<<< .working
<a name="fusion.adapted.adapt_assoc.header"></a><h4> <a name="fusion.adapted.adapt_assoc.header"></a><h4>
<a name="id534609"></a> <a name="id534609"></a>
<a href="adapt_assoc.html#fusion.adapted.adapt_assoc.header">Header</a> <a href="adapt_assoc.html#fusion.adapted.adapt_assoc.header">Header</a>
</h4> </h4>
=======
<a name="fusion.adapted.adapt_assoc.header"></a><h5>
<a name="id742214"></a>
<a class="link" href="adapt_assoc.html#fusion.adapted.adapt_assoc.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="keyword">struct</span><span class="special">/</span><span class="identifier">adapt_assoc_struct</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="keyword">struct</span><span class="special">/</span><span class="identifier">adapt_assoc_struct</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">adapt_assoc_struct</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">adapt_assoc_struct</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.adapt_assoc.example"></a><h4> <a name="fusion.adapted.adapt_assoc.example"></a><h4>
<a name="id534774"></a> <a name="id534774"></a>
<a href="adapt_assoc.html#fusion.adapted.adapt_assoc.example">Example</a> <a href="adapt_assoc.html#fusion.adapted.adapt_assoc.example">Example</a>
</h4> </h4>
=======
<a name="fusion.adapted.adapt_assoc.example"></a><h5>
<a name="id742330"></a>
<a class="link" href="adapt_assoc.html#fusion.adapted.adapt_assoc.example">Example</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">demo</span> <pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">demo</span>
<span class="special">{</span> <span class="special">{</span>
<span class="keyword">struct</span> <span class="identifier">employee</span> <span class="keyword">struct</span> <span class="identifier">employee</span>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title> BOOST_FUSION_ADAPT_STRUCT</title> <title> BOOST_FUSION_ADAPT_STRUCT</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../adapted.html" title="Adapted"> <link rel="up" href="../adapted.html" title="Adapted">
<link rel="previous" href="boost__tuple.html" title="boost::tuple"> <link rel="previous" href="boost__tuple.html" title="boost::tuple">
@ -22,6 +26,7 @@
<div class="spirit-nav"> <div class="spirit-nav">
<a accesskey="p" href="boost__tuple.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapted.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="adapt_assoc.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a> <a accesskey="p" href="boost__tuple.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapted.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="adapt_assoc.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
</div> </div>
<<<<<<< .working
<div class="section" lang="en"> <div class="section" lang="en">
<div class="titlepage"> <div class="titlepage">
<div><div><h3 class="title"> <div><div><h3 class="title">
@ -33,16 +38,33 @@
<a name="id533623"></a> <a name="id533623"></a>
<a href="adapt_struct.html#fusion.adapted.adapt_struct.description">Description</a> <a href="adapt_struct.html#fusion.adapted.adapt_struct.description">Description</a>
</h4> </h4>
=======
<div class="section" title="BOOST_FUSION_ADAPT_STRUCT">
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.adapted.adapt_struct"></a><a class="link" href="adapt_struct.html" title="BOOST_FUSION_ADAPT_STRUCT"> BOOST_FUSION_ADAPT_STRUCT</a>
</h3></div></div></div>
<a name="fusion.adapted.adapt_struct.description"></a><h5>
<a name="id741004"></a>
<a class="link" href="adapt_struct.html#fusion.adapted.adapt_struct.description">Description</a>
</h5>
>>>>>>> .merge-right.r57125
<p> <p>
BOOST_FUSION_ADAPT_STRUCT is a macro that can be used to generate all the BOOST_FUSION_ADAPT_STRUCT is a macro that can be used to generate all the
necessary boilerplate to make an arbitrary struct into a <a href="../sequence/concepts/random_access_sequence.html" title="Random necessary boilerplate to make an arbitrary struct into a <a href="../sequence/concepts/random_access_sequence.html" title="Random
Access Sequence">Random Access Sequence">Random
Access Sequence</a>. Access Sequence</a>.
</p> </p>
<<<<<<< .working
<a name="fusion.adapted.adapt_struct.synopsis"></a><h4> <a name="fusion.adapted.adapt_struct.synopsis"></a><h4>
<a name="id533662"></a> <a name="id533662"></a>
<a href="adapt_struct.html#fusion.adapted.adapt_struct.synopsis">Synopsis</a> <a href="adapt_struct.html#fusion.adapted.adapt_struct.synopsis">Synopsis</a>
</h4> </h4>
=======
<a name="fusion.adapted.adapt_struct.synopsis"></a><h5>
<a name="id741026"></a>
<a class="link" href="adapt_struct.html#fusion.adapted.adapt_struct.synopsis">Synopsis</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="identifier">BOOST_FUSION_ADAPT_STRUCT</span><span class="special">(</span> <pre class="programlisting"><span class="identifier">BOOST_FUSION_ADAPT_STRUCT</span><span class="special">(</span>
<span class="identifier">struct_name</span><span class="special">,</span> <span class="identifier">struct_name</span><span class="special">,</span>
<span class="special">(</span><span class="identifier">member_type0</span><span class="special">,</span> <span class="identifier">member_name0</span><span class="special">)</span> <span class="special">(</span><span class="identifier">member_type0</span><span class="special">,</span> <span class="identifier">member_name0</span><span class="special">)</span>
@ -50,10 +72,17 @@
<span class="special">...</span> <span class="special">...</span>
<span class="special">)</span> <span class="special">)</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.adapt_struct.semantics"></a><h4> <a name="fusion.adapted.adapt_struct.semantics"></a><h4>
<a name="id533781"></a> <a name="id533781"></a>
<a href="adapt_struct.html#fusion.adapted.adapt_struct.semantics">Semantics</a> <a href="adapt_struct.html#fusion.adapted.adapt_struct.semantics">Semantics</a>
</h4> </h4>
=======
<a name="fusion.adapted.adapt_struct.semantics"></a><h5>
<a name="id741110"></a>
<a class="link" href="adapt_struct.html#fusion.adapted.adapt_struct.semantics">Semantics</a>
</h5>
>>>>>>> .merge-right.r57125
<p> <p>
The above macro generates the necessary code to adapt <tt class="computeroutput"><span class="identifier">struct_name</span></tt> The above macro generates the necessary code to adapt <tt class="computeroutput"><span class="identifier">struct_name</span></tt>
as a model of <a href="../sequence/concepts/random_access_sequence.html" title="Random as a model of <a href="../sequence/concepts/random_access_sequence.html" title="Random
@ -67,17 +96,31 @@
The macro should be used at global scope, and <tt class="computeroutput"><span class="identifier">struct_name</span></tt> The macro should be used at global scope, and <tt class="computeroutput"><span class="identifier">struct_name</span></tt>
should be the fully namespace qualified name of the struct to be converted. should be the fully namespace qualified name of the struct to be converted.
</p> </p>
<<<<<<< .working
<a name="fusion.adapted.adapt_struct.header"></a><h4> <a name="fusion.adapted.adapt_struct.header"></a><h4>
<a name="id533884"></a> <a name="id533884"></a>
<a href="adapt_struct.html#fusion.adapted.adapt_struct.header">Header</a> <a href="adapt_struct.html#fusion.adapted.adapt_struct.header">Header</a>
</h4> </h4>
=======
<a name="fusion.adapted.adapt_struct.header"></a><h5>
<a name="id741173"></a>
<a class="link" href="adapt_struct.html#fusion.adapted.adapt_struct.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="keyword">struct</span><span class="special">/</span><span class="identifier">adapt_struct</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="keyword">struct</span><span class="special">/</span><span class="identifier">adapt_struct</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">adapt_struct</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">adapt_struct</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.adapt_struct.example"></a><h4> <a name="fusion.adapted.adapt_struct.example"></a><h4>
<a name="id534049"></a> <a name="id534049"></a>
<a href="adapt_struct.html#fusion.adapted.adapt_struct.example">Example</a> <a href="adapt_struct.html#fusion.adapted.adapt_struct.example">Example</a>
</h4> </h4>
=======
<a name="fusion.adapted.adapt_struct.example"></a><h5>
<a name="id741288"></a>
<a class="link" href="adapt_struct.html#fusion.adapted.adapt_struct.example">Example</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">demo</span> <pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">demo</span>
<span class="special">{</span> <span class="special">{</span>
<span class="keyword">struct</span> <span class="identifier">employee</span> <span class="keyword">struct</span> <span class="identifier">employee</span>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>boost::array</title> <title>boost::array</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../adapted.html" title="Adapted"> <link rel="up" href="../adapted.html" title="Adapted">
<link rel="previous" href="mpl_sequence.html" title="mpl sequence"> <link rel="previous" href="mpl_sequence.html" title="mpl sequence">
@ -36,24 +40,46 @@
Access Sequence">Random Access Sequence">Random
Access Sequence</a>. Access Sequence</a>.
</p> </p>
<<<<<<< .working
<a name="fusion.adapted.boost__array.header"></a><h4> <a name="fusion.adapted.boost__array.header"></a><h4>
<a name="id532132"></a> <a name="id532132"></a>
<a href="boost__array.html#fusion.adapted.boost__array.header">Header</a> <a href="boost__array.html#fusion.adapted.boost__array.header">Header</a>
</h4> </h4>
=======
<a name="fusion.adapted.boost__array.header"></a><h5>
<a name="id739972"></a>
<a class="link" href="boost__array.html#fusion.adapted.boost__array.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">array</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">array</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">array</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">array</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.boost__array.model_of"></a><h4> <a name="fusion.adapted.boost__array.model_of"></a><h4>
<a name="id532287"></a> <a name="id532287"></a>
<a href="boost__array.html#fusion.adapted.boost__array.model_of">Model of</a> <a href="boost__array.html#fusion.adapted.boost__array.model_of">Model of</a>
</h4> </h4>
<div class="itemizedlist"><ul type="disc"><li><a href="../sequence/concepts/random_access_sequence.html" title="Random <div class="itemizedlist"><ul type="disc"><li><a href="../sequence/concepts/random_access_sequence.html" title="Random
Access Sequence">Random Access Sequence">Random
=======
<a name="fusion.adapted.boost__array.model_of"></a><h5>
<a name="id740080"></a>
<a class="link" href="boost__array.html#fusion.adapted.boost__array.model_of">Model of</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
>>>>>>> .merge-right.r57125
Access Sequence</a></li></ul></div> Access Sequence</a></li></ul></div>
<<<<<<< .working
<a name="fusion.adapted.boost__array.example"></a><h4> <a name="fusion.adapted.boost__array.example"></a><h4>
<a name="id532327"></a> <a name="id532327"></a>
<a href="boost__array.html#fusion.adapted.boost__array.example">Example</a> <a href="boost__array.html#fusion.adapted.boost__array.example">Example</a>
</h4> </h4>
=======
<a name="fusion.adapted.boost__array.example"></a><h5>
<a name="id740105"></a>
<a class="link" href="boost__array.html#fusion.adapted.boost__array.example">Example</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="number">3</span><span class="special">&gt;</span> <span class="identifier">arr</span> <span class="special">=</span> <span class="special">{{</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">}};</span> <pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="number">3</span><span class="special">&gt;</span> <span class="identifier">arr</span> <span class="special">=</span> <span class="special">{{</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">}};</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="special">*</span><a href="../sequence/intrinsic/functions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></a><span class="special">(</span><span class="identifier">arr</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="special">*</span><a href="../sequence/intrinsic/functions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></a><span class="special">(</span><span class="identifier">arr</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
@ -62,10 +88,17 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="special">*</span><a href="../iterator/functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><a href="../sequence/intrinsic/functions/end.html" title="end"><tt class="computeroutput"><span class="identifier">end</span></tt></a><span class="special">(</span><span class="identifier">arr</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="special">*</span><a href="../iterator/functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><a href="../sequence/intrinsic/functions/end.html" title="end"><tt class="computeroutput"><span class="identifier">end</span></tt></a><span class="special">(</span><span class="identifier">arr</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">2</span><span class="special">&gt;(</span><span class="identifier">arr</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">2</span><span class="special">&gt;(</span><span class="identifier">arr</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.boost__array.see_also"></a><h4> <a name="fusion.adapted.boost__array.see_also"></a><h4>
<a name="id532945"></a> <a name="id532945"></a>
<a href="boost__array.html#fusion.adapted.boost__array.see_also">See also</a> <a href="boost__array.html#fusion.adapted.boost__array.see_also">See also</a>
</h4> </h4>
=======
<a name="fusion.adapted.boost__array.see_also"></a><h5>
<a name="id740541"></a>
<a class="link" href="boost__array.html#fusion.adapted.boost__array.see_also">See also</a>
</h5>
>>>>>>> .merge-right.r57125
<p> <p>
<a href="http://www.boost.org/doc/html/array.html" target="_top">Boost.Array Library</a> <a href="http://www.boost.org/doc/html/array.html" target="_top">Boost.Array Library</a>
</p> </p>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>boost::tuple</title> <title>boost::tuple</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../adapted.html" title="Adapted"> <link rel="up" href="../adapted.html" title="Adapted">
<link rel="previous" href="boost__array.html" title="boost::array"> <link rel="previous" href="boost__array.html" title="boost::array">
@ -36,13 +40,21 @@
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
</p> </p>
<<<<<<< .working
<a name="fusion.adapted.boost__tuple.header"></a><h4> <a name="fusion.adapted.boost__tuple.header"></a><h4>
<a name="id533058"></a> <a name="id533058"></a>
<a href="boost__tuple.html#fusion.adapted.boost__tuple.header">Header</a> <a href="boost__tuple.html#fusion.adapted.boost__tuple.header">Header</a>
</h4> </h4>
=======
<a name="fusion.adapted.boost__tuple.header"></a><h5>
<a name="id740610"></a>
<a class="link" href="boost__tuple.html#fusion.adapted.boost__tuple.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">boost_tuple</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">boost_tuple</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">boost_tuple</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">boost_tuple</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.boost__tuple.model_of"></a><h4> <a name="fusion.adapted.boost__tuple.model_of"></a><h4>
<a name="id533213"></a> <a name="id533213"></a>
<a href="boost__tuple.html#fusion.adapted.boost__tuple.model_of">Model of</a> <a href="boost__tuple.html#fusion.adapted.boost__tuple.model_of">Model of</a>
@ -53,14 +65,32 @@
<a name="id533252"></a> <a name="id533252"></a>
<a href="boost__tuple.html#fusion.adapted.boost__tuple.example">Example</a> <a href="boost__tuple.html#fusion.adapted.boost__tuple.example">Example</a>
</h4> </h4>
=======
<a name="fusion.adapted.boost__tuple.model_of"></a><h5>
<a name="id740718"></a>
<a class="link" href="boost__tuple.html#fusion.adapted.boost__tuple.model_of">Model of</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward Sequence</a></li></ul></div>
<a name="fusion.adapted.boost__tuple.example"></a><h5>
<a name="id740744"></a>
<a class="link" href="boost__tuple.html#fusion.adapted.boost__tuple.example">Example</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tuple</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;</span> <span class="identifier">example_tuple</span><span class="special">(</span><span class="number">101</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tuple</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;</span> <span class="identifier">example_tuple</span><span class="special">(</span><span class="number">101</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="special">*</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span><span class="identifier">example_tuple</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="char">'\n'</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="special">*</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span><span class="identifier">example_tuple</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="char">'\n'</span><span class="special">;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="special">*</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">next</span><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span><span class="identifier">example_tuple</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="char">'\n'</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="special">*</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">next</span><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span><span class="identifier">example_tuple</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="char">'\n'</span><span class="special">;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.boost__tuple.see_also"></a><h4> <a name="fusion.adapted.boost__tuple.see_also"></a><h4>
<a name="id533568"></a> <a name="id533568"></a>
<a href="boost__tuple.html#fusion.adapted.boost__tuple.see_also">See also</a> <a href="boost__tuple.html#fusion.adapted.boost__tuple.see_also">See also</a>
</h4> </h4>
=======
<a name="fusion.adapted.boost__tuple.see_also"></a><h5>
<a name="id740970"></a>
<a class="link" href="boost__tuple.html#fusion.adapted.boost__tuple.see_also">See also</a>
</h5>
>>>>>>> .merge-right.r57125
<p> <p>
<a href="http://www.boost.org/libs/tuple/doc/tuple_users_guide.html" target="_top">Boost.Tuple <a href="http://www.boost.org/libs/tuple/doc/tuple_users_guide.html" target="_top">Boost.Tuple
Library</a> Library</a>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>mpl sequence</title> <title>mpl sequence</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../adapted.html" title="Adapted"> <link rel="up" href="../adapted.html" title="Adapted">
<link rel="previous" href="std__pair.html" title="std::pair"> <link rel="previous" href="std__pair.html" title="std::pair">
@ -34,13 +38,21 @@
sequences. Including the module header makes all <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a> sequences. Including the module header makes all <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a>
sequences fully conforming fusion sequences. sequences fully conforming fusion sequences.
</p> </p>
<<<<<<< .working
<a name="fusion.adapted.mpl_sequence.header"></a><h4> <a name="fusion.adapted.mpl_sequence.header"></a><h4>
<a name="id531191"></a> <a name="id531191"></a>
<a href="mpl_sequence.html#fusion.adapted.mpl_sequence.header">Header</a> <a href="mpl_sequence.html#fusion.adapted.mpl_sequence.header">Header</a>
</h4> </h4>
=======
<a name="fusion.adapted.mpl_sequence.header"></a><h5>
<a name="id738223"></a>
<a class="link" href="mpl_sequence.html#fusion.adapted.mpl_sequence.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">mpl</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">mpl</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">mpl</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">mpl</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.mpl_sequence.model_of"></a><h4> <a name="fusion.adapted.mpl_sequence.model_of"></a><h4>
<a name="id531346"></a> <a name="id531346"></a>
<a href="mpl_sequence.html#fusion.adapted.mpl_sequence.model_of">Model of</a> <a href="mpl_sequence.html#fusion.adapted.mpl_sequence.model_of">Model of</a>
@ -49,6 +61,15 @@
<li> <li>
<a href="../sequence/concepts/forward_sequence.html" title="Forward <a href="../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence</a> Sequence">Forward Sequence</a>
=======
<a name="fusion.adapted.mpl_sequence.model_of"></a><h5>
<a name="id738331"></a>
<a class="link" href="mpl_sequence.html#fusion.adapted.mpl_sequence.model_of">Model of</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
<a class="link" href="../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward Sequence</a>
>>>>>>> .merge-right.r57125
(If the <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a> (If the <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a>
sequence is a forward sequence.) sequence is a forward sequence.)
</li> </li>
@ -65,10 +86,17 @@
sequence is a random access sequence.) sequence is a random access sequence.)
</li> </li>
</ul></div> </ul></div>
<<<<<<< .working
<a name="fusion.adapted.mpl_sequence.example"></a><h4> <a name="fusion.adapted.mpl_sequence.example"></a><h4>
<a name="id531436"></a> <a name="id531436"></a>
<a href="mpl_sequence.html#fusion.adapted.mpl_sequence.example">Example</a> <a href="mpl_sequence.html#fusion.adapted.mpl_sequence.example">Example</a>
</h4> </h4>
=======
<a name="fusion.adapted.mpl_sequence.example"></a><h5>
<a name="id739482"></a>
<a class="link" href="mpl_sequence.html#fusion.adapted.mpl_sequence.example">Example</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">vector_c</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="number">456</span><span class="special">&gt;</span> <span class="identifier">vec_c</span><span class="special">;</span> <pre class="programlisting"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">vector_c</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="number">456</span><span class="special">&gt;</span> <span class="identifier">vec_c</span><span class="special">;</span>
<span class="identifier">fusion</span><span class="special">::</span><span class="identifier">vector2</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">long</span><span class="special">&gt;</span> <span class="identifier">v</span><span class="special">(</span><span class="identifier">vec_c</span><span class="special">);</span> <span class="identifier">fusion</span><span class="special">::</span><span class="identifier">vector2</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">long</span><span class="special">&gt;</span> <span class="identifier">v</span><span class="special">(</span><span class="identifier">vec_c</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
@ -78,10 +106,17 @@
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.mpl_sequence.see_also"></a><h4> <a name="fusion.adapted.mpl_sequence.see_also"></a><h4>
<a name="id532022"></a> <a name="id532022"></a>
<a href="mpl_sequence.html#fusion.adapted.mpl_sequence.see_also">See also</a> <a href="mpl_sequence.html#fusion.adapted.mpl_sequence.see_also">See also</a>
</h4> </h4>
=======
<a name="fusion.adapted.mpl_sequence.see_also"></a><h5>
<a name="id739902"></a>
<a class="link" href="mpl_sequence.html#fusion.adapted.mpl_sequence.see_also">See also</a>
</h5>
>>>>>>> .merge-right.r57125
<p> <p>
<a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a> <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a>
</p> </p>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>std::pair</title> <title>std::pair</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../adapted.html" title="Adapted"> <link rel="up" href="../adapted.html" title="Adapted">
<link rel="previous" href="../adapted.html" title="Adapted"> <link rel="previous" href="../adapted.html" title="Adapted">
@ -36,33 +40,62 @@
Access Sequence">Random Access Sequence">Random
Access Sequence</a>. Access Sequence</a>.
</p> </p>
<<<<<<< .working
<a name="fusion.adapted.std__pair.header"></a><h4> <a name="fusion.adapted.std__pair.header"></a><h4>
<a name="id530512"></a> <a name="id530512"></a>
<a href="std__pair.html#fusion.adapted.std__pair.header">Header</a> <a href="std__pair.html#fusion.adapted.std__pair.header">Header</a>
</h4> </h4>
=======
<a name="fusion.adapted.std__pair.header"></a><h5>
<a name="id737752"></a>
<a class="link" href="std__pair.html#fusion.adapted.std__pair.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">std_pair</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">std_pair</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">std_pair</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">std_pair</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.std__pair.model_of"></a><h4> <a name="fusion.adapted.std__pair.model_of"></a><h4>
<a name="id530668"></a> <a name="id530668"></a>
<a href="std__pair.html#fusion.adapted.std__pair.model_of">Model of</a> <a href="std__pair.html#fusion.adapted.std__pair.model_of">Model of</a>
</h4> </h4>
<div class="itemizedlist"><ul type="disc"><li><a href="../sequence/concepts/random_access_sequence.html" title="Random <div class="itemizedlist"><ul type="disc"><li><a href="../sequence/concepts/random_access_sequence.html" title="Random
Access Sequence">Random Access Sequence">Random
=======
<a name="fusion.adapted.std__pair.model_of"></a><h5>
<a name="id737860"></a>
<a class="link" href="std__pair.html#fusion.adapted.std__pair.model_of">Model of</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
>>>>>>> .merge-right.r57125
Access Sequence</a></li></ul></div> Access Sequence</a></li></ul></div>
<<<<<<< .working
<a name="fusion.adapted.std__pair.example"></a><h4> <a name="fusion.adapted.std__pair.example"></a><h4>
<a name="id530707"></a> <a name="id530707"></a>
<a href="std__pair.html#fusion.adapted.std__pair.example">Example</a> <a href="std__pair.html#fusion.adapted.std__pair.example">Example</a>
</h4> </h4>
=======
<a name="fusion.adapted.std__pair.example"></a><h5>
<a name="id737886"></a>
<a class="link" href="std__pair.html#fusion.adapted.std__pair.example">Example</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;</span> <span class="identifier">p</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"Hola!!!"</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;</span> <span class="identifier">p</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"Hola!!!"</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">p</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">p</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">p</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">p</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">p</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">p</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.adapted.std__pair.see_also"></a><h4> <a name="fusion.adapted.std__pair.see_also"></a><h4>
<a name="id531057"></a> <a name="id531057"></a>
<a href="std__pair.html#fusion.adapted.std__pair.see_also">See also</a> <a href="std__pair.html#fusion.adapted.std__pair.see_also">See also</a>
</h4> </h4>
=======
<a name="fusion.adapted.std__pair.see_also"></a><h5>
<a name="id738136"></a>
<a class="link" href="std__pair.html#fusion.adapted.std__pair.see_also">See also</a>
</h5>
>>>>>>> .merge-right.r57125
<p> <p>
<a href="http://www.sgi.com/tech/stl/pair.html" target="_top"><tt class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span></tt></a>, <a href="http://www.sgi.com/tech/stl/pair.html" target="_top"><tt class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span></tt></a>,
<a href="../tuple/pairs.html" title="Pairs"><tt class="computeroutput"><span class="identifier">TR1</span> <a href="../tuple/pairs.html" title="Pairs"><tt class="computeroutput"><span class="identifier">TR1</span>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Algorithm</title> <title>Algorithm</title>
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="previous" href="adapted/adapt_assoc.html" title=" BOOST_FUSION_ADAPT_ASSOC_STRUCT"> <link rel="previous" href="adapted/adapt_assoc.html" title=" BOOST_FUSION_ADAPT_ASSOC_STRUCT">
@ -46,10 +50,17 @@
<dt><span class="section"><a href="algorithm/transformation/metafunctions.html">Metafunctions</a></span></dt> <dt><span class="section"><a href="algorithm/transformation/metafunctions.html">Metafunctions</a></span></dt>
</dl></dd> </dl></dd>
</dl></div> </dl></div>
<<<<<<< .working
<a name="fusion.algorithm.lazy_evaluation"></a><h3> <a name="fusion.algorithm.lazy_evaluation"></a><h3>
<a name="id535132"></a> <a name="id535132"></a>
<a href="algorithm.html#fusion.algorithm.lazy_evaluation">Lazy Evaluation</a> <a href="algorithm.html#fusion.algorithm.lazy_evaluation">Lazy Evaluation</a>
</h3> </h3>
=======
<a name="fusion.algorithm.lazy_evaluation"></a><h4>
<a name="id742590"></a>
<a class="link" href="algorithm.html#fusion.algorithm.lazy_evaluation">Lazy Evaluation</a>
</h4>
>>>>>>> .merge-right.r57125
<p> <p>
Unlike <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a>, Fusion Unlike <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a>, Fusion
algorithms are lazy and non sequence-type preserving. What does that mean? algorithms are lazy and non sequence-type preserving. What does that mean?
@ -69,10 +80,17 @@
<span class="emphasis"><em>lazy</em></span> evaluation scheme allows us to chain as many algorithms <span class="emphasis"><em>lazy</em></span> evaluation scheme allows us to chain as many algorithms
as we want without incurring a high runtime penalty. as we want without incurring a high runtime penalty.
</p> </p>
<<<<<<< .working
<a name="fusion.algorithm.sequence_extension"></a><h3> <a name="fusion.algorithm.sequence_extension"></a><h3>
<a name="id535279"></a> <a name="id535279"></a>
<a href="algorithm.html#fusion.algorithm.sequence_extension">Sequence Extension</a> <a href="algorithm.html#fusion.algorithm.sequence_extension">Sequence Extension</a>
</h3> </h3>
=======
<a name="fusion.algorithm.sequence_extension"></a><h4>
<a name="id742667"></a>
<a class="link" href="algorithm.html#fusion.algorithm.sequence_extension">Sequence Extension</a>
</h4>
>>>>>>> .merge-right.r57125
<p> <p>
The <span class="emphasis"><em>lazy</em></span> evaluation scheme where <a href="algorithm.html" title="Algorithm">Algorithms</a> The <span class="emphasis"><em>lazy</em></span> evaluation scheme where <a href="algorithm.html" title="Algorithm">Algorithms</a>
return <a href="view.html" title="View">Views</a> also allows operations such return <a href="view.html" title="View">Views</a> also allows operations such
@ -92,10 +110,17 @@
are provided. You may use one of the <a href="container/conversion/functions.html" title="Functions">Conversion</a> are provided. You may use one of the <a href="container/conversion/functions.html" title="Functions">Conversion</a>
functions to convert back to the original sequence type. functions to convert back to the original sequence type.
</p> </p>
<<<<<<< .working
<a name="fusion.algorithm.header"></a><h3> <a name="fusion.algorithm.header"></a><h3>
<a name="id535506"></a> <a name="id535506"></a>
<a href="algorithm.html#fusion.algorithm.header">Header</a> <a href="algorithm.html#fusion.algorithm.header">Header</a>
</h3> </h3>
=======
<a name="fusion.algorithm.header"></a><h4>
<a name="id742794"></a>
<a class="link" href="algorithm.html#fusion.algorithm.header">Header</a>
</h4>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Iteration</title> <title>Iteration</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../algorithm.html" title="Algorithm"> <link rel="up" href="../algorithm.html" title="Algorithm">
<link rel="previous" href="../algorithm.html" title="Algorithm"> <link rel="previous" href="../algorithm.html" title="Algorithm">
@ -37,10 +41,17 @@
The iteration algorithms provide the fundamental algorithms for traversing The iteration algorithms provide the fundamental algorithms for traversing
a sequence repeatedly applying an operation to its elements. a sequence repeatedly applying an operation to its elements.
</p> </p>
<<<<<<< .working
<a name="fusion.algorithm.iteration.header"></a><h4> <a name="fusion.algorithm.iteration.header"></a><h4>
<a name="id535675"></a> <a name="id535675"></a>
<a href="iteration.html#fusion.algorithm.iteration.header">Header</a> <a href="iteration.html#fusion.algorithm.iteration.header">Header</a>
</h4> </h4>
=======
<a name="fusion.algorithm.iteration.header"></a><h5>
<a name="id742908"></a>
<a class="link" href="iteration.html#fusion.algorithm.iteration.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Functions</title> <title>Functions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../iteration.html" title="Iteration"> <link rel="up" href="../iteration.html" title="Iteration">
<link rel="previous" href="../iteration.html" title="Iteration"> <link rel="previous" href="../iteration.html" title="Iteration">

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>accumulate</title> <title>accumulate</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="fold.html" title="fold"> <link rel="previous" href="fold.html" title="fold">
<link rel="next" href="for_each.html" title="for_each"> <link rel="next" href="for_each.html" title="for_each">
@ -30,19 +38,80 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.iteration.functions.accumulate.description"></a><h6> <a name="fusion.algorithm.iteration.functions.accumulate.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id537581"></a> <a name="id537581"></a>
<a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.description">Description</a> <a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.description">Description</a>
=======
<a name="id789366"></a>
=======
<a name="id751900"></a>
=======
<a name="id744276"></a>
=======
<a name="id767092"></a>
=======
<a name="id755686"></a>
=======
<a name="id752410"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
<<<<<<< .working
For a sequence <tt class="computeroutput"><span class="identifier">Seq</span></tt>, initial For a sequence <tt class="computeroutput"><span class="identifier">Seq</span></tt>, initial
state, and binary function object or function pointer <tt class="computeroutput"><span class="identifier">f</span></tt>, state, and binary function object or function pointer <tt class="computeroutput"><span class="identifier">f</span></tt>,
accumulate repeatedly applies binary <tt class="computeroutput"><span class="identifier">f</span></tt> accumulate repeatedly applies binary <tt class="computeroutput"><span class="identifier">f</span></tt>
to each element of <tt class="computeroutput"><span class="identifier">Seq</span></tt> to each element of <tt class="computeroutput"><span class="identifier">Seq</span></tt>
and the previous state. and the previous state.
=======
For a sequence <code class="computeroutput"><span class="identifier">seq</span></code>, initial
state <code class="computeroutput"><span class="identifier">initial_state</span></code>,
and binary function object or function pointer <code class="computeroutput"><span class="identifier">f</span></code>,
accumulate returns the result of the repeated application of binary
<code class="computeroutput"><span class="identifier">f</span></code> to the result of the
previous <code class="computeroutput"><span class="identifier">f</span></code> invocation
(<code class="computeroutput"><span class="identifier">inital_state</span></code> if it is
the first call) and each element of <code class="computeroutput"><span class="identifier">seq</span></code>.
>>>>>>> .merge-right.r57125
</p> </p>
<a name="fusion.algorithm.iteration.functions.accumulate.synopsis"></a><h6> <a name="fusion.algorithm.iteration.functions.accumulate.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id537658"></a> <a name="id537658"></a>
<a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.synopsis">Synopsis</a> <a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.synopsis">Synopsis</a>
=======
<a name="id789441"></a>
=======
<a name="id751975"></a>
=======
<a name="id744350"></a>
=======
<a name="id767166"></a>
=======
<a name="id755761"></a>
=======
<a name="id752484"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -53,8 +122,33 @@
<span class="identifier">Sequence</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">State</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">initial_state</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">State</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">initial_state</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id537917"></a><p class="title"><b>Table<EFBFBD>1.34.<2E>Parameters</b></p> <a name="id537917"></a><p class="title"><b>Table<EFBFBD>1.34.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id789627"></a><p class="title"><b>Table<EFBFBD>1.34.<2E>Parameters</b></p>
=======
<a name="id752184"></a><p class="title"><b>Table<EFBFBD>1.38.<2E>Parameters</b></p>
=======
<a name="id744560"></a><p class="title"><b>Table<EFBFBD>1.38.<2E>Parameters</b></p>
=======
<a name="id767352"></a><p class="title"><b>Table&#160;1.38.&#160;Parameters</b></p>
=======
<a name="id755947"></a><p class="title"><b>Table&#160;1.38.&#160;Parameters</b></p>
=======
<a name="id752670"></a><p class="title"><b>Table&#160;1.38.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -73,6 +167,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<tr> <tr>
<<<<<<< .working
<td><p> <td><p>
<tt class="computeroutput"><span class="identifier">seq</span></tt> <tt class="computeroutput"><span class="identifier">seq</span></tt>
</p></td> </p></td>
@ -85,6 +180,24 @@
to <tt class="computeroutput"><span class="identifier">eN</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt> to <tt class="computeroutput"><span class="identifier">eN</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>
</p></td> </p></td>
<td><p> <td><p>
=======
<td>
<p>
<code class="computeroutput"><span class="identifier">seq</span></code>
</p>
</td>
<td>
<p>
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>, <code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span><span class="identifier">e</span><span class="special">)</span></code> must be a valid expression for
current state <code class="computeroutput"><span class="identifier">s</span></code>,
and each element <code class="computeroutput"><span class="identifier">e</span></code>
in <code class="computeroutput"><span class="identifier">seq</span></code>
</p>
</td>
<td>
<p>
>>>>>>> .merge-right.r57125
Operation's argument Operation's argument
</p></td> </p></td>
</tr> </tr>
@ -100,6 +213,7 @@
</p></td> </p></td>
</tr> </tr>
<tr> <tr>
<<<<<<< .working
<td><p> <td><p>
<tt class="computeroutput"><span class="identifier">f</span></tt> <tt class="computeroutput"><span class="identifier">f</span></tt>
</p></td> </p></td>
@ -109,15 +223,39 @@
of type <tt class="computeroutput"><span class="identifier">E</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>, and current state <tt class="computeroutput"><span class="identifier">s</span></tt> of type <tt class="computeroutput"><span class="identifier">S</span></tt> of type <tt class="computeroutput"><span class="identifier">E</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>, and current state <tt class="computeroutput"><span class="identifier">s</span></tt> of type <tt class="computeroutput"><span class="identifier">S</span></tt>
</p></td> </p></td>
<td><p> <td><p>
=======
<td>
<p>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
<code class="computeroutput"><a href="http://www.boost.org/libs/utility/utility.htm#result_of" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">result_of</span></code></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">(</span><span class="identifier">S</span><span class="special">,</span><span class="identifier">E</span><span class="special">)&gt;::</span><span class="identifier">type</span></code> is the return type of <code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span><span class="identifier">e</span><span class="special">)</span></code>
current state <code class="computeroutput"><span class="identifier">s</span></code>
of type <code class="computeroutput"><span class="identifier">S</span></code>, and
for each element <code class="computeroutput"><span class="identifier">e</span></code>
of type <code class="computeroutput"><span class="identifier">E</span></code> in <code class="computeroutput"><span class="identifier">seq</span></code>
</p>
</td>
<td>
<p>
>>>>>>> .merge-right.r57125
Operation's argument Operation's argument
</p></td> </p></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.iteration.functions.accumulate.expression_semantics"></a><h6> <a name="fusion.algorithm.iteration.functions.accumulate.expression_semantics"></a><h6>
<a name="id538367"></a> <a name="id538367"></a>
<a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.expression_semantics">Expression <a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.iteration.functions.accumulate.expression_semantics"></a><h6>
<a name="id752970"></a>
<a class="link" href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">accumulate</span><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">initial_state</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">accumulate</span><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">initial_state</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span>
@ -126,33 +264,114 @@
<span class="bold"><b>Return type</b></span>: Any type <span class="bold"><b>Return type</b></span>: Any type
</p> </p>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Semantics</b></span>: Equivalent to <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">eN</span> <span class="special">....</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e2</span><span class="special">,</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><span class="identifier">initial_state</span><span class="special">)))</span></tt> <span class="bold"><b>Semantics</b></span>: Equivalent to <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">eN</span> <span class="special">....</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e2</span><span class="special">,</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><span class="identifier">initial_state</span><span class="special">)))</span></tt>
where <tt class="computeroutput"><span class="identifier">e1</span> <span class="special">...</span><span class="identifier">eN</span></tt> are the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>. where <tt class="computeroutput"><span class="identifier">e1</span> <span class="special">...</span><span class="identifier">eN</span></tt> are the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
=======
<span class="bold"><strong>Semantics</strong></span>: Equivalent to <code class="computeroutput"><span class="identifier">f</span><span class="special">(...</span> <span class="identifier">f</span><span class="special">(</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">initial_state</span><span class="special">,</span><span class="identifier">e1</span><span class="special">),</span><span class="identifier">e2</span><span class="special">)</span> <span class="special">...</span><span class="identifier">eN</span><span class="special">)</span></code> where <code class="computeroutput"><span class="identifier">e1</span>
<span class="special">...</span><span class="identifier">eN</span></code>
are the elements of <code class="computeroutput"><span class="identifier">seq</span></code>.
>>>>>>> .merge-right.r57125
</p> </p>
<a name="fusion.algorithm.iteration.functions.accumulate.complexity"></a><h6> <a name="fusion.algorithm.iteration.functions.accumulate.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id538575"></a> <a name="id538575"></a>
<a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.complexity">Complexity</a> <a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.complexity">Complexity</a>
=======
<a name="id790624"></a>
=======
<a name="id752635"></a>
=======
<a name="id745011"></a>
=======
<a name="id767803"></a>
=======
<a name="id756398"></a>
=======
<a name="id753121"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear, exactly <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">f</span></tt>. Linear, exactly <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">f</span></tt>.
</p> </p>
<a name="fusion.algorithm.iteration.functions.accumulate.header"></a><h6> <a name="fusion.algorithm.iteration.functions.accumulate.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id538669"></a> <a name="id538669"></a>
<a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.header">Header</a> <a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.header">Header</a>
=======
<a name="id790684"></a>
=======
<a name="id752695"></a>
=======
<a name="id745071"></a>
=======
<a name="id767863"></a>
=======
<a name="id756458"></a>
=======
<a name="id753181"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">accumulate</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">accumulate</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">accumulate</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">accumulate</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.iteration.functions.accumulate.example"></a><h6> <a name="fusion.algorithm.iteration.functions.accumulate.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id538836"></a> <a name="id538836"></a>
<a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.example">Example</a> <a href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.example">Example</a>
=======
<a name="id790800"></a>
=======
<a name="id752811"></a>
=======
<a name="id745186"></a>
=======
<a name="id767978"></a>
=======
<a name="id756573"></a>
=======
<a name="id753296"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="accumulate.html#fusion.algorithm.iteration.functions.accumulate.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">make_string</span> <pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">make_string</span>
<span class="special">{</span> <span class="special">{</span>
<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">result_type</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">result_type</span><span class="special">;</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">&gt;</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">&gt;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="keyword">operator</span><span class="special">()(</span><span class="keyword">const</span> <span class="identifier">T</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;</span> <span class="identifier">str</span><span class="special">)</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="keyword">operator</span><span class="special">()(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;</span> <span class="identifier">str</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">)</span> <span class="keyword">const</span>
<span class="special">{</span> <span class="special">{</span>
<span class="keyword">return</span> <span class="identifier">str</span> <span class="special">+</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lexical_cast</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;(</span><span class="identifier">t</span><span class="special">);</span> <span class="keyword">return</span> <span class="identifier">str</span> <span class="special">+</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lexical_cast</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;(</span><span class="identifier">t</span><span class="special">);</span>
<span class="special">}</span> <span class="special">}</span>
@ -164,7 +383,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>fold</title> <title>fold</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="../functions.html" title="Functions"> <link rel="previous" href="../functions.html" title="Functions">
<link rel="next" href="accumulate.html" title="accumulate"> <link rel="next" href="accumulate.html" title="accumulate">
@ -30,19 +38,77 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.iteration.functions.fold.description"></a><h6> <a name="fusion.algorithm.iteration.functions.fold.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id535870"></a> <a name="id535870"></a>
<a href="fold.html#fusion.algorithm.iteration.functions.fold.description">Description</a> <a href="fold.html#fusion.algorithm.iteration.functions.fold.description">Description</a>
=======
<a name="id788125"></a>
=======
<a name="id750659"></a>
=======
<a name="id743035"></a>
=======
<a name="id765839"></a>
=======
<a name="id753341"></a>
=======
<a name="id750065"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="fold.html#fusion.algorithm.iteration.functions.fold.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
<<<<<<< .working
For a sequence <tt class="computeroutput"><span class="identifier">Seq</span></tt>, initial For a sequence <tt class="computeroutput"><span class="identifier">Seq</span></tt>, initial
state, and binary function object or function pointer <tt class="computeroutput"><span class="identifier">f</span></tt>, state, and binary function object or function pointer <tt class="computeroutput"><span class="identifier">f</span></tt>,
fold repeatedly applies binary <tt class="computeroutput"><span class="identifier">f</span></tt> fold repeatedly applies binary <tt class="computeroutput"><span class="identifier">f</span></tt>
to each element of <tt class="computeroutput"><span class="identifier">Seq</span></tt> to each element of <tt class="computeroutput"><span class="identifier">Seq</span></tt>
and the previous state. and the previous state.
=======
For a sequence <code class="computeroutput"><span class="identifier">seq</span></code>, initial
state <code class="computeroutput"><span class="identifier">initial_state</span></code>,
and binary function object or function pointer <code class="computeroutput"><span class="identifier">f</span></code>,
fold returns the result of the repeated application of binary <code class="computeroutput"><span class="identifier">f</span></code> to the result of the previous <code class="computeroutput"><span class="identifier">f</span></code> invocation (<code class="computeroutput"><span class="identifier">inital_state</span></code>
if it is the first call) and each element of <code class="computeroutput"><span class="identifier">seq</span></code>.
>>>>>>> .merge-right.r57125
</p> </p>
<a name="fusion.algorithm.iteration.functions.fold.synopsis"></a><h6> <a name="fusion.algorithm.iteration.functions.fold.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id535948"></a> <a name="id535948"></a>
<a href="fold.html#fusion.algorithm.iteration.functions.fold.synopsis">Synopsis</a> <a href="fold.html#fusion.algorithm.iteration.functions.fold.synopsis">Synopsis</a>
=======
<a name="id788195"></a>
=======
<a name="id750729"></a>
=======
<a name="id743105"></a>
=======
<a name="id765908"></a>
=======
<a name="id753411"></a>
=======
<a name="id750134"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="fold.html#fusion.algorithm.iteration.functions.fold.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -53,8 +119,33 @@
<span class="identifier">Sequence</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">State</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">initial_state</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">State</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">initial_state</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id536204"></a><p class="title"><b>Table<EFBFBD>1.33.<2E>Parameters</b></p> <a name="id536204"></a><p class="title"><b>Table<EFBFBD>1.33.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id788379"></a><p class="title"><b>Table<EFBFBD>1.33.<2E>Parameters</b></p>
=======
<a name="id750913"></a><p class="title"><b>Table<EFBFBD>1.37.<2E>Parameters</b></p>
=======
<a name="id743288"></a><p class="title"><b>Table<EFBFBD>1.37.<2E>Parameters</b></p>
=======
<a name="id766092"></a><p class="title"><b>Table&#160;1.37.&#160;Parameters</b></p>
=======
<a name="id753595"></a><p class="title"><b>Table&#160;1.37.&#160;Parameters</b></p>
=======
<a name="id750318"></a><p class="title"><b>Table&#160;1.37.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -73,6 +164,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<tr> <tr>
<<<<<<< .working
<td><p> <td><p>
<tt class="computeroutput"><span class="identifier">seq</span></tt> <tt class="computeroutput"><span class="identifier">seq</span></tt>
</p></td> </p></td>
@ -85,6 +177,24 @@
state <tt class="computeroutput"><span class="identifier">s</span></tt> state <tt class="computeroutput"><span class="identifier">s</span></tt>
</p></td> </p></td>
<td><p> <td><p>
=======
<td>
<p>
<code class="computeroutput"><span class="identifier">seq</span></code>
</p>
</td>
<td>
<p>
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>, <code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span><span class="identifier">e</span><span class="special">)</span></code> must be a valid expression for
current state <code class="computeroutput"><span class="identifier">s</span></code>,
and each element <code class="computeroutput"><span class="identifier">e</span></code>
in <code class="computeroutput"><span class="identifier">seq</span></code>
</p>
</td>
<td>
<p>
>>>>>>> .merge-right.r57125
Operation's argument Operation's argument
</p></td> </p></td>
</tr> </tr>
@ -100,6 +210,7 @@
</p></td> </p></td>
</tr> </tr>
<tr> <tr>
<<<<<<< .working
<td><p> <td><p>
<tt class="computeroutput"><span class="identifier">f</span></tt> <tt class="computeroutput"><span class="identifier">f</span></tt>
</p></td> </p></td>
@ -109,15 +220,39 @@
of type <tt class="computeroutput"><span class="identifier">E</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>, and current state <tt class="computeroutput"><span class="identifier">s</span></tt> of type <tt class="computeroutput"><span class="identifier">S</span></tt> of type <tt class="computeroutput"><span class="identifier">E</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>, and current state <tt class="computeroutput"><span class="identifier">s</span></tt> of type <tt class="computeroutput"><span class="identifier">S</span></tt>
</p></td> </p></td>
<td><p> <td><p>
=======
<td>
<p>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
<code class="computeroutput"><a href="http://www.boost.org/libs/utility/utility.htm#result_of" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">result_of</span></code></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">(</span><span class="identifier">S</span><span class="special">,</span><span class="identifier">E</span><span class="special">)&gt;::</span><span class="identifier">type</span></code> is the return type of <code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span><span class="identifier">e</span><span class="special">)</span></code>
current state <code class="computeroutput"><span class="identifier">s</span></code>
of type <code class="computeroutput"><span class="identifier">S</span></code>, and
for each element <code class="computeroutput"><span class="identifier">e</span></code>
of type <code class="computeroutput"><span class="identifier">E</span></code> in <code class="computeroutput"><span class="identifier">seq</span></code>
</p>
</td>
<td>
<p>
>>>>>>> .merge-right.r57125
Operation's argument Operation's argument
</p></td> </p></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.iteration.functions.fold.expression_semantics"></a><h6> <a name="fusion.algorithm.iteration.functions.fold.expression_semantics"></a><h6>
<a name="id536612"></a> <a name="id536612"></a>
<a href="fold.html#fusion.algorithm.iteration.functions.fold.expression_semantics">Expression <a href="fold.html#fusion.algorithm.iteration.functions.fold.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.iteration.functions.fold.expression_semantics"></a><h6>
<a name="id750620"></a>
<a class="link" href="fold.html#fusion.algorithm.iteration.functions.fold.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">fold</span><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">initial_state</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">fold</span><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">initial_state</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span>
@ -126,33 +261,114 @@
<span class="bold"><b>Return type</b></span>: Any type <span class="bold"><b>Return type</b></span>: Any type
</p> </p>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Semantics</b></span>: Equivalent to <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">eN</span> <span class="special">....</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e2</span><span class="special">,</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><span class="identifier">initial_state</span><span class="special">)))</span></tt> <span class="bold"><b>Semantics</b></span>: Equivalent to <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">eN</span> <span class="special">....</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e2</span><span class="special">,</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><span class="identifier">initial_state</span><span class="special">)))</span></tt>
where <tt class="computeroutput"><span class="identifier">e1</span> <span class="special">...</span><span class="identifier">eN</span></tt> are the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>. where <tt class="computeroutput"><span class="identifier">e1</span> <span class="special">...</span><span class="identifier">eN</span></tt> are the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
=======
<span class="bold"><strong>Semantics</strong></span>: Equivalent to <code class="computeroutput"><span class="identifier">f</span><span class="special">(...</span> <span class="identifier">f</span><span class="special">(</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">initial_state</span><span class="special">,</span><span class="identifier">e1</span><span class="special">),</span><span class="identifier">e2</span><span class="special">)</span> <span class="special">...</span><span class="identifier">eN</span><span class="special">)</span></code> where <code class="computeroutput"><span class="identifier">e1</span>
<span class="special">...</span><span class="identifier">eN</span></code>
are the elements of <code class="computeroutput"><span class="identifier">seq</span></code>.
>>>>>>> .merge-right.r57125
</p> </p>
<a name="fusion.algorithm.iteration.functions.fold.complexity"></a><h6> <a name="fusion.algorithm.iteration.functions.fold.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id536820"></a> <a name="id536820"></a>
<a href="fold.html#fusion.algorithm.iteration.functions.fold.complexity">Complexity</a> <a href="fold.html#fusion.algorithm.iteration.functions.fold.complexity">Complexity</a>
=======
<a name="id788832"></a>
=======
<a name="id751366"></a>
=======
<a name="id743742"></a>
=======
<a name="id766546"></a>
=======
<a name="id754048"></a>
=======
<a name="id750771"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="fold.html#fusion.algorithm.iteration.functions.fold.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear, exactly <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">f</span></tt>. Linear, exactly <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">f</span></tt>.
</p> </p>
<a name="fusion.algorithm.iteration.functions.fold.header"></a><h6> <a name="fusion.algorithm.iteration.functions.fold.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id536913"></a> <a name="id536913"></a>
<a href="fold.html#fusion.algorithm.iteration.functions.fold.header">Header</a> <a href="fold.html#fusion.algorithm.iteration.functions.fold.header">Header</a>
=======
<a name="id788890"></a>
=======
<a name="id751424"></a>
=======
<a name="id743800"></a>
=======
<a name="id766603"></a>
=======
<a name="id754106"></a>
=======
<a name="id750829"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="fold.html#fusion.algorithm.iteration.functions.fold.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">fold</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">fold</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">fold</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">fold</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.iteration.functions.fold.example"></a><h6> <a name="fusion.algorithm.iteration.functions.fold.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id537079"></a> <a name="id537079"></a>
<a href="fold.html#fusion.algorithm.iteration.functions.fold.example">Example</a> <a href="fold.html#fusion.algorithm.iteration.functions.fold.example">Example</a>
=======
<a name="id789005"></a>
=======
<a name="id751539"></a>
=======
<a name="id743915"></a>
=======
<a name="id766718"></a>
=======
<a name="id754221"></a>
=======
<a name="id750944"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="fold.html#fusion.algorithm.iteration.functions.fold.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">make_string</span> <pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">make_string</span>
<span class="special">{</span> <span class="special">{</span>
<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">result_type</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">result_type</span><span class="special">;</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">&gt;</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">&gt;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="keyword">operator</span><span class="special">()(</span><span class="keyword">const</span> <span class="identifier">T</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;</span> <span class="identifier">str</span><span class="special">)</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="keyword">operator</span><span class="special">()(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&amp;</span> <span class="identifier">str</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">)</span> <span class="keyword">const</span>
<span class="special">{</span> <span class="special">{</span>
<span class="keyword">return</span> <span class="identifier">str</span> <span class="special">+</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lexical_cast</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;(</span><span class="identifier">t</span><span class="special">);</span> <span class="keyword">return</span> <span class="identifier">str</span> <span class="special">+</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lexical_cast</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;(</span><span class="identifier">t</span><span class="special">);</span>
<span class="special">}</span> <span class="special">}</span>
@ -164,7 +380,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>for_each</title> <title>for_each</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="accumulate.html" title="accumulate"> <link rel="previous" href="accumulate.html" title="accumulate">
<link rel="next" href="../metafunctions.html" title="Metafunctions"> <link rel="next" href="../metafunctions.html" title="Metafunctions">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.iteration.functions.for_each.description"></a><h6> <a name="fusion.algorithm.iteration.functions.for_each.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id539334"></a> <a name="id539334"></a>
<a href="for_each.html#fusion.algorithm.iteration.functions.for_each.description">Description</a> <a href="for_each.html#fusion.algorithm.iteration.functions.for_each.description">Description</a>
=======
<a name="id791161"></a>
=======
<a name="id753172"></a>
=======
<a name="id745548"></a>
=======
<a name="id768340"></a>
=======
<a name="id756934"></a>
=======
<a name="id753658"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="for_each.html#fusion.algorithm.iteration.functions.for_each.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Applies a unary function object to each element of a sequence. Applies a unary function object to each element of a sequence.
</p> </p>
<a name="fusion.algorithm.iteration.functions.for_each.synopsis"></a><h6> <a name="fusion.algorithm.iteration.functions.for_each.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id539364"></a> <a name="id539364"></a>
<a href="for_each.html#fusion.algorithm.iteration.functions.for_each.synopsis">Synopsis</a> <a href="for_each.html#fusion.algorithm.iteration.functions.for_each.synopsis">Synopsis</a>
=======
<a name="id791180"></a>
=======
<a name="id753191"></a>
=======
<a name="id745567"></a>
=======
<a name="id768359"></a>
=======
<a name="id756954"></a>
=======
<a name="id753677"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="for_each.html#fusion.algorithm.iteration.functions.for_each.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -48,8 +106,33 @@
<span class="identifier">Sequence</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id539564"></a><p class="title"><b>Table<EFBFBD>1.35.<2E>Parameters</b></p> <a name="id539564"></a><p class="title"><b>Table<EFBFBD>1.35.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id791320"></a><p class="title"><b>Table<EFBFBD>1.35.<2E>Parameters</b></p>
=======
<a name="id753331"></a><p class="title"><b>Table<EFBFBD>1.39.<2E>Parameters</b></p>
=======
<a name="id745707"></a><p class="title"><b>Table<EFBFBD>1.39.<2E>Parameters</b></p>
=======
<a name="id768499"></a><p class="title"><b>Table&#160;1.39.&#160;Parameters</b></p>
=======
<a name="id757094"></a><p class="title"><b>Table&#160;1.39.&#160;Parameters</b></p>
=======
<a name="id753817"></a><p class="title"><b>Table&#160;1.39.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -98,9 +181,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.iteration.functions.for_each.expression_semantics"></a><h6> <a name="fusion.algorithm.iteration.functions.for_each.expression_semantics"></a><h6>
<a name="id539763"></a> <a name="id539763"></a>
<a href="for_each.html#fusion.algorithm.iteration.functions.for_each.expression_semantics">Expression <a href="for_each.html#fusion.algorithm.iteration.functions.for_each.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.iteration.functions.for_each.expression_semantics"></a><h6>
<a name="id753970"></a>
<a class="link" href="for_each.html#fusion.algorithm.iteration.functions.for_each.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="for_each.html" title="for_each"><tt class="computeroutput"><span class="identifier">for_each</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span> <pre class="programlisting"><a href="for_each.html" title="for_each"><tt class="computeroutput"><span class="identifier">for_each</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span>
@ -113,22 +202,97 @@
in <tt class="computeroutput"><span class="identifier">seq</span></tt>. in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.iteration.functions.for_each.complexity"></a><h6> <a name="fusion.algorithm.iteration.functions.for_each.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id539918"></a> <a name="id539918"></a>
<a href="for_each.html#fusion.algorithm.iteration.functions.for_each.complexity">Complexity</a> <a href="for_each.html#fusion.algorithm.iteration.functions.for_each.complexity">Complexity</a>
=======
<a name="id791577"></a>
=======
<a name="id753588"></a>
=======
<a name="id745964"></a>
=======
<a name="id768756"></a>
=======
<a name="id757351"></a>
=======
<a name="id754074"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="for_each.html#fusion.algorithm.iteration.functions.for_each.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear, exactly <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">f</span></tt>. Linear, exactly <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">f</span></tt>.
</p> </p>
<a name="fusion.algorithm.iteration.functions.for_each.header"></a><h6> <a name="fusion.algorithm.iteration.functions.for_each.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id540012"></a> <a name="id540012"></a>
<a href="for_each.html#fusion.algorithm.iteration.functions.for_each.header">Header</a> <a href="for_each.html#fusion.algorithm.iteration.functions.for_each.header">Header</a>
=======
<a name="id791637"></a>
=======
<a name="id753648"></a>
=======
<a name="id746024"></a>
=======
<a name="id768816"></a>
=======
<a name="id757411"></a>
=======
<a name="id754134"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="for_each.html#fusion.algorithm.iteration.functions.for_each.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">for_each</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">for_each</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">for_each</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">for_each</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.iteration.functions.for_each.example"></a><h6> <a name="fusion.algorithm.iteration.functions.for_each.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id540179"></a> <a name="id540179"></a>
<a href="for_each.html#fusion.algorithm.iteration.functions.for_each.example">Example</a> <a href="for_each.html#fusion.algorithm.iteration.functions.for_each.example">Example</a>
=======
<a name="id791752"></a>
=======
<a name="id753763"></a>
=======
<a name="id746139"></a>
=======
<a name="id768931"></a>
=======
<a name="id757526"></a>
=======
<a name="id754249"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="for_each.html#fusion.algorithm.iteration.functions.for_each.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">increment</span> <pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">increment</span>
<span class="special">{</span> <span class="special">{</span>
@ -146,7 +310,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Metafunctions</title> <title>Metafunctions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../iteration.html" title="Iteration"> <link rel="up" href="../iteration.html" title="Iteration">
<link rel="previous" href="functions/for_each.html" title="for_each"> <link rel="previous" href="functions/for_each.html" title="for_each">

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>accumulate</title> <title>accumulate</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="fold.html" title="fold"> <link rel="previous" href="fold.html" title="fold">
<link rel="next" href="for_each.html" title="for_each"> <link rel="next" href="for_each.html" title="for_each">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.iteration.metafunctions.accumulate.description"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.accumulate.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id541535"></a> <a name="id541535"></a>
<a href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.description">Description</a> <a href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.description">Description</a>
=======
<a name="id793250"></a>
=======
<a name="id755807"></a>
=======
<a name="id748182"></a>
=======
<a name="id769882"></a>
=======
<a name="id758477"></a>
=======
<a name="id755200"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/accumulate.html" title="accumulate"><tt class="computeroutput"><span class="identifier">accumulate</span></tt></a>. Returns the result type of <a href="../functions/accumulate.html" title="accumulate"><tt class="computeroutput"><span class="identifier">accumulate</span></tt></a>.
</p> </p>
<a name="fusion.algorithm.iteration.metafunctions.accumulate.synopsis"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.accumulate.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id541582"></a> <a name="id541582"></a>
<a href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.synopsis">Synopsis</a> <a href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.synopsis">Synopsis</a>
=======
<a name="id793281"></a>
=======
<a name="id755838"></a>
=======
<a name="id748214"></a>
=======
<a name="id769913"></a>
=======
<a name="id758508"></a>
=======
<a name="id755231"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -50,8 +108,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id541715"></a><p class="title"><b>Table<EFBFBD>1.37.<2E>Parameters</b></p> <a name="id541715"></a><p class="title"><b>Table<EFBFBD>1.37.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id793380"></a><p class="title"><b>Table<EFBFBD>1.37.<2E>Parameters</b></p>
=======
<a name="id755937"></a><p class="title"><b>Table<EFBFBD>1.41.<2E>Parameters</b></p>
=======
<a name="id748313"></a><p class="title"><b>Table<EFBFBD>1.41.<2E>Parameters</b></p>
=======
<a name="id770013"></a><p class="title"><b>Table&#160;1.41.&#160;Parameters</b></p>
=======
<a name="id758608"></a><p class="title"><b>Table&#160;1.41.&#160;Parameters</b></p>
=======
<a name="id755331"></a><p class="title"><b>Table&#160;1.41.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -94,6 +177,7 @@
</p></td> </p></td>
</tr> </tr>
<tr> <tr>
<<<<<<< .working
<td><p> <td><p>
<tt class="computeroutput"><span class="identifier">F</span></tt> <tt class="computeroutput"><span class="identifier">F</span></tt>
</p></td> </p></td>
@ -103,15 +187,39 @@
of type <tt class="computeroutput"><span class="identifier">E</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>, and current state <tt class="computeroutput"><span class="identifier">s</span></tt> of type <tt class="computeroutput"><span class="identifier">S</span></tt> of type <tt class="computeroutput"><span class="identifier">E</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>, and current state <tt class="computeroutput"><span class="identifier">s</span></tt> of type <tt class="computeroutput"><span class="identifier">S</span></tt>
</p></td> </p></td>
<td><p> <td><p>
=======
<td>
<p>
<code class="computeroutput"><span class="identifier">F</span></code>
</p>
</td>
<td>
<p>
<code class="computeroutput"><a href="http://www.boost.org/libs/utility/utility.htm#result_of" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">result_of</span></code></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">(</span><span class="identifier">S</span><span class="special">,</span><span class="identifier">E</span><span class="special">)&gt;::</span><span class="identifier">type</span></code> is the return type of <code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span><span class="identifier">e</span><span class="special">)</span></code>
for current state <code class="computeroutput"><span class="identifier">s</span></code>
of type <code class="computeroutput"><span class="identifier">S</span></code>, and
for each element <code class="computeroutput"><span class="identifier">e</span></code>
of type <code class="computeroutput"><span class="identifier">E</span></code> in <code class="computeroutput"><span class="identifier">seq</span></code>
</p>
</td>
<td>
<p>
>>>>>>> .merge-right.r57125
The operation to be applied on forward traversal The operation to be applied on forward traversal
</p></td> </p></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.iteration.metafunctions.accumulate.expression_semantics"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.accumulate.expression_semantics"></a><h6>
<a name="id542066"></a> <a name="id542066"></a>
<a href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.expression_semantics">Expression <a href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.iteration.metafunctions.accumulate.expression_semantics"></a><h6>
<a name="id755590"></a>
<a class="link" href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="accumulate.html" title="accumulate"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">accumulate</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">State</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="accumulate.html" title="accumulate"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">accumulate</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">State</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -127,15 +235,65 @@
and binary function object or function pointer of type <tt class="computeroutput"><span class="identifier">F</span></tt>. and binary function object or function pointer of type <tt class="computeroutput"><span class="identifier">F</span></tt>.
</p> </p>
<a name="fusion.algorithm.iteration.metafunctions.accumulate.complexity"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.accumulate.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id542240"></a> <a name="id542240"></a>
<a href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.complexity">Complexity</a> <a href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.complexity">Complexity</a>
=======
<a name="id793752"></a>
=======
<a name="id756309"></a>
=======
<a name="id748685"></a>
=======
<a name="id770385"></a>
=======
<a name="id758980"></a>
=======
<a name="id755703"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear, exactly <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">F</span></tt>. Linear, exactly <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">F</span></tt>.
</p> </p>
<a name="fusion.algorithm.iteration.metafunctions.accumulate.header"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.accumulate.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id542334"></a> <a name="id542334"></a>
<a href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.header">Header</a> <a href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.header">Header</a>
=======
<a name="id793815"></a>
=======
<a name="id756372"></a>
=======
<a name="id748748"></a>
=======
<a name="id770447"></a>
=======
<a name="id759042"></a>
=======
<a name="id755765"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="accumulate.html#fusion.algorithm.iteration.metafunctions.accumulate.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">accumulate</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">accumulate</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">accumulate</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">accumulate</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -143,7 +301,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>fold</title> <title>fold</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="../metafunctions.html" title="Metafunctions"> <link rel="previous" href="../metafunctions.html" title="Metafunctions">
<link rel="next" href="accumulate.html" title="accumulate"> <link rel="next" href="accumulate.html" title="accumulate">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.iteration.metafunctions.fold.description"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.fold.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id540554"></a> <a name="id540554"></a>
<a href="fold.html#fusion.algorithm.iteration.metafunctions.fold.description">Description</a> <a href="fold.html#fusion.algorithm.iteration.metafunctions.fold.description">Description</a>
=======
<a name="id792016"></a>
=======
<a name="id754027"></a>
=======
<a name="id746403"></a>
=======
<a name="id769195"></a>
=======
<a name="id757790"></a>
=======
<a name="id754513"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="fold.html#fusion.algorithm.iteration.metafunctions.fold.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/fold.html" title="fold"><tt class="computeroutput"><span class="identifier">fold</span></tt></a>. Returns the result type of <a href="../functions/fold.html" title="fold"><tt class="computeroutput"><span class="identifier">fold</span></tt></a>.
</p> </p>
<a name="fusion.algorithm.iteration.metafunctions.fold.synopsis"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.fold.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id540601"></a> <a name="id540601"></a>
<a href="fold.html#fusion.algorithm.iteration.metafunctions.fold.synopsis">Synopsis</a> <a href="fold.html#fusion.algorithm.iteration.metafunctions.fold.synopsis">Synopsis</a>
=======
<a name="id792045"></a>
=======
<a name="id754056"></a>
=======
<a name="id746432"></a>
=======
<a name="id769224"></a>
=======
<a name="id757819"></a>
=======
<a name="id754542"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="fold.html#fusion.algorithm.iteration.metafunctions.fold.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -50,8 +108,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id540735"></a><p class="title"><b>Table<EFBFBD>1.36.<2E>Parameters</b></p> <a name="id540735"></a><p class="title"><b>Table<EFBFBD>1.36.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id792142"></a><p class="title"><b>Table<EFBFBD>1.36.<2E>Parameters</b></p>
=======
<a name="id754153"></a><p class="title"><b>Table<EFBFBD>1.40.<2E>Parameters</b></p>
=======
<a name="id746529"></a><p class="title"><b>Table<EFBFBD>1.40.<2E>Parameters</b></p>
=======
<a name="id769322"></a><p class="title"><b>Table&#160;1.40.&#160;Parameters</b></p>
=======
<a name="id757916"></a><p class="title"><b>Table&#160;1.40.&#160;Parameters</b></p>
=======
<a name="id754640"></a><p class="title"><b>Table&#160;1.40.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -94,6 +177,7 @@
</p></td> </p></td>
</tr> </tr>
<tr> <tr>
<<<<<<< .working
<td><p> <td><p>
<tt class="computeroutput"><span class="identifier">F</span></tt> <tt class="computeroutput"><span class="identifier">F</span></tt>
</p></td> </p></td>
@ -103,15 +187,39 @@
of type <tt class="computeroutput"><span class="identifier">E</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>, and current state <tt class="computeroutput"><span class="identifier">s</span></tt> of type <tt class="computeroutput"><span class="identifier">S</span></tt> of type <tt class="computeroutput"><span class="identifier">E</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>, and current state <tt class="computeroutput"><span class="identifier">s</span></tt> of type <tt class="computeroutput"><span class="identifier">S</span></tt>
</p></td> </p></td>
<td><p> <td><p>
=======
<td>
<p>
<code class="computeroutput"><span class="identifier">F</span></code>
</p>
</td>
<td>
<p>
<code class="computeroutput"><a href="http://www.boost.org/libs/utility/utility.htm#result_of" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">result_of</span></code></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">(</span><span class="identifier">S</span><span class="special">,</span><span class="identifier">E</span><span class="special">)&gt;::</span><span class="identifier">type</span></code> is the return type of <code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span><span class="identifier">e</span><span class="special">)</span></code>
for current state <code class="computeroutput"><span class="identifier">s</span></code>
of type <code class="computeroutput"><span class="identifier">S</span></code>, and
for each element <code class="computeroutput"><span class="identifier">e</span></code>
of type <code class="computeroutput"><span class="identifier">E</span></code> in <code class="computeroutput"><span class="identifier">seq</span></code>
</p>
</td>
<td>
<p>
>>>>>>> .merge-right.r57125
The operation to be applied on forward traversal The operation to be applied on forward traversal
</p></td> </p></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.iteration.metafunctions.fold.expression_semantics"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.fold.expression_semantics"></a><h6>
<a name="id541084"></a> <a name="id541084"></a>
<a href="fold.html#fusion.algorithm.iteration.metafunctions.fold.expression_semantics">Expression <a href="fold.html#fusion.algorithm.iteration.metafunctions.fold.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.iteration.metafunctions.fold.expression_semantics"></a><h6>
<a name="id754899"></a>
<a class="link" href="fold.html#fusion.algorithm.iteration.metafunctions.fold.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="fold.html" title="fold"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">fold</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">State</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="fold.html" title="fold"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">fold</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">State</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -127,15 +235,65 @@
and binary function object or function pointer of type <tt class="computeroutput"><span class="identifier">F</span></tt>. and binary function object or function pointer of type <tt class="computeroutput"><span class="identifier">F</span></tt>.
</p> </p>
<a name="fusion.algorithm.iteration.metafunctions.fold.complexity"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.fold.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id541254"></a> <a name="id541254"></a>
<a href="fold.html#fusion.algorithm.iteration.metafunctions.fold.complexity">Complexity</a> <a href="fold.html#fusion.algorithm.iteration.metafunctions.fold.complexity">Complexity</a>
=======
<a name="id793061"></a>
=======
<a name="id755618"></a>
=======
<a name="id747994"></a>
=======
<a name="id769694"></a>
=======
<a name="id758288"></a>
=======
<a name="id755012"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="fold.html#fusion.algorithm.iteration.metafunctions.fold.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear, exactly <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">F</span></tt>. Linear, exactly <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">F</span></tt>.
</p> </p>
<a name="fusion.algorithm.iteration.metafunctions.fold.header"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.fold.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id541349"></a> <a name="id541349"></a>
<a href="fold.html#fusion.algorithm.iteration.metafunctions.fold.header">Header</a> <a href="fold.html#fusion.algorithm.iteration.metafunctions.fold.header">Header</a>
=======
<a name="id793121"></a>
=======
<a name="id755678"></a>
=======
<a name="id748054"></a>
=======
<a name="id769754"></a>
=======
<a name="id758348"></a>
=======
<a name="id755072"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="fold.html#fusion.algorithm.iteration.metafunctions.fold.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">fold</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">fold</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">fold</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">fold</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -143,7 +301,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>for_each</title> <title>for_each</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="accumulate.html" title="accumulate"> <link rel="previous" href="accumulate.html" title="accumulate">
<link rel="next" href="../../query.html" title="Query"> <link rel="next" href="../../query.html" title="Query">
@ -34,12 +42,62 @@
return type of <a href="../functions/for_each.html" title="for_each"><tt class="computeroutput"><span class="identifier">for_each</span></tt></a> is always <tt class="computeroutput"><span class="keyword">void</span></tt>. return type of <a href="../functions/for_each.html" title="for_each"><tt class="computeroutput"><span class="identifier">for_each</span></tt></a> is always <tt class="computeroutput"><span class="keyword">void</span></tt>.
</p> </p>
<a name="fusion.algorithm.iteration.metafunctions.for_each.description"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.for_each.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id542575"></a> <a name="id542575"></a>
<a href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.description">Description</a> <a href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.description">Description</a>
=======
<a name="id793976"></a>
=======
<a name="id756533"></a>
=======
<a name="id748908"></a>
=======
<a name="id770608"></a>
=======
<a name="id759203"></a>
=======
<a name="id755926"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<a name="fusion.algorithm.iteration.metafunctions.for_each.synopsis"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.for_each.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id542600"></a> <a name="id542600"></a>
<a href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.synopsis">Synopsis</a> <a href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.synopsis">Synopsis</a>
=======
<a name="id793994"></a>
=======
<a name="id756551"></a>
=======
<a name="id748926"></a>
=======
<a name="id770626"></a>
=======
<a name="id759221"></a>
=======
<a name="id755944"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id542720"></a><p class="title"><b>Table<EFBFBD>1.38.<2E>Parameters</b></p> <a name="id542720"></a><p class="title"><b>Table<EFBFBD>1.38.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id794082"></a><p class="title"><b>Table<EFBFBD>1.38.<2E>Parameters</b></p>
=======
<a name="id756639"></a><p class="title"><b>Table<EFBFBD>1.42.<2E>Parameters</b></p>
=======
<a name="id749015"></a><p class="title"><b>Table<EFBFBD>1.42.<2E>Parameters</b></p>
=======
<a name="id770715"></a><p class="title"><b>Table&#160;1.42.&#160;Parameters</b></p>
=======
<a name="id759310"></a><p class="title"><b>Table&#160;1.42.&#160;Parameters</b></p>
=======
<a name="id756033"></a><p class="title"><b>Table&#160;1.42.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,9 +180,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.iteration.metafunctions.for_each.expression_semantics"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.for_each.expression_semantics"></a><h6>
<a name="id542860"></a> <a name="id542860"></a>
<a href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.expression_semantics">Expression <a href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.iteration.metafunctions.for_each.expression_semantics"></a><h6>
<a name="id756147"></a>
<a class="link" href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="for_each.html" title="for_each"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">for_each</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="for_each.html" title="for_each"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">for_each</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -115,15 +204,65 @@
return type is always <tt class="computeroutput"><span class="keyword">void</span></tt>. return type is always <tt class="computeroutput"><span class="keyword">void</span></tt>.
</p> </p>
<a name="fusion.algorithm.iteration.metafunctions.for_each.complexity"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.for_each.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id543040"></a> <a name="id543040"></a>
<a href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.complexity">Complexity</a> <a href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.complexity">Complexity</a>
=======
<a name="id794310"></a>
=======
<a name="id756867"></a>
=======
<a name="id749243"></a>
=======
<a name="id770943"></a>
=======
<a name="id759538"></a>
=======
<a name="id756261"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.iteration.metafunctions.for_each.header"></a><h6> <a name="fusion.algorithm.iteration.metafunctions.for_each.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id543069"></a> <a name="id543069"></a>
<a href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.header">Header</a> <a href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.header">Header</a>
=======
<a name="id794332"></a>
=======
<a name="id756889"></a>
=======
<a name="id749265"></a>
=======
<a name="id770964"></a>
=======
<a name="id759559"></a>
=======
<a name="id756282"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="for_each.html#fusion.algorithm.iteration.metafunctions.for_each.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">for_each</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">for_each</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">for_each</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">for_each</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -131,7 +270,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Query</title> <title>Query</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../algorithm.html" title="Algorithm"> <link rel="up" href="../algorithm.html" title="Algorithm">
<link rel="previous" href="iteration/metafunctions/for_each.html" title="for_each"> <link rel="previous" href="iteration/metafunctions/for_each.html" title="for_each">
@ -36,10 +40,17 @@
<p> <p>
The query algorithms provide support for searching and analyzing sequences. The query algorithms provide support for searching and analyzing sequences.
</p> </p>
<<<<<<< .working
<a name="fusion.algorithm.query.header"></a><h4> <a name="fusion.algorithm.query.header"></a><h4>
<a name="id543262"></a> <a name="id543262"></a>
<a href="query.html#fusion.algorithm.query.header">Header</a> <a href="query.html#fusion.algorithm.query.header">Header</a>
</h4> </h4>
=======
<a name="fusion.algorithm.query.header"></a><h5>
<a name="id749399"></a>
<a class="link" href="query.html#fusion.algorithm.query.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">query</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">query</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Functions</title> <title>Functions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../query.html" title="Query"> <link rel="up" href="../query.html" title="Query">
<link rel="previous" href="../query.html" title="Query"> <link rel="previous" href="../query.html" title="Query">

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>all</title> <title>all</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="any.html" title="any"> <link rel="previous" href="any.html" title="any">
<link rel="next" href="none.html" title="none"> <link rel="next" href="none.html" title="none">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.functions.all.description"></a><h6> <a name="fusion.algorithm.query.functions.all.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id545520"></a> <a name="id545520"></a>
<a href="all.html#fusion.algorithm.query.functions.all.description">Description</a> <a href="all.html#fusion.algorithm.query.functions.all.description">Description</a>
=======
<a name="id796555"></a>
=======
<a name="id758293"></a>
=======
<a name="id750669"></a>
=======
<a name="id773256"></a>
=======
<a name="id761782"></a>
=======
<a name="id758506"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.functions.all.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and
@ -41,8 +74,33 @@
element of <tt class="computeroutput"><span class="identifier">seq</span></tt>. element of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.functions.all.synopsis"></a><h6> <a name="fusion.algorithm.query.functions.all.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id353686"></a> <a name="id353686"></a>
<a href="all.html#fusion.algorithm.query.functions.all.synopsis">Synopsis</a> <a href="all.html#fusion.algorithm.query.functions.all.synopsis">Synopsis</a>
=======
<a name="id796608"></a>
=======
<a name="id758346"></a>
=======
<a name="id750722"></a>
=======
<a name="id773309"></a>
=======
<a name="id761835"></a>
=======
<a name="id758558"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.functions.all.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -52,8 +110,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id546380"></a><p class="title"><b>Table<EFBFBD>1.40.<2E>Parameters</b></p> <a name="id546380"></a><p class="title"><b>Table<EFBFBD>1.40.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id796744"></a><p class="title"><b>Table<EFBFBD>1.40.<2E>Parameters</b></p>
=======
<a name="id758481"></a><p class="title"><b>Table<EFBFBD>1.44.<2E>Parameters</b></p>
=======
<a name="id750857"></a><p class="title"><b>Table<EFBFBD>1.44.<2E>Parameters</b></p>
=======
<a name="id773444"></a><p class="title"><b>Table&#160;1.44.&#160;Parameters</b></p>
=======
<a name="id761971"></a><p class="title"><b>Table&#160;1.44.&#160;Parameters</b></p>
=======
<a name="id758694"></a><p class="title"><b>Table&#160;1.44.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -100,9 +183,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.functions.all.expression_semantics"></a><h6> <a name="fusion.algorithm.query.functions.all.expression_semantics"></a><h6>
<a name="id546567"></a> <a name="id546567"></a>
<a href="all.html#fusion.algorithm.query.functions.all.expression_semantics">Expression <a href="all.html#fusion.algorithm.query.functions.all.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.functions.all.expression_semantics"></a><h6>
<a name="id758852"></a>
<a class="link" href="all.html#fusion.algorithm.query.functions.all.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="all.html" title="all"><tt class="computeroutput"><span class="identifier">all</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span> <pre class="programlisting"><a href="all.html" title="all"><tt class="computeroutput"><span class="identifier">all</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span>
@ -117,22 +206,97 @@
element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>. element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.functions.all.complexity"></a><h6> <a name="fusion.algorithm.query.functions.all.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id546716"></a> <a name="id546716"></a>
<a href="all.html#fusion.algorithm.query.functions.all.complexity">Complexity</a> <a href="all.html#fusion.algorithm.query.functions.all.complexity">Complexity</a>
=======
<a name="id797014"></a>
=======
<a name="id758751"></a>
=======
<a name="id751127"></a>
=======
<a name="id773714"></a>
=======
<a name="id762241"></a>
=======
<a name="id758964"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.functions.all.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons. Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
</p> </p>
<a name="fusion.algorithm.query.functions.all.header"></a><h6> <a name="fusion.algorithm.query.functions.all.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id546786"></a> <a name="id546786"></a>
<a href="all.html#fusion.algorithm.query.functions.all.header">Header</a> <a href="all.html#fusion.algorithm.query.functions.all.header">Header</a>
=======
<a name="id797064"></a>
=======
<a name="id758802"></a>
=======
<a name="id751178"></a>
=======
<a name="id773765"></a>
=======
<a name="id762291"></a>
=======
<a name="id759014"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.functions.all.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.query.functions.all.example"></a><h6> <a name="fusion.algorithm.query.functions.all.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id546934"></a> <a name="id546934"></a>
<a href="all.html#fusion.algorithm.query.functions.all.example">Example</a> <a href="all.html#fusion.algorithm.query.functions.all.example">Example</a>
=======
<a name="id797179"></a>
=======
<a name="id758917"></a>
=======
<a name="id751293"></a>
=======
<a name="id773880"></a>
=======
<a name="id762406"></a>
=======
<a name="id759130"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.functions.all.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">odd</span> <pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">odd</span>
<span class="special">{</span> <span class="special">{</span>
@ -149,7 +313,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>any</title> <title>any</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="../functions.html" title="Functions"> <link rel="previous" href="../functions.html" title="Functions">
<link rel="next" href="all.html" title="all"> <link rel="next" href="all.html" title="all">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.functions.any.description"></a><h6> <a name="fusion.algorithm.query.functions.any.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id543456"></a> <a name="id543456"></a>
<a href="any.html#fusion.algorithm.query.functions.any.description">Description</a> <a href="any.html#fusion.algorithm.query.functions.any.description">Description</a>
=======
<a name="id794594"></a>
=======
<a name="id757151"></a>
=======
<a name="id749526"></a>
=======
<a name="id771226"></a>
=======
<a name="id759821"></a>
=======
<a name="id756544"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="any.html#fusion.algorithm.query.functions.any.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and
@ -41,8 +74,33 @@
least one element of <tt class="computeroutput"><span class="identifier">seq</span></tt>. least one element of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.functions.any.synopsis"></a><h6> <a name="fusion.algorithm.query.functions.any.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id543543"></a> <a name="id543543"></a>
<a href="any.html#fusion.algorithm.query.functions.any.synopsis">Synopsis</a> <a href="any.html#fusion.algorithm.query.functions.any.synopsis">Synopsis</a>
=======
<a name="id794646"></a>
=======
<a name="id757203"></a>
=======
<a name="id749579"></a>
=======
<a name="id771279"></a>
=======
<a name="id759874"></a>
=======
<a name="id756597"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="any.html#fusion.algorithm.query.functions.any.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -52,8 +110,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id543734"></a><p class="title"><b>Table<EFBFBD>1.39.<2E>Parameters</b></p> <a name="id543734"></a><p class="title"><b>Table<EFBFBD>1.39.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id794782"></a><p class="title"><b>Table<EFBFBD>1.39.<2E>Parameters</b></p>
=======
<a name="id757339"></a><p class="title"><b>Table<EFBFBD>1.43.<2E>Parameters</b></p>
=======
<a name="id749715"></a><p class="title"><b>Table<EFBFBD>1.43.<2E>Parameters</b></p>
=======
<a name="id771414"></a><p class="title"><b>Table&#160;1.43.&#160;Parameters</b></p>
=======
<a name="id761102"></a><p class="title"><b>Table&#160;1.43.&#160;Parameters</b></p>
=======
<a name="id757825"></a><p class="title"><b>Table&#160;1.43.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -100,9 +183,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.functions.any.expression_semantics"></a><h6> <a name="fusion.algorithm.query.functions.any.expression_semantics"></a><h6>
<a name="id543934"></a> <a name="id543934"></a>
<a href="any.html#fusion.algorithm.query.functions.any.expression_semantics">Expression <a href="any.html#fusion.algorithm.query.functions.any.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.functions.any.expression_semantics"></a><h6>
<a name="id757984"></a>
<a class="link" href="any.html#fusion.algorithm.query.functions.any.expression_semantics">Expression
>>>>>>> .merge-right.r57125
semantics</a> semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="any.html" title="any"><tt class="computeroutput"><span class="identifier">any</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span> <pre class="programlisting"><a href="any.html" title="any"><tt class="computeroutput"><span class="identifier">any</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span>
@ -117,22 +206,97 @@
element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>. element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.functions.any.complexity"></a><h6> <a name="fusion.algorithm.query.functions.any.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id544102"></a> <a name="id544102"></a>
<a href="any.html#fusion.algorithm.query.functions.any.complexity">Complexity</a> <a href="any.html#fusion.algorithm.query.functions.any.complexity">Complexity</a>
=======
<a name="id795052"></a>
=======
<a name="id757883"></a>
=======
<a name="id750258"></a>
=======
<a name="id772846"></a>
=======
<a name="id761372"></a>
=======
<a name="id758095"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="any.html#fusion.algorithm.query.functions.any.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons. Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
</p> </p>
<a name="fusion.algorithm.query.functions.any.header"></a><h6> <a name="fusion.algorithm.query.functions.any.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id544184"></a> <a name="id544184"></a>
<a href="any.html#fusion.algorithm.query.functions.any.header">Header</a> <a href="any.html#fusion.algorithm.query.functions.any.header">Header</a>
=======
<a name="id795102"></a>
=======
<a name="id757933"></a>
=======
<a name="id750309"></a>
=======
<a name="id772896"></a>
=======
<a name="id761422"></a>
=======
<a name="id758146"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="any.html#fusion.algorithm.query.functions.any.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">any</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">any</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">any</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">any</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.query.functions.any.example"></a><h6> <a name="fusion.algorithm.query.functions.any.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id544349"></a> <a name="id544349"></a>
<a href="any.html#fusion.algorithm.query.functions.any.example">Example</a> <a href="any.html#fusion.algorithm.query.functions.any.example">Example</a>
=======
<a name="id796310"></a>
=======
<a name="id758048"></a>
=======
<a name="id750424"></a>
=======
<a name="id773011"></a>
=======
<a name="id761538"></a>
=======
<a name="id758261"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="any.html#fusion.algorithm.query.functions.any.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">odd</span> <pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">odd</span>
<span class="special">{</span> <span class="special">{</span>
@ -149,7 +313,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>count</title> <title>count</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="find_if.html" title="find_if"> <link rel="previous" href="find_if.html" title="find_if">
<link rel="next" href="count_if.html" title="count_if"> <link rel="next" href="count_if.html" title="count_if">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.functions.count.description"></a><h6> <a name="fusion.algorithm.query.functions.count.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id550460"></a> <a name="id550460"></a>
<a href="count.html#fusion.algorithm.query.functions.count.description">Description</a> <a href="count.html#fusion.algorithm.query.functions.count.description">Description</a>
=======
<a name="id801492"></a>
=======
<a name="id765424"></a>
=======
<a name="id757800"></a>
=======
<a name="id780387"></a>
=======
<a name="id767958"></a>
=======
<a name="id764681"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.functions.count.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the number of elements of a given type within a sequence. Returns the number of elements of a given type within a sequence.
</p> </p>
<a name="fusion.algorithm.query.functions.count.synopsis"></a><h6> <a name="fusion.algorithm.query.functions.count.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id550488"></a> <a name="id550488"></a>
<a href="count.html#fusion.algorithm.query.functions.count.synopsis">Synopsis</a> <a href="count.html#fusion.algorithm.query.functions.count.synopsis">Synopsis</a>
=======
<a name="id801509"></a>
=======
<a name="id765441"></a>
=======
<a name="id757816"></a>
=======
<a name="id780404"></a>
=======
<a name="id767974"></a>
=======
<a name="id764698"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.functions.count.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -48,8 +106,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id550689"></a><p class="title"><b>Table<EFBFBD>1.44.<2E>Parameters</b></p> <a name="id550689"></a><p class="title"><b>Table<EFBFBD>1.44.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id801654"></a><p class="title"><b>Table<EFBFBD>1.44.<2E>Parameters</b></p>
=======
<a name="id765586"></a><p class="title"><b>Table<EFBFBD>1.48.<2E>Parameters</b></p>
=======
<a name="id757962"></a><p class="title"><b>Table<EFBFBD>1.48.<2E>Parameters</b></p>
=======
<a name="id780549"></a><p class="title"><b>Table&#160;1.48.&#160;Parameters</b></p>
=======
<a name="id768120"></a><p class="title"><b>Table&#160;1.48.&#160;Parameters</b></p>
=======
<a name="id764843"></a><p class="title"><b>Table&#160;1.48.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,9 +180,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.functions.count.expression_semantics"></a><h6> <a name="fusion.algorithm.query.functions.count.expression_semantics"></a><h6>
<a name="id550879"></a> <a name="id550879"></a>
<a href="count.html#fusion.algorithm.query.functions.count.expression_semantics">Expression <a href="count.html#fusion.algorithm.query.functions.count.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.functions.count.expression_semantics"></a><h6>
<a name="id764998"></a>
<a class="link" href="count.html#fusion.algorithm.query.functions.count.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="count.html" title="count"><tt class="computeroutput"><span class="identifier">count</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">t</span><span class="special">);</span> <pre class="programlisting"><a href="count.html" title="count"><tt class="computeroutput"><span class="identifier">count</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">t</span><span class="special">);</span>
@ -113,22 +202,97 @@
<tt class="computeroutput"><span class="identifier">t</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>. <tt class="computeroutput"><span class="identifier">t</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.functions.count.complexity"></a><h6> <a name="fusion.algorithm.query.functions.count.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id551015"></a> <a name="id551015"></a>
<a href="count.html#fusion.algorithm.query.functions.count.complexity">Complexity</a> <a href="count.html#fusion.algorithm.query.functions.count.complexity">Complexity</a>
=======
<a name="id801902"></a>
=======
<a name="id765834"></a>
=======
<a name="id758210"></a>
=======
<a name="id780797"></a>
=======
<a name="id769461"></a>
=======
<a name="id766184"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.functions.count.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons. Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
</p> </p>
<a name="fusion.algorithm.query.functions.count.header"></a><h6> <a name="fusion.algorithm.query.functions.count.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id551094"></a> <a name="id551094"></a>
<a href="count.html#fusion.algorithm.query.functions.count.header">Header</a> <a href="count.html#fusion.algorithm.query.functions.count.header">Header</a>
=======
<a name="id801953"></a>
=======
<a name="id765885"></a>
=======
<a name="id758260"></a>
=======
<a name="id781940"></a>
=======
<a name="id769511"></a>
=======
<a name="id766234"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.functions.count.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">count</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">count</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">count</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">count</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.query.functions.count.example"></a><h6> <a name="fusion.algorithm.query.functions.count.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id551257"></a> <a name="id551257"></a>
<a href="count.html#fusion.algorithm.query.functions.count.example">Example</a> <a href="count.html#fusion.algorithm.query.functions.count.example">Example</a>
=======
<a name="id802068"></a>
=======
<a name="id766000"></a>
=======
<a name="id758376"></a>
=======
<a name="id782056"></a>
=======
<a name="id769626"></a>
=======
<a name="id766350"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.functions.count.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1.0</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1.0</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><a href="count.html" title="count"><tt class="computeroutput"><span class="identifier">count</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">,</span><span class="number">2</span><span class="special">)</span> <span class="special">==</span> <span class="number">1</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><a href="count.html" title="count"><tt class="computeroutput"><span class="identifier">count</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">,</span><span class="number">2</span><span class="special">)</span> <span class="special">==</span> <span class="number">1</span><span class="special">);</span>
@ -136,7 +300,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>count_if</title> <title>count_if</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="count.html" title="count"> <link rel="previous" href="count.html" title="count">
<link rel="next" href="../metafunctions.html" title="Metafunctions"> <link rel="next" href="../metafunctions.html" title="Metafunctions">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.functions.count_if.description"></a><h6> <a name="fusion.algorithm.query.functions.count_if.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id551462"></a> <a name="id551462"></a>
<a href="count_if.html#fusion.algorithm.query.functions.count_if.description">Description</a> <a href="count_if.html#fusion.algorithm.query.functions.count_if.description">Description</a>
=======
<a name="id802213"></a>
=======
<a name="id766146"></a>
=======
<a name="id758521"></a>
=======
<a name="id782201"></a>
=======
<a name="id769772"></a>
=======
<a name="id766495"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count_if.html#fusion.algorithm.query.functions.count_if.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the number of elements within a sequence with a type for which Returns the number of elements within a sequence with a type for which
a given unary function object evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>. a given unary function object evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.functions.count_if.synopsis"></a><h6> <a name="fusion.algorithm.query.functions.count_if.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id551502"></a> <a name="id551502"></a>
<a href="count_if.html#fusion.algorithm.query.functions.count_if.synopsis">Synopsis</a> <a href="count_if.html#fusion.algorithm.query.functions.count_if.synopsis">Synopsis</a>
=======
<a name="id802237"></a>
=======
<a name="id766170"></a>
=======
<a name="id758545"></a>
=======
<a name="id782225"></a>
=======
<a name="id769796"></a>
=======
<a name="id766519"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count_if.html#fusion.algorithm.query.functions.count_if.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -49,8 +107,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id551692"></a><p class="title"><b>Table<EFBFBD>1.45.<2E>Parameters</b></p> <a name="id551692"></a><p class="title"><b>Table<EFBFBD>1.45.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id804559"></a><p class="title"><b>Table<EFBFBD>1.45.<2E>Parameters</b></p>
=======
<a name="id766306"></a><p class="title"><b>Table<EFBFBD>1.49.<2E>Parameters</b></p>
=======
<a name="id758682"></a><p class="title"><b>Table<EFBFBD>1.49.<2E>Parameters</b></p>
=======
<a name="id782362"></a><p class="title"><b>Table&#160;1.49.&#160;Parameters</b></p>
=======
<a name="id769932"></a><p class="title"><b>Table&#160;1.49.&#160;Parameters</b></p>
=======
<a name="id766656"></a><p class="title"><b>Table&#160;1.49.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,9 +180,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.functions.count_if.expression_semantics"></a><h6> <a name="fusion.algorithm.query.functions.count_if.expression_semantics"></a><h6>
<a name="id551887"></a> <a name="id551887"></a>
<a href="count_if.html#fusion.algorithm.query.functions.count_if.expression_semantics">Expression <a href="count_if.html#fusion.algorithm.query.functions.count_if.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.functions.count_if.expression_semantics"></a><h6>
<a name="id766814"></a>
<a class="link" href="count_if.html#fusion.algorithm.query.functions.count_if.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="count_if.html" title="count_if"><tt class="computeroutput"><span class="identifier">count_if</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">)</span> <pre class="programlisting"><a href="count_if.html" title="count_if"><tt class="computeroutput"><span class="identifier">count_if</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">)</span>
@ -112,22 +201,97 @@
in <tt class="computeroutput"><span class="identifier">seq</span></tt> where <tt class="computeroutput"><span class="identifier">f</span></tt> evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>. in <tt class="computeroutput"><span class="identifier">seq</span></tt> where <tt class="computeroutput"><span class="identifier">f</span></tt> evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.functions.count_if.complexity"></a><h6> <a name="fusion.algorithm.query.functions.count_if.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id552021"></a> <a name="id552021"></a>
<a href="count_if.html#fusion.algorithm.query.functions.count_if.complexity">Complexity</a> <a href="count_if.html#fusion.algorithm.query.functions.count_if.complexity">Complexity</a>
=======
<a name="id804811"></a>
=======
<a name="id766558"></a>
=======
<a name="id758934"></a>
=======
<a name="id782614"></a>
=======
<a name="id770184"></a>
=======
<a name="id766908"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count_if.html#fusion.algorithm.query.functions.count_if.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons. Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
</p> </p>
<a name="fusion.algorithm.query.functions.count_if.header"></a><h6> <a name="fusion.algorithm.query.functions.count_if.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id552099"></a> <a name="id552099"></a>
<a href="count_if.html#fusion.algorithm.query.functions.count_if.header">Header</a> <a href="count_if.html#fusion.algorithm.query.functions.count_if.header">Header</a>
=======
<a name="id804861"></a>
=======
<a name="id766609"></a>
=======
<a name="id758985"></a>
=======
<a name="id782664"></a>
=======
<a name="id770235"></a>
=======
<a name="id766958"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count_if.html#fusion.algorithm.query.functions.count_if.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">count_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">count_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">count_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">count_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.query.functions.count_if.example"></a><h6> <a name="fusion.algorithm.query.functions.count_if.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id552264"></a> <a name="id552264"></a>
<a href="count_if.html#fusion.algorithm.query.functions.count_if.example">Example</a> <a href="count_if.html#fusion.algorithm.query.functions.count_if.example">Example</a>
=======
<a name="id804977"></a>
=======
<a name="id766724"></a>
=======
<a name="id759100"></a>
=======
<a name="id782779"></a>
=======
<a name="id770350"></a>
=======
<a name="id767073"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count_if.html#fusion.algorithm.query.functions.count_if.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><a href="count_if.html" title="count_if"><tt class="computeroutput"><span class="identifier">count_if</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">,</span><span class="identifier">odd</span><span class="special">())</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span><a href="count_if.html" title="count_if"><tt class="computeroutput"><span class="identifier">count_if</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">,</span><span class="identifier">odd</span><span class="special">())</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span>
@ -135,7 +299,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>find</title> <title>find</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="none.html" title="none"> <link rel="previous" href="none.html" title="none">
<link rel="next" href="find_if.html" title="find_if"> <link rel="next" href="find_if.html" title="find_if">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.functions.find.description"></a><h6> <a name="fusion.algorithm.query.functions.find.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id548407"></a> <a name="id548407"></a>
<a href="find.html#fusion.algorithm.query.functions.find.description">Description</a> <a href="find.html#fusion.algorithm.query.functions.find.description">Description</a>
=======
<a name="id798323"></a>
=======
<a name="id763884"></a>
=======
<a name="id756260"></a>
=======
<a name="id778847"></a>
=======
<a name="id766418"></a>
=======
<a name="id763141"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find.html#fusion.algorithm.query.functions.find.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Finds the first element of a given type within a sequence. Finds the first element of a given type within a sequence.
</p> </p>
<a name="fusion.algorithm.query.functions.find.synopsis"></a><h6> <a name="fusion.algorithm.query.functions.find.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id548433"></a> <a name="id548433"></a>
<a href="find.html#fusion.algorithm.query.functions.find.synopsis">Synopsis</a> <a href="find.html#fusion.algorithm.query.functions.find.synopsis">Synopsis</a>
=======
<a name="id798340"></a>
=======
<a name="id763901"></a>
=======
<a name="id756277"></a>
=======
<a name="id778864"></a>
=======
<a name="id766435"></a>
=======
<a name="id763158"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find.html#fusion.algorithm.query.functions.find.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span>
@ -53,8 +111,33 @@
<span class="emphasis"><em>unspecified</em></span> <span class="identifier">find</span><span class="special">(</span><span class="identifier">Sequence</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">find</span><span class="special">(</span><span class="identifier">Sequence</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id548610"></a><p class="title"><b>Table<EFBFBD>1.42.<2E>Parameters</b></p> <a name="id548610"></a><p class="title"><b>Table<EFBFBD>1.42.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id800124"></a><p class="title"><b>Table<EFBFBD>1.42.<2E>Parameters</b></p>
=======
<a name="id764046"></a><p class="title"><b>Table<EFBFBD>1.46.<2E>Parameters</b></p>
=======
<a name="id756422"></a><p class="title"><b>Table<EFBFBD>1.46.<2E>Parameters</b></p>
=======
<a name="id779009"></a><p class="title"><b>Table&#160;1.46.&#160;Parameters</b></p>
=======
<a name="id766580"></a><p class="title"><b>Table&#160;1.46.&#160;Parameters</b></p>
=======
<a name="id763303"></a><p class="title"><b>Table&#160;1.46.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -99,9 +182,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.functions.find.expression_semantics"></a><h6> <a name="fusion.algorithm.query.functions.find.expression_semantics"></a><h6>
<a name="id548742"></a> <a name="id548742"></a>
<a href="find.html#fusion.algorithm.query.functions.find.expression_semantics">Expression <a href="find.html#fusion.algorithm.query.functions.find.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.functions.find.expression_semantics"></a><h6>
<a name="id763420"></a>
<a class="link" href="find.html#fusion.algorithm.query.functions.find.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="find.html" title="find"><tt class="computeroutput"><span class="identifier">find</span></tt></a><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span> <pre class="programlisting"><a href="find.html" title="find"><tt class="computeroutput"><span class="identifier">find</span></tt></a><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span>
@ -117,22 +206,97 @@
to <tt class="computeroutput"><a href="find_if.html" title="find_if"><tt class="computeroutput"><span class="identifier">find_if</span></tt></a><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span></tt> to <tt class="computeroutput"><a href="find_if.html" title="find_if"><tt class="computeroutput"><span class="identifier">find_if</span></tt></a><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span></tt>
</p> </p>
<a name="fusion.algorithm.query.functions.find.complexity"></a><h6> <a name="fusion.algorithm.query.functions.find.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id548963"></a> <a name="id548963"></a>
<a href="find.html#fusion.algorithm.query.functions.find.complexity">Complexity</a> <a href="find.html#fusion.algorithm.query.functions.find.complexity">Complexity</a>
=======
<a name="id800408"></a>
=======
<a name="id764331"></a>
=======
<a name="id756706"></a>
=======
<a name="id779294"></a>
=======
<a name="id766864"></a>
=======
<a name="id763588"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find.html#fusion.algorithm.query.functions.find.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons. Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
</p> </p>
<a name="fusion.algorithm.query.functions.find.header"></a><h6> <a name="fusion.algorithm.query.functions.find.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id549034"></a> <a name="id549034"></a>
<a href="find.html#fusion.algorithm.query.functions.find.header">Header</a> <a href="find.html#fusion.algorithm.query.functions.find.header">Header</a>
=======
<a name="id800459"></a>
=======
<a name="id764381"></a>
=======
<a name="id756757"></a>
=======
<a name="id779344"></a>
=======
<a name="id766915"></a>
=======
<a name="id763638"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find.html#fusion.algorithm.query.functions.find.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.query.functions.find.example"></a><h6> <a name="fusion.algorithm.query.functions.find.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id549182"></a> <a name="id549182"></a>
<a href="find.html#fusion.algorithm.query.functions.find.example">Example</a> <a href="find.html#fusion.algorithm.query.functions.find.example">Example</a>
=======
<a name="id800574"></a>
=======
<a name="id764496"></a>
=======
<a name="id756872"></a>
=======
<a name="id779459"></a>
=======
<a name="id767030"></a>
=======
<a name="id763753"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find.html#fusion.algorithm.query.functions.find.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="char">'a'</span><span class="special">,</span><span class="char">'0'</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="char">'a'</span><span class="special">,</span><span class="char">'0'</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(*</span><a href="find.html" title="find"><tt class="computeroutput"><span class="identifier">find</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <span class="char">'0'</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(*</span><a href="find.html" title="find"><tt class="computeroutput"><span class="identifier">find</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <span class="char">'0'</span><span class="special">);</span>
@ -141,7 +305,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>find_if</title> <title>find_if</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="find.html" title="find"> <link rel="previous" href="find.html" title="find">
<link rel="next" href="count.html" title="count"> <link rel="next" href="count.html" title="count">
@ -35,12 +43,62 @@
Lambda Expression</a> evaluates to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>. Lambda Expression</a> evaluates to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.functions.find_if.description"></a><h6> <a name="fusion.algorithm.query.functions.find_if.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id549491"></a> <a name="id549491"></a>
<a href="find_if.html#fusion.algorithm.query.functions.find_if.description">Description</a> <a href="find_if.html#fusion.algorithm.query.functions.find_if.description">Description</a>
=======
<a name="id800795"></a>
=======
<a name="id764717"></a>
=======
<a name="id757093"></a>
=======
<a name="id779680"></a>
=======
<a name="id767251"></a>
=======
<a name="id763974"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find_if.html#fusion.algorithm.query.functions.find_if.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<a name="fusion.algorithm.query.functions.find_if.synopsis"></a><h6> <a name="fusion.algorithm.query.functions.find_if.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id549513"></a> <a name="id549513"></a>
<a href="find_if.html#fusion.algorithm.query.functions.find_if.synopsis">Synopsis</a> <a href="find_if.html#fusion.algorithm.query.functions.find_if.synopsis">Synopsis</a>
=======
<a name="id800808"></a>
=======
<a name="id764730"></a>
=======
<a name="id757106"></a>
=======
<a name="id779693"></a>
=======
<a name="id767264"></a>
=======
<a name="id763987"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find_if.html#fusion.algorithm.query.functions.find_if.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span>
@ -55,8 +113,33 @@
<span class="emphasis"><em>unspecified</em></span> <span class="identifier">find_if</span><span class="special">(</span><span class="identifier">Sequence</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">find_if</span><span class="special">(</span><span class="identifier">Sequence</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id549709"></a><p class="title"><b>Table<EFBFBD>1.43.<2E>Parameters</b></p> <a name="id549709"></a><p class="title"><b>Table<EFBFBD>1.43.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id800953"></a><p class="title"><b>Table<EFBFBD>1.43.<2E>Parameters</b></p>
=======
<a name="id764876"></a><p class="title"><b>Table<EFBFBD>1.47.<2E>Parameters</b></p>
=======
<a name="id757251"></a><p class="title"><b>Table<EFBFBD>1.47.<2E>Parameters</b></p>
=======
<a name="id779838"></a><p class="title"><b>Table&#160;1.47.&#160;Parameters</b></p>
=======
<a name="id767409"></a><p class="title"><b>Table&#160;1.47.&#160;Parameters</b></p>
=======
<a name="id764132"></a><p class="title"><b>Table&#160;1.47.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -102,9 +185,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.functions.find_if.expression_semantics"></a><h6> <a name="fusion.algorithm.query.functions.find_if.expression_semantics"></a><h6>
<a name="id549852"></a> <a name="id549852"></a>
<a href="find_if.html#fusion.algorithm.query.functions.find_if.expression_semantics">Expression <a href="find_if.html#fusion.algorithm.query.functions.find_if.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.functions.find_if.expression_semantics"></a><h6>
<a name="id764254"></a>
<a class="link" href="find_if.html#fusion.algorithm.query.functions.find_if.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="find_if.html" title="find_if"><tt class="computeroutput"><span class="identifier">find_if</span></tt></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span> <pre class="programlisting"><a href="find_if.html" title="find_if"><tt class="computeroutput"><span class="identifier">find_if</span></tt></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span>
@ -121,18 +210,73 @@
if there is no such element. if there is no such element.
</p> </p>
<a name="fusion.algorithm.query.functions.find_if.complexity"></a><h6> <a name="fusion.algorithm.query.functions.find_if.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id550050"></a> <a name="id550050"></a>
<a href="find_if.html#fusion.algorithm.query.functions.find_if.complexity">Complexity</a> <a href="find_if.html#fusion.algorithm.query.functions.find_if.complexity">Complexity</a>
=======
<a name="id801209"></a>
=======
<a name="id765131"></a>
=======
<a name="id757507"></a>
=======
<a name="id780094"></a>
=======
<a name="id767665"></a>
=======
<a name="id764388"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find_if.html#fusion.algorithm.query.functions.find_if.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons. Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
</p> </p>
<p> <div class="orderedlist"><ol class="orderedlist" type="1">
/algorithm/query/find_if.hpp&gt; <li class="listitem">
</p> include &lt;boost/fusion/algorithm/query/find_if.hpp&gt;
</li>
<li class="listitem">
include &lt;boost/fusion/include/find_if.hpp&gt;
</li>
</ol></div>
<a name="fusion.algorithm.query.functions.find_if.example"></a><h6> <a name="fusion.algorithm.query.functions.find_if.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id550133"></a> <a name="id550133"></a>
<a href="find_if.html#fusion.algorithm.query.functions.find_if.example">Example</a> <a href="find_if.html#fusion.algorithm.query.functions.find_if.example">Example</a>
=======
<a name="id801263"></a>
=======
<a name="id765195"></a>
=======
<a name="id757570"></a>
=======
<a name="id780158"></a>
=======
<a name="id767728"></a>
=======
<a name="id764452"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find_if.html#fusion.algorithm.query.functions.find_if.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1.0</span><span class="special">,</span><span class="number">2</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1.0</span><span class="special">,</span><span class="number">2</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(*</span><a href="find_if.html" title="find_if"><tt class="computeroutput"><span class="identifier">find_if</span></tt></a><span class="special">&lt;</span><span class="identifier">is_integral</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span> <span class="identifier">assert</span><span class="special">(*</span><a href="find_if.html" title="find_if"><tt class="computeroutput"><span class="identifier">find_if</span></tt></a><span class="special">&lt;</span><span class="identifier">is_integral</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span>
@ -141,7 +285,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>none</title> <title>none</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="all.html" title="all"> <link rel="previous" href="all.html" title="all">
<link rel="next" href="find.html" title="find"> <link rel="next" href="find.html" title="find">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.functions.none.description"></a><h6> <a name="fusion.algorithm.query.functions.none.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id547251"></a> <a name="id547251"></a>
<a href="none.html#fusion.algorithm.query.functions.none.description">Description</a> <a href="none.html#fusion.algorithm.query.functions.none.description">Description</a>
=======
<a name="id797424"></a>
=======
<a name="id759162"></a>
=======
<a name="id751538"></a>
=======
<a name="id774125"></a>
=======
<a name="id762651"></a>
=======
<a name="id759374"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.functions.none.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and
@ -41,8 +74,33 @@
element of <tt class="computeroutput"><span class="identifier">seq</span></tt>. element of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.functions.none.synopsis"></a><h6> <a name="fusion.algorithm.query.functions.none.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id547326"></a> <a name="id547326"></a>
<a href="none.html#fusion.algorithm.query.functions.none.synopsis">Synopsis</a> <a href="none.html#fusion.algorithm.query.functions.none.synopsis">Synopsis</a>
=======
<a name="id797477"></a>
=======
<a name="id759215"></a>
=======
<a name="id751590"></a>
=======
<a name="id774178"></a>
=======
<a name="id762704"></a>
=======
<a name="id759427"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.functions.none.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -52,8 +110,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id547496"></a><p class="title"><b>Table<EFBFBD>1.41.<2E>Parameters</b></p> <a name="id547496"></a><p class="title"><b>Table<EFBFBD>1.41.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id797612"></a><p class="title"><b>Table<EFBFBD>1.41.<2E>Parameters</b></p>
=======
<a name="id759350"></a><p class="title"><b>Table<EFBFBD>1.45.<2E>Parameters</b></p>
=======
<a name="id751726"></a><p class="title"><b>Table<EFBFBD>1.45.<2E>Parameters</b></p>
=======
<a name="id774313"></a><p class="title"><b>Table&#160;1.45.&#160;Parameters</b></p>
=======
<a name="id762840"></a><p class="title"><b>Table&#160;1.45.&#160;Parameters</b></p>
=======
<a name="id759563"></a><p class="title"><b>Table&#160;1.45.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -100,9 +183,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.functions.none.expression_semantics"></a><h6> <a name="fusion.algorithm.query.functions.none.expression_semantics"></a><h6>
<a name="id547683"></a> <a name="id547683"></a>
<a href="none.html#fusion.algorithm.query.functions.none.expression_semantics">Expression <a href="none.html#fusion.algorithm.query.functions.none.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.functions.none.expression_semantics"></a><h6>
<a name="id759721"></a>
<a class="link" href="none.html#fusion.algorithm.query.functions.none.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="none.html" title="none"><tt class="computeroutput"><span class="identifier">none</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span> <pre class="programlisting"><a href="none.html" title="none"><tt class="computeroutput"><span class="identifier">none</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span>
@ -117,22 +206,97 @@
element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>. Result equivalent to <tt class="computeroutput"><span class="special">!</span><span class="identifier">any</span><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">)</span></tt>. element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>. Result equivalent to <tt class="computeroutput"><span class="special">!</span><span class="identifier">any</span><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">)</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.functions.none.complexity"></a><h6> <a name="fusion.algorithm.query.functions.none.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id547871"></a> <a name="id547871"></a>
<a href="none.html#fusion.algorithm.query.functions.none.complexity">Complexity</a> <a href="none.html#fusion.algorithm.query.functions.none.complexity">Complexity</a>
=======
<a name="id797912"></a>
=======
<a name="id759650"></a>
=======
<a name="id752026"></a>
=======
<a name="id774613"></a>
=======
<a name="id763140"></a>
=======
<a name="id759863"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.functions.none.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons. Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
</p> </p>
<a name="fusion.algorithm.query.functions.none.header"></a><h6> <a name="fusion.algorithm.query.functions.none.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id547942"></a> <a name="id547942"></a>
<a href="none.html#fusion.algorithm.query.functions.none.header">Header</a> <a href="none.html#fusion.algorithm.query.functions.none.header">Header</a>
=======
<a name="id797963"></a>
=======
<a name="id759701"></a>
=======
<a name="id752076"></a>
=======
<a name="id774664"></a>
=======
<a name="id763190"></a>
=======
<a name="id759913"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.functions.none.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">none</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">none</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">none</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">none</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.query.functions.none.example"></a><h6> <a name="fusion.algorithm.query.functions.none.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id548090"></a> <a name="id548090"></a>
<a href="none.html#fusion.algorithm.query.functions.none.example">Example</a> <a href="none.html#fusion.algorithm.query.functions.none.example">Example</a>
=======
<a name="id798078"></a>
=======
<a name="id759816"></a>
=======
<a name="id752192"></a>
=======
<a name="id774779"></a>
=======
<a name="id766173"></a>
=======
<a name="id762896"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.functions.none.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">odd</span> <pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">odd</span>
<span class="special">{</span> <span class="special">{</span>
@ -149,7 +313,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Metafunctions</title> <title>Metafunctions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../query.html" title="Query"> <link rel="up" href="../query.html" title="Query">
<link rel="previous" href="functions/count_if.html" title="count_if"> <link rel="previous" href="functions/count_if.html" title="count_if">

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>all</title> <title>all</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="any.html" title="any"> <link rel="previous" href="any.html" title="any">
<link rel="next" href="none.html" title="none"> <link rel="next" href="none.html" title="none">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.metafunctions.all.description"></a><h6> <a name="fusion.algorithm.query.metafunctions.all.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id553205"></a> <a name="id553205"></a>
<a href="all.html#fusion.algorithm.query.metafunctions.all.description">Description</a> <a href="all.html#fusion.algorithm.query.metafunctions.all.description">Description</a>
=======
<a name="id805629"></a>
=======
<a name="id767377"></a>
=======
<a name="id759753"></a>
=======
<a name="id783432"></a>
=======
<a name="id771003"></a>
=======
<a name="id767726"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.metafunctions.all.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
A metafunction returning the result type of <a href="../functions/all.html" title="all"><tt class="computeroutput"><span class="identifier">all</span></tt></a>. A metafunction returning the result type of <a href="../functions/all.html" title="all"><tt class="computeroutput"><span class="identifier">all</span></tt></a>.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.all.synopsis"></a><h6> <a name="fusion.algorithm.query.metafunctions.all.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id553252"></a> <a name="id553252"></a>
<a href="all.html#fusion.algorithm.query.metafunctions.all.synopsis">Synopsis</a> <a href="all.html#fusion.algorithm.query.metafunctions.all.synopsis">Synopsis</a>
=======
<a name="id805657"></a>
=======
<a name="id767404"></a>
=======
<a name="id759780"></a>
=======
<a name="id783460"></a>
=======
<a name="id771030"></a>
=======
<a name="id767754"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.metafunctions.all.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -50,8 +108,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id553371"></a><p class="title"><b>Table<EFBFBD>1.47.<2E>Parameters</b></p> <a name="id553371"></a><p class="title"><b>Table<EFBFBD>1.47.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id805743"></a><p class="title"><b>Table<EFBFBD>1.47.<2E>Parameters</b></p>
=======
<a name="id767491"></a><p class="title"><b>Table<EFBFBD>1.51.<2E>Parameters</b></p>
=======
<a name="id759867"></a><p class="title"><b>Table<EFBFBD>1.51.<2E>Parameters</b></p>
=======
<a name="id783546"></a><p class="title"><b>Table&#160;1.51.&#160;Parameters</b></p>
=======
<a name="id771117"></a><p class="title"><b>Table&#160;1.51.&#160;Parameters</b></p>
=======
<a name="id767840"></a><p class="title"><b>Table&#160;1.51.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -98,9 +181,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.metafunctions.all.expression_semantics"></a><h6> <a name="fusion.algorithm.query.metafunctions.all.expression_semantics"></a><h6>
<a name="id553518"></a> <a name="id553518"></a>
<a href="all.html#fusion.algorithm.query.metafunctions.all.expression_semantics">Expression <a href="all.html#fusion.algorithm.query.metafunctions.all.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.metafunctions.all.expression_semantics"></a><h6>
<a name="id767961"></a>
<a class="link" href="all.html#fusion.algorithm.query.metafunctions.all.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="all.html" title="all"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">all</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="all.html" title="all"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">all</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -118,15 +207,65 @@
The return type is always <tt class="computeroutput"><span class="keyword">bool</span></tt>. The return type is always <tt class="computeroutput"><span class="keyword">bool</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.all.complexity"></a><h6> <a name="fusion.algorithm.query.metafunctions.all.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id553703"></a> <a name="id553703"></a>
<a href="all.html#fusion.algorithm.query.metafunctions.all.complexity">Complexity</a> <a href="all.html#fusion.algorithm.query.metafunctions.all.complexity">Complexity</a>
=======
<a name="id805983"></a>
=======
<a name="id767731"></a>
=======
<a name="id760107"></a>
=======
<a name="id783786"></a>
=======
<a name="id771357"></a>
=======
<a name="id768080"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.metafunctions.all.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.all.header"></a><h6> <a name="fusion.algorithm.query.metafunctions.all.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id553731"></a> <a name="id553731"></a>
<a href="all.html#fusion.algorithm.query.metafunctions.all.header">Header</a> <a href="all.html#fusion.algorithm.query.metafunctions.all.header">Header</a>
=======
<a name="id806000"></a>
=======
<a name="id767748"></a>
=======
<a name="id760123"></a>
=======
<a name="id783803"></a>
=======
<a name="id771374"></a>
=======
<a name="id768097"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.metafunctions.all.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -134,7 +273,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>any</title> <title>any</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="../metafunctions.html" title="Metafunctions"> <link rel="previous" href="../metafunctions.html" title="Metafunctions">
<link rel="next" href="all.html" title="all"> <link rel="next" href="all.html" title="all">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.metafunctions.any.description"></a><h6> <a name="fusion.algorithm.query.metafunctions.any.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id552495"></a> <a name="id552495"></a>
<a href="any.html#fusion.algorithm.query.metafunctions.any.description">Description</a> <a href="any.html#fusion.algorithm.query.metafunctions.any.description">Description</a>
=======
<a name="id805133"></a>
=======
<a name="id766880"></a>
=======
<a name="id759256"></a>
=======
<a name="id782935"></a>
=======
<a name="id770506"></a>
=======
<a name="id767229"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="any.html#fusion.algorithm.query.metafunctions.any.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
A metafunction returning the result type of <a href="../functions/any.html" title="any"><tt class="computeroutput"><span class="identifier">any</span></tt></a>. A metafunction returning the result type of <a href="../functions/any.html" title="any"><tt class="computeroutput"><span class="identifier">any</span></tt></a>.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.any.synopsis"></a><h6> <a name="fusion.algorithm.query.metafunctions.any.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id552542"></a> <a name="id552542"></a>
<a href="any.html#fusion.algorithm.query.metafunctions.any.synopsis">Synopsis</a> <a href="any.html#fusion.algorithm.query.metafunctions.any.synopsis">Synopsis</a>
=======
<a name="id805160"></a>
=======
<a name="id766908"></a>
=======
<a name="id759283"></a>
=======
<a name="id782963"></a>
=======
<a name="id770534"></a>
=======
<a name="id767257"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="any.html#fusion.algorithm.query.metafunctions.any.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -50,8 +108,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id552661"></a><p class="title"><b>Table<EFBFBD>1.46.<2E>Parameters</b></p> <a name="id552661"></a><p class="title"><b>Table<EFBFBD>1.46.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id805247"></a><p class="title"><b>Table<EFBFBD>1.46.<2E>Parameters</b></p>
=======
<a name="id766994"></a><p class="title"><b>Table<EFBFBD>1.50.<2E>Parameters</b></p>
=======
<a name="id759370"></a><p class="title"><b>Table<EFBFBD>1.50.<2E>Parameters</b></p>
=======
<a name="id783049"></a><p class="title"><b>Table&#160;1.50.&#160;Parameters</b></p>
=======
<a name="id770620"></a><p class="title"><b>Table&#160;1.50.&#160;Parameters</b></p>
=======
<a name="id767343"></a><p class="title"><b>Table&#160;1.50.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -98,9 +181,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.metafunctions.any.expression_semantics"></a><h6> <a name="fusion.algorithm.query.metafunctions.any.expression_semantics"></a><h6>
<a name="id552810"></a> <a name="id552810"></a>
<a href="any.html#fusion.algorithm.query.metafunctions.any.expression_semantics">Expression <a href="any.html#fusion.algorithm.query.metafunctions.any.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.metafunctions.any.expression_semantics"></a><h6>
<a name="id767464"></a>
<a class="link" href="any.html#fusion.algorithm.query.metafunctions.any.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="any.html" title="any"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">any</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="any.html" title="any"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">any</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -118,15 +207,65 @@
The return type is always <tt class="computeroutput"><span class="keyword">bool</span></tt>. The return type is always <tt class="computeroutput"><span class="keyword">bool</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.any.complexity"></a><h6> <a name="fusion.algorithm.query.metafunctions.any.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id552995"></a> <a name="id552995"></a>
<a href="any.html#fusion.algorithm.query.metafunctions.any.complexity">Complexity</a> <a href="any.html#fusion.algorithm.query.metafunctions.any.complexity">Complexity</a>
=======
<a name="id805487"></a>
=======
<a name="id767234"></a>
=======
<a name="id759610"></a>
=======
<a name="id783289"></a>
=======
<a name="id770860"></a>
=======
<a name="id767583"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="any.html#fusion.algorithm.query.metafunctions.any.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.any.header"></a><h6> <a name="fusion.algorithm.query.metafunctions.any.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id553022"></a> <a name="id553022"></a>
<a href="any.html#fusion.algorithm.query.metafunctions.any.header">Header</a> <a href="any.html#fusion.algorithm.query.metafunctions.any.header">Header</a>
=======
<a name="id805503"></a>
=======
<a name="id767251"></a>
=======
<a name="id759627"></a>
=======
<a name="id783306"></a>
=======
<a name="id770877"></a>
=======
<a name="id767600"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="any.html#fusion.algorithm.query.metafunctions.any.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">any</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">any</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">any</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">any</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -134,7 +273,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>count</title> <title>count</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="find_if.html" title="find_if"> <link rel="previous" href="find_if.html" title="find_if">
<link rel="next" href="count_if.html" title="count_if"> <link rel="next" href="count_if.html" title="count_if">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.metafunctions.count.description"></a><h6> <a name="fusion.algorithm.query.metafunctions.count.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556161"></a> <a name="id556161"></a>
<a href="count.html#fusion.algorithm.query.metafunctions.count.description">Description</a> <a href="count.html#fusion.algorithm.query.metafunctions.count.description">Description</a>
=======
<a name="id808381"></a>
=======
<a name="id770816"></a>
=======
<a name="id763192"></a>
=======
<a name="id785779"></a>
=======
<a name="id773077"></a>
=======
<a name="id769800"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.metafunctions.count.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
A metafunction that returns the result type of <tt class="computeroutput"><span class="identifier">count</span></tt> A metafunction that returns the result type of <tt class="computeroutput"><span class="identifier">count</span></tt>
given the sequence and search types. given the sequence and search types.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.count.synopsis"></a><h6> <a name="fusion.algorithm.query.metafunctions.count.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556202"></a> <a name="id556202"></a>
<a href="count.html#fusion.algorithm.query.metafunctions.count.synopsis">Synopsis</a> <a href="count.html#fusion.algorithm.query.metafunctions.count.synopsis">Synopsis</a>
=======
<a name="id808408"></a>
=======
<a name="id770843"></a>
=======
<a name="id763218"></a>
=======
<a name="id785806"></a>
=======
<a name="id773103"></a>
=======
<a name="id769827"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.metafunctions.count.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556320"></a><p class="title"><b>Table<EFBFBD>1.51.<2E>Parameters</b></p> <a name="id556320"></a><p class="title"><b>Table<EFBFBD>1.51.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id808494"></a><p class="title"><b>Table<EFBFBD>1.51.<2E>Parameters</b></p>
=======
<a name="id770929"></a><p class="title"><b>Table<EFBFBD>1.55.<2E>Parameters</b></p>
=======
<a name="id763305"></a><p class="title"><b>Table<EFBFBD>1.55.<2E>Parameters</b></p>
=======
<a name="id785892"></a><p class="title"><b>Table&#160;1.55.&#160;Parameters</b></p>
=======
<a name="id773190"></a><p class="title"><b>Table&#160;1.55.&#160;Parameters</b></p>
=======
<a name="id769913"></a><p class="title"><b>Table&#160;1.55.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,9 +180,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.metafunctions.count.expression_semantics"></a><h6> <a name="fusion.algorithm.query.metafunctions.count.expression_semantics"></a><h6>
<a name="id556458"></a> <a name="id556458"></a>
<a href="count.html#fusion.algorithm.query.metafunctions.count.expression_semantics">Expression <a href="count.html#fusion.algorithm.query.metafunctions.count.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.metafunctions.count.expression_semantics"></a><h6>
<a name="id770029"></a>
<a class="link" href="count.html#fusion.algorithm.query.metafunctions.count.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="count.html" title="count"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">count</span></tt></a><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="count.html" title="count"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">count</span></tt></a><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -113,15 +202,65 @@
<tt class="computeroutput"><span class="keyword">int</span></tt>. <tt class="computeroutput"><span class="keyword">int</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.count.complexity"></a><h6> <a name="fusion.algorithm.query.metafunctions.count.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556600"></a> <a name="id556600"></a>
<a href="count.html#fusion.algorithm.query.metafunctions.count.complexity">Complexity</a> <a href="count.html#fusion.algorithm.query.metafunctions.count.complexity">Complexity</a>
=======
<a name="id808702"></a>
=======
<a name="id771137"></a>
=======
<a name="id763512"></a>
=======
<a name="id786100"></a>
=======
<a name="id773397"></a>
=======
<a name="id770121"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.metafunctions.count.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.count.header"></a><h6> <a name="fusion.algorithm.query.metafunctions.count.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556627"></a> <a name="id556627"></a>
<a href="count.html#fusion.algorithm.query.metafunctions.count.header">Header</a> <a href="count.html#fusion.algorithm.query.metafunctions.count.header">Header</a>
=======
<a name="id808719"></a>
=======
<a name="id771154"></a>
=======
<a name="id763529"></a>
=======
<a name="id786116"></a>
=======
<a name="id773414"></a>
=======
<a name="id770137"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.metafunctions.count.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">count</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">count</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">count</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">count</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -129,7 +268,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>count_if</title> <title>count_if</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="count.html" title="count"> <link rel="previous" href="count.html" title="count">
<link rel="next" href="../../transformation.html" title="Transformation"> <link rel="next" href="../../transformation.html" title="Transformation">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.metafunctions.count_if.description"></a><h6> <a name="fusion.algorithm.query.metafunctions.count_if.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556811"></a> <a name="id556811"></a>
<a href="count_if.html#fusion.algorithm.query.metafunctions.count_if.description">Description</a> <a href="count_if.html#fusion.algorithm.query.metafunctions.count_if.description">Description</a>
=======
<a name="id808847"></a>
=======
<a name="id771282"></a>
=======
<a name="id763658"></a>
=======
<a name="id786245"></a>
=======
<a name="id773543"></a>
=======
<a name="id770266"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count_if.html#fusion.algorithm.query.metafunctions.count_if.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
A metafunction that returns the result type of <tt class="computeroutput"><span class="identifier">count_if</span></tt> A metafunction that returns the result type of <tt class="computeroutput"><span class="identifier">count_if</span></tt>
given the sequence and predicate types. given the sequence and predicate types.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.count_if.synopsis"></a><h6> <a name="fusion.algorithm.query.metafunctions.count_if.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556853"></a> <a name="id556853"></a>
<a href="count_if.html#fusion.algorithm.query.metafunctions.count_if.synopsis">Synopsis</a> <a href="count_if.html#fusion.algorithm.query.metafunctions.count_if.synopsis">Synopsis</a>
=======
<a name="id808876"></a>
=======
<a name="id771311"></a>
=======
<a name="id763686"></a>
=======
<a name="id786274"></a>
=======
<a name="id773571"></a>
=======
<a name="id770295"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count_if.html#fusion.algorithm.query.metafunctions.count_if.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556972"></a><p class="title"><b>Table<EFBFBD>1.52.<2E>Parameters</b></p> <a name="id556972"></a><p class="title"><b>Table<EFBFBD>1.52.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id808962"></a><p class="title"><b>Table<EFBFBD>1.52.<2E>Parameters</b></p>
=======
<a name="id771397"></a><p class="title"><b>Table<EFBFBD>1.56.<2E>Parameters</b></p>
=======
<a name="id763773"></a><p class="title"><b>Table<EFBFBD>1.56.<2E>Parameters</b></p>
=======
<a name="id786360"></a><p class="title"><b>Table&#160;1.56.&#160;Parameters</b></p>
=======
<a name="id773658"></a><p class="title"><b>Table&#160;1.56.&#160;Parameters</b></p>
=======
<a name="id770381"></a><p class="title"><b>Table&#160;1.56.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,9 +180,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.metafunctions.count_if.expression_semantics"></a><h6> <a name="fusion.algorithm.query.metafunctions.count_if.expression_semantics"></a><h6>
<a name="id557111"></a> <a name="id557111"></a>
<a href="count_if.html#fusion.algorithm.query.metafunctions.count_if.expression_semantics">Expression <a href="count_if.html#fusion.algorithm.query.metafunctions.count_if.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.metafunctions.count_if.expression_semantics"></a><h6>
<a name="id772954"></a>
<a class="link" href="count_if.html#fusion.algorithm.query.metafunctions.count_if.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="count_if.html" title="count_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">count_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="count_if.html" title="count_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">count_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -113,15 +202,65 @@
always <tt class="computeroutput"><span class="keyword">int</span></tt>. always <tt class="computeroutput"><span class="keyword">int</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.count_if.complexity"></a><h6> <a name="fusion.algorithm.query.metafunctions.count_if.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id557263"></a> <a name="id557263"></a>
<a href="count_if.html#fusion.algorithm.query.metafunctions.count_if.complexity">Complexity</a> <a href="count_if.html#fusion.algorithm.query.metafunctions.count_if.complexity">Complexity</a>
=======
<a name="id809177"></a>
=======
<a name="id771612"></a>
=======
<a name="id763988"></a>
=======
<a name="id787668"></a>
=======
<a name="id776331"></a>
=======
<a name="id773054"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count_if.html#fusion.algorithm.query.metafunctions.count_if.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.count_if.header"></a><h6> <a name="fusion.algorithm.query.metafunctions.count_if.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id557290"></a> <a name="id557290"></a>
<a href="count_if.html#fusion.algorithm.query.metafunctions.count_if.header">Header</a> <a href="count_if.html#fusion.algorithm.query.metafunctions.count_if.header">Header</a>
=======
<a name="id809196"></a>
=======
<a name="id771631"></a>
=======
<a name="id764007"></a>
=======
<a name="id787687"></a>
=======
<a name="id776350"></a>
=======
<a name="id773073"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count_if.html#fusion.algorithm.query.metafunctions.count_if.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">count_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">count_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">count_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">count_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -129,7 +268,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>find</title> <title>find</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="none.html" title="none"> <link rel="previous" href="none.html" title="none">
<link rel="next" href="find_if.html" title="find_if"> <link rel="next" href="find_if.html" title="find_if">
@ -30,16 +38,71 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.metafunctions.find.description"></a><h6> <a name="fusion.algorithm.query.metafunctions.find.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id554625"></a> <a name="id554625"></a>
<a href="find.html#fusion.algorithm.query.metafunctions.find.description">Description</a> <a href="find.html#fusion.algorithm.query.metafunctions.find.description">Description</a>
=======
<a name="id806623"></a>
=======
<a name="id769736"></a>
=======
<a name="id762112"></a>
=======
<a name="id784699"></a>
=======
<a name="id771997"></a>
=======
<a name="id768720"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find.html#fusion.algorithm.query.metafunctions.find.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
<<<<<<< .working
Returns the result type of <tt class="computeroutput"><span class="identifier">find</span></tt>, Returns the result type of <tt class="computeroutput"><span class="identifier">find</span></tt>,
given the sequence and search types. given the sequence and search types.
=======
Returns the result type of <a class="link" href="../functions/find.html" title="find"><code class="computeroutput"><span class="identifier">find</span></code></a>, given the sequence and
search types.
>>>>>>> .merge-right.r57242
</p> </p>
<a name="fusion.algorithm.query.metafunctions.find.synopsis"></a><h6> <a name="fusion.algorithm.query.metafunctions.find.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id554666"></a> <a name="id554666"></a>
<a href="find.html#fusion.algorithm.query.metafunctions.find.synopsis">Synopsis</a> <a href="find.html#fusion.algorithm.query.metafunctions.find.synopsis">Synopsis</a>
=======
<a name="id807331"></a>
=======
<a name="id769764"></a>
=======
<a name="id762140"></a>
=======
<a name="id784727"></a>
=======
<a name="id772025"></a>
=======
<a name="id768748"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find.html#fusion.algorithm.query.metafunctions.find.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +114,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id554782"></a><p class="title"><b>Table<EFBFBD>1.49.<2E>Parameters</b></p> <a name="id554782"></a><p class="title"><b>Table<EFBFBD>1.49.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id807417"></a><p class="title"><b>Table<EFBFBD>1.49.<2E>Parameters</b></p>
=======
<a name="id769849"></a><p class="title"><b>Table<EFBFBD>1.53.<2E>Parameters</b></p>
=======
<a name="id762225"></a><p class="title"><b>Table<EFBFBD>1.53.<2E>Parameters</b></p>
=======
<a name="id784812"></a><p class="title"><b>Table&#160;1.53.&#160;Parameters</b></p>
=======
<a name="id772110"></a><p class="title"><b>Table&#160;1.53.&#160;Parameters</b></p>
=======
<a name="id768833"></a><p class="title"><b>Table&#160;1.53.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,9 +185,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.metafunctions.find.expression_semantics"></a><h6> <a name="fusion.algorithm.query.metafunctions.find.expression_semantics"></a><h6>
<a name="id554920"></a> <a name="id554920"></a>
<a href="find.html#fusion.algorithm.query.metafunctions.find.expression_semantics">Expression <a href="find.html#fusion.algorithm.query.metafunctions.find.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.metafunctions.find.expression_semantics"></a><h6>
<a name="id768949"></a>
<a class="link" href="find.html#fusion.algorithm.query.metafunctions.find.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="find.html" title="find"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">find</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="find.html" title="find"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">find</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -115,15 +209,65 @@
if there is no such element. if there is no such element.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.find.complexity"></a><h6> <a name="fusion.algorithm.query.metafunctions.find.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id555121"></a> <a name="id555121"></a>
<a href="find.html#fusion.algorithm.query.metafunctions.find.complexity">Complexity</a> <a href="find.html#fusion.algorithm.query.metafunctions.find.complexity">Complexity</a>
=======
<a name="id807665"></a>
=======
<a name="id770098"></a>
=======
<a name="id762473"></a>
=======
<a name="id785060"></a>
=======
<a name="id772358"></a>
=======
<a name="id769081"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find.html#fusion.algorithm.query.metafunctions.find.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear, at most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons. Linear, at most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.find.header"></a><h6> <a name="fusion.algorithm.query.metafunctions.find.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id555202"></a> <a name="id555202"></a>
<a href="find.html#fusion.algorithm.query.metafunctions.find.header">Header</a> <a href="find.html#fusion.algorithm.query.metafunctions.find.header">Header</a>
=======
<a name="id807715"></a>
=======
<a name="id770148"></a>
=======
<a name="id762524"></a>
=======
<a name="id785111"></a>
=======
<a name="id772409"></a>
=======
<a name="id769132"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find.html#fusion.algorithm.query.metafunctions.find.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -131,7 +275,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>find_if</title> <title>find_if</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="find.html" title="find"> <link rel="previous" href="find.html" title="find">
<link rel="next" href="count.html" title="count"> <link rel="next" href="count.html" title="count">
@ -30,16 +38,71 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.metafunctions.find_if.description"></a><h6> <a name="fusion.algorithm.query.metafunctions.find_if.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id555388"></a> <a name="id555388"></a>
<a href="find_if.html#fusion.algorithm.query.metafunctions.find_if.description">Description</a> <a href="find_if.html#fusion.algorithm.query.metafunctions.find_if.description">Description</a>
=======
<a name="id807844"></a>
=======
<a name="id770276"></a>
=======
<a name="id762652"></a>
=======
<a name="id785239"></a>
=======
<a name="id772537"></a>
=======
<a name="id769260"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find_if.html#fusion.algorithm.query.metafunctions.find_if.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
<<<<<<< .working
Returns the result type of <tt class="computeroutput"><span class="identifier">find_if</span></tt> Returns the result type of <tt class="computeroutput"><span class="identifier">find_if</span></tt>
given the sequence and predicate types. given the sequence and predicate types.
=======
Returns the result type of <a class="link" href="../functions/find_if.html" title="find_if"><code class="computeroutput"><span class="identifier">find_if</span></code></a> given the sequence and
predicate types.
>>>>>>> .merge-right.r57242
</p> </p>
<a name="fusion.algorithm.query.metafunctions.find_if.synopsis"></a><h6> <a name="fusion.algorithm.query.metafunctions.find_if.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id555430"></a> <a name="id555430"></a>
<a href="find_if.html#fusion.algorithm.query.metafunctions.find_if.synopsis">Synopsis</a> <a href="find_if.html#fusion.algorithm.query.metafunctions.find_if.synopsis">Synopsis</a>
=======
<a name="id807871"></a>
=======
<a name="id770306"></a>
=======
<a name="id762682"></a>
=======
<a name="id785269"></a>
=======
<a name="id772567"></a>
=======
<a name="id769290"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find_if.html#fusion.algorithm.query.metafunctions.find_if.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +114,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id555547"></a><p class="title"><b>Table<EFBFBD>1.50.<2E>Parameters</b></p> <a name="id555547"></a><p class="title"><b>Table<EFBFBD>1.50.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id807957"></a><p class="title"><b>Table<EFBFBD>1.50.<2E>Parameters</b></p>
=======
<a name="id770392"></a><p class="title"><b>Table<EFBFBD>1.54.<2E>Parameters</b></p>
=======
<a name="id762767"></a><p class="title"><b>Table<EFBFBD>1.54.<2E>Parameters</b></p>
=======
<a name="id785354"></a><p class="title"><b>Table&#160;1.54.&#160;Parameters</b></p>
=======
<a name="id772652"></a><p class="title"><b>Table&#160;1.54.&#160;Parameters</b></p>
=======
<a name="id769375"></a><p class="title"><b>Table&#160;1.54.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -98,9 +186,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.metafunctions.find_if.expression_semantics"></a><h6> <a name="fusion.algorithm.query.metafunctions.find_if.expression_semantics"></a><h6>
<a name="id555695"></a> <a name="id555695"></a>
<a href="find_if.html#fusion.algorithm.query.metafunctions.find_if.expression_semantics">Expression <a href="find_if.html#fusion.algorithm.query.metafunctions.find_if.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.metafunctions.find_if.expression_semantics"></a><h6>
<a name="id769494"></a>
<a class="link" href="find_if.html#fusion.algorithm.query.metafunctions.find_if.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="find_if.html" title="find_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">find_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="find_if.html" title="find_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">find_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -116,15 +210,65 @@
to true. Returns <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/end.html" title="end"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span></tt> if there is no such element. to true. Returns <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/end.html" title="end"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span></tt> if there is no such element.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.find_if.complexity"></a><h6> <a name="fusion.algorithm.query.metafunctions.find_if.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id555896"></a> <a name="id555896"></a>
<a href="find_if.html#fusion.algorithm.query.metafunctions.find_if.complexity">Complexity</a> <a href="find_if.html#fusion.algorithm.query.metafunctions.find_if.complexity">Complexity</a>
=======
<a name="id808205"></a>
=======
<a name="id770640"></a>
=======
<a name="id763016"></a>
=======
<a name="id785603"></a>
=======
<a name="id772901"></a>
=======
<a name="id769624"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find_if.html#fusion.algorithm.query.metafunctions.find_if.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons. Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.find_if.header"></a><h6> <a name="fusion.algorithm.query.metafunctions.find_if.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id555976"></a> <a name="id555976"></a>
<a href="find_if.html#fusion.algorithm.query.metafunctions.find_if.header">Header</a> <a href="find_if.html#fusion.algorithm.query.metafunctions.find_if.header">Header</a>
=======
<a name="id808255"></a>
=======
<a name="id770690"></a>
=======
<a name="id763066"></a>
=======
<a name="id785653"></a>
=======
<a name="id772951"></a>
=======
<a name="id769674"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="find_if.html#fusion.algorithm.query.metafunctions.find_if.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">find_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">find_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">find_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">find_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -132,7 +276,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>none</title> <title>none</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="all.html" title="all"> <link rel="previous" href="all.html" title="all">
<link rel="next" href="find.html" title="find"> <link rel="next" href="find.html" title="find">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.query.metafunctions.none.description"></a><h6> <a name="fusion.algorithm.query.metafunctions.none.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id553914"></a> <a name="id553914"></a>
<a href="none.html#fusion.algorithm.query.metafunctions.none.description">Description</a> <a href="none.html#fusion.algorithm.query.metafunctions.none.description">Description</a>
=======
<a name="id806126"></a>
=======
<a name="id767874"></a>
=======
<a name="id760249"></a>
=======
<a name="id783929"></a>
=======
<a name="id771500"></a>
=======
<a name="id768223"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.metafunctions.none.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
A metafunction returning the result type of <a href="../functions/none.html" title="none"><tt class="computeroutput"><span class="identifier">none</span></tt></a>. A metafunction returning the result type of <a href="../functions/none.html" title="none"><tt class="computeroutput"><span class="identifier">none</span></tt></a>.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.none.synopsis"></a><h6> <a name="fusion.algorithm.query.metafunctions.none.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id553961"></a> <a name="id553961"></a>
<a href="none.html#fusion.algorithm.query.metafunctions.none.synopsis">Synopsis</a> <a href="none.html#fusion.algorithm.query.metafunctions.none.synopsis">Synopsis</a>
=======
<a name="id806154"></a>
=======
<a name="id767901"></a>
=======
<a name="id760277"></a>
=======
<a name="id783956"></a>
=======
<a name="id771527"></a>
=======
<a name="id768250"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.metafunctions.none.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -50,8 +108,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id554080"></a><p class="title"><b>Table<EFBFBD>1.48.<2E>Parameters</b></p> <a name="id554080"></a><p class="title"><b>Table<EFBFBD>1.48.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id806240"></a><p class="title"><b>Table<EFBFBD>1.48.<2E>Parameters</b></p>
=======
<a name="id767988"></a><p class="title"><b>Table<EFBFBD>1.52.<2E>Parameters</b></p>
=======
<a name="id760363"></a><p class="title"><b>Table<EFBFBD>1.52.<2E>Parameters</b></p>
=======
<a name="id784043"></a><p class="title"><b>Table&#160;1.52.&#160;Parameters</b></p>
=======
<a name="id771614"></a><p class="title"><b>Table&#160;1.52.&#160;Parameters</b></p>
=======
<a name="id768337"></a><p class="title"><b>Table&#160;1.52.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -98,9 +181,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.query.metafunctions.none.expression_semantics"></a><h6> <a name="fusion.algorithm.query.metafunctions.none.expression_semantics"></a><h6>
<a name="id554226"></a> <a name="id554226"></a>
<a href="none.html#fusion.algorithm.query.metafunctions.none.expression_semantics">Expression <a href="none.html#fusion.algorithm.query.metafunctions.none.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.metafunctions.none.expression_semantics"></a><h6>
<a name="id768459"></a>
<a class="link" href="none.html#fusion.algorithm.query.metafunctions.none.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="none.html" title="none"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">none</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="none.html" title="none"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">none</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -118,15 +207,65 @@
The return type is always <tt class="computeroutput"><span class="keyword">bool</span></tt>. The return type is always <tt class="computeroutput"><span class="keyword">bool</span></tt>.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.none.complexity"></a><h6> <a name="fusion.algorithm.query.metafunctions.none.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id554410"></a> <a name="id554410"></a>
<a href="none.html#fusion.algorithm.query.metafunctions.none.complexity">Complexity</a> <a href="none.html#fusion.algorithm.query.metafunctions.none.complexity">Complexity</a>
=======
<a name="id806480"></a>
=======
<a name="id769594"></a>
=======
<a name="id761969"></a>
=======
<a name="id784556"></a>
=======
<a name="id771854"></a>
=======
<a name="id768577"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.metafunctions.none.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.query.metafunctions.none.header"></a><h6> <a name="fusion.algorithm.query.metafunctions.none.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id554438"></a> <a name="id554438"></a>
<a href="none.html#fusion.algorithm.query.metafunctions.none.header">Header</a> <a href="none.html#fusion.algorithm.query.metafunctions.none.header">Header</a>
=======
<a name="id806497"></a>
=======
<a name="id769610"></a>
=======
<a name="id761986"></a>
=======
<a name="id784573"></a>
=======
<a name="id771871"></a>
=======
<a name="id768594"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.metafunctions.none.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">none</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">none</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">none</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">none</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -134,7 +273,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Transformation</title> <title>Transformation</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../algorithm.html" title="Algorithm"> <link rel="up" href="../algorithm.html" title="Algorithm">
<link rel="previous" href="query/metafunctions/count_if.html" title="count_if"> <link rel="previous" href="query/metafunctions/count_if.html" title="count_if">
@ -49,10 +53,17 @@
the period during which you wish to use the results. the period during which you wish to use the results.
</p></td></tr> </p></td></tr>
</table></div> </table></div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.header"></a><h4> <a name="fusion.algorithm.transformation.header"></a><h4>
<a name="id557497"></a> <a name="id557497"></a>
<a href="transformation.html#fusion.algorithm.transformation.header">Header</a> <a href="transformation.html#fusion.algorithm.transformation.header">Header</a>
</h4> </h4>
=======
<a name="fusion.algorithm.transformation.header"></a><h5>
<a name="id764147"></a>
<a class="link" href="transformation.html#fusion.algorithm.transformation.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Functions</title> <title>Functions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../transformation.html" title="Transformation"> <link rel="up" href="../transformation.html" title="Transformation">
<link rel="previous" href="../transformation.html" title="Transformation"> <link rel="previous" href="../transformation.html" title="Transformation">

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>clear</title> <title>clear</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="reverse.html" title="reverse"> <link rel="previous" href="reverse.html" title="reverse">
<link rel="next" href="erase.html" title="erase"> <link rel="next" href="erase.html" title="erase">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.clear.description"></a><h6> <a name="fusion.algorithm.transformation.functions.clear.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id566884"></a> <a name="id566884"></a>
<a href="clear.html#fusion.algorithm.transformation.functions.clear.description">Description</a> <a href="clear.html#fusion.algorithm.transformation.functions.clear.description">Description</a>
=======
<a name="id819010"></a>
=======
<a name="id780833"></a>
=======
<a name="id773209"></a>
=======
<a name="id796849"></a>
=======
<a name="id785512"></a>
=======
<a name="id782235"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="clear.html#fusion.algorithm.transformation.functions.clear.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
<a href="clear.html" title="clear"><tt class="computeroutput"><span class="identifier">clear</span></tt></a> returns an empty sequence. <a href="clear.html" title="clear"><tt class="computeroutput"><span class="identifier">clear</span></tt></a> returns an empty sequence.
</p> </p>
<a name="fusion.algorithm.transformation.functions.clear.synposis"></a><h6> <a name="fusion.algorithm.transformation.functions.clear.synposis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id566931"></a> <a name="id566931"></a>
<a href="clear.html#fusion.algorithm.transformation.functions.clear.synposis">Synposis</a> <a href="clear.html#fusion.algorithm.transformation.functions.clear.synposis">Synposis</a>
=======
<a name="id819042"></a>
=======
<a name="id780864"></a>
=======
<a name="id773240"></a>
=======
<a name="id796880"></a>
=======
<a name="id785543"></a>
=======
<a name="id782266"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="clear.html#fusion.algorithm.transformation.functions.clear.synposis">Synposis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span>
@ -46,8 +104,33 @@
<span class="keyword">typename</span> <a href="../metafunctions/clear.html" title="clear"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">clear</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">clear</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="keyword">typename</span> <a href="../metafunctions/clear.html" title="clear"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">clear</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">clear</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id567084"></a><p class="title"><b>Table<EFBFBD>1.62.<2E>Parameters</b></p> <a name="id567084"></a><p class="title"><b>Table<EFBFBD>1.62.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id819218"></a><p class="title"><b>Table<EFBFBD>1.62.<2E>Parameters</b></p>
=======
<a name="id780972"></a><p class="title"><b>Table<EFBFBD>1.66.<2E>Parameters</b></p>
=======
<a name="id773348"></a><p class="title"><b>Table<EFBFBD>1.66.<2E>Parameters</b></p>
=======
<a name="id796988"></a><p class="title"><b>Table&#160;1.66.&#160;Parameters</b></p>
=======
<a name="id785651"></a><p class="title"><b>Table&#160;1.66.&#160;Parameters</b></p>
=======
<a name="id782374"></a><p class="title"><b>Table&#160;1.66.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -79,9 +162,15 @@
</tr></tbody> </tr></tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.clear.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.clear.expression_semantics"></a><h6>
<a name="id567188"></a> <a name="id567188"></a>
<a href="clear.html#fusion.algorithm.transformation.functions.clear.expression_semantics">Expression <a href="clear.html#fusion.algorithm.transformation.functions.clear.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.clear.expression_semantics"></a><h6>
<a name="id782457"></a>
<a class="link" href="clear.html#fusion.algorithm.transformation.functions.clear.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="clear.html" title="clear"><tt class="computeroutput"><span class="identifier">clear</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><a href="clear.html" title="clear"><tt class="computeroutput"><span class="identifier">clear</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@ -96,29 +185,104 @@
with no elements. with no elements.
</p> </p>
<a name="fusion.algorithm.transformation.functions.clear.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.clear.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id567282"></a> <a name="id567282"></a>
<a href="clear.html#fusion.algorithm.transformation.functions.clear.complexity">Complexity</a> <a href="clear.html#fusion.algorithm.transformation.functions.clear.complexity">Complexity</a>
=======
<a name="id819364"></a>
=======
<a name="id781117"></a>
=======
<a name="id773493"></a>
=======
<a name="id797133"></a>
=======
<a name="id785796"></a>
=======
<a name="id782519"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="clear.html#fusion.algorithm.transformation.functions.clear.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.functions.clear.header"></a><h6> <a name="fusion.algorithm.transformation.functions.clear.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id567311"></a> <a name="id567311"></a>
<a href="clear.html#fusion.algorithm.transformation.functions.clear.header">Header</a> <a href="clear.html#fusion.algorithm.transformation.functions.clear.header">Header</a>
=======
<a name="id819383"></a>
=======
<a name="id781136"></a>
=======
<a name="id773512"></a>
=======
<a name="id797152"></a>
=======
<a name="id785815"></a>
=======
<a name="id782538"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="clear.html#fusion.algorithm.transformation.functions.clear.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">clear</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">clear</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">clear</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">clear</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.clear.example"></a><h6> <a name="fusion.algorithm.transformation.functions.clear.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id567478"></a> <a name="id567478"></a>
<a href="clear.html#fusion.algorithm.transformation.functions.clear.example">Example</a> <a href="clear.html#fusion.algorithm.transformation.functions.clear.example">Example</a>
=======
<a name="id819498"></a>
=======
<a name="id781252"></a>
=======
<a name="id773627"></a>
=======
<a name="id797267"></a>
=======
<a name="id785930"></a>
=======
<a name="id782654"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="clear.html#fusion.algorithm.transformation.functions.clear.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="clear.html" title="clear"><tt class="computeroutput"><span class="identifier">clear</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">());</span> <pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="clear.html" title="clear"><tt class="computeroutput"><span class="identifier">clear</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">());</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>erase</title> <title>erase</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="clear.html" title="clear"> <link rel="previous" href="clear.html" title="clear">
<link rel="next" href="erase_key.html" title="erase_key"> <link rel="next" href="erase_key.html" title="erase_key">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.erase.description"></a><h6> <a name="fusion.algorithm.transformation.functions.erase.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id567635"></a> <a name="id567635"></a>
<a href="erase.html#fusion.algorithm.transformation.functions.erase.description">Description</a> <a href="erase.html#fusion.algorithm.transformation.functions.erase.description">Description</a>
=======
<a name="id819600"></a>
=======
<a name="id781354"></a>
=======
<a name="id773729"></a>
=======
<a name="id797369"></a>
=======
<a name="id786032"></a>
=======
<a name="id782756"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase.html#fusion.algorithm.transformation.functions.erase.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns a new sequence, containing all the elements of the original except Returns a new sequence, containing all the elements of the original except
those at a specified iterator, or between two iterators. those at a specified iterator, or between two iterators.
</p> </p>
<a name="fusion.algorithm.transformation.functions.erase.synposis"></a><h6> <a name="fusion.algorithm.transformation.functions.erase.synposis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id567666"></a> <a name="id567666"></a>
<a href="erase.html#fusion.algorithm.transformation.functions.erase.synposis">Synposis</a> <a href="erase.html#fusion.algorithm.transformation.functions.erase.synposis">Synposis</a>
=======
<a name="id819622"></a>
=======
<a name="id781375"></a>
=======
<a name="id773751"></a>
=======
<a name="id797391"></a>
=======
<a name="id786054"></a>
=======
<a name="id782777"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase.html#fusion.algorithm.transformation.functions.erase.synposis">Synposis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -57,8 +115,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">First</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">it1</span><span class="special">,</span> <span class="identifier">Last</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">it2</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">First</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">it1</span><span class="special">,</span> <span class="identifier">Last</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">it2</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id568124"></a><p class="title"><b>Table<EFBFBD>1.63.<2E>Parameters</b></p> <a name="id568124"></a><p class="title"><b>Table<EFBFBD>1.63.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id819954"></a><p class="title"><b>Table<EFBFBD>1.63.<2E>Parameters</b></p>
=======
<a name="id781708"></a><p class="title"><b>Table<EFBFBD>1.67.<2E>Parameters</b></p>
=======
<a name="id774083"></a><p class="title"><b>Table<EFBFBD>1.67.<2E>Parameters</b></p>
=======
<a name="id797723"></a><p class="title"><b>Table&#160;1.67.&#160;Parameters</b></p>
=======
<a name="id786386"></a><p class="title"><b>Table&#160;1.67.&#160;Parameters</b></p>
=======
<a name="id783110"></a><p class="title"><b>Table&#160;1.67.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -119,18 +202,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.erase.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.erase.expression_semantics"></a><h6>
<a name="id568351"></a> <a name="id568351"></a>
<a href="erase.html#fusion.algorithm.transformation.functions.erase.expression_semantics">Expression <a href="erase.html#fusion.algorithm.transformation.functions.erase.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.erase.expression_semantics"></a><h6>
<a name="id783284"></a>
<a class="link" href="erase.html#fusion.algorithm.transformation.functions.erase.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="erase.html" title="erase"><tt class="computeroutput"><span class="identifier">erase</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">pos</span><span class="special">);</span> <pre class="programlisting"><a href="erase.html" title="erase"><tt class="computeroutput"><span class="identifier">erase</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">pos</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt> all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>
@ -139,32 +244,123 @@
<pre class="programlisting"><a href="erase.html" title="erase"><tt class="computeroutput"><span class="identifier">erase</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">);</span> <pre class="programlisting"><a href="erase.html" title="erase"><tt class="computeroutput"><span class="identifier">erase</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">first</span><span class="special">,</span> <span class="identifier">last</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, with <span class="bold"><b>Semantics</b></span>: Returns a new sequence, with
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>, all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
in their original order, except those in the range [<tt class="computeroutput"><span class="identifier">first</span></tt>,<tt class="computeroutput"><span class="identifier">last</span></tt>). in their original order, except those in the range [<tt class="computeroutput"><span class="identifier">first</span></tt>,<tt class="computeroutput"><span class="identifier">last</span></tt>).
</p> </p>
<a name="fusion.algorithm.transformation.functions.erase.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.erase.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id568605"></a> <a name="id568605"></a>
<a href="erase.html#fusion.algorithm.transformation.functions.erase.complexity">Complexity</a> <a href="erase.html#fusion.algorithm.transformation.functions.erase.complexity">Complexity</a>
=======
<a name="id820297"></a>
=======
<a name="id782106"></a>
=======
<a name="id774482"></a>
=======
<a name="id798122"></a>
=======
<a name="id786785"></a>
=======
<a name="id783508"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase.html#fusion.algorithm.transformation.functions.erase.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.erase.header"></a><h6> <a name="fusion.algorithm.transformation.functions.erase.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id568633"></a> <a name="id568633"></a>
<a href="erase.html#fusion.algorithm.transformation.functions.erase.header">Header</a> <a href="erase.html#fusion.algorithm.transformation.functions.erase.header">Header</a>
=======
<a name="id820316"></a>
=======
<a name="id782125"></a>
=======
<a name="id774501"></a>
=======
<a name="id798141"></a>
=======
<a name="id786804"></a>
=======
<a name="id783527"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase.html#fusion.algorithm.transformation.functions.erase.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">erase</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">erase</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">erase</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">erase</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.erase.example"></a><h6> <a name="fusion.algorithm.transformation.functions.erase.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id568800"></a> <a name="id568800"></a>
<a href="erase.html#fusion.algorithm.transformation.functions.erase.example">Example</a> <a href="erase.html#fusion.algorithm.transformation.functions.erase.example">Example</a>
=======
<a name="id820432"></a>
=======
<a name="id782240"></a>
=======
<a name="id774616"></a>
=======
<a name="id798256"></a>
=======
<a name="id786919"></a>
=======
<a name="id783642"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase.html#fusion.algorithm.transformation.functions.erase.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2.0</span><span class="special">,</span> <span class="char">'c'</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2.0</span><span class="special">,</span> <span class="char">'c'</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><a href="erase.html" title="erase"><tt class="computeroutput"><span class="identifier">erase</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">,</span> <a href="../../../iterator/functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><a href="../../../sequence/intrinsic/functions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">)))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'c'</span><span class="special">));</span> <span class="identifier">assert</span><span class="special">(</span><a href="erase.html" title="erase"><tt class="computeroutput"><span class="identifier">erase</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">,</span> <a href="../../../iterator/functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><a href="../../../sequence/intrinsic/functions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">)))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'c'</span><span class="special">));</span>
@ -173,7 +369,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>erase_key</title> <title>erase_key</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="erase.html" title="erase"> <link rel="previous" href="erase.html" title="erase">
<link rel="next" href="insert.html" title="insert"> <link rel="next" href="insert.html" title="insert">
@ -30,10 +38,36 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.erase_key.description"></a><h6> <a name="fusion.algorithm.transformation.functions.erase_key.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id569251"></a> <a name="id569251"></a>
<a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.description">Description</a> <a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.description">Description</a>
=======
<a name="id820735"></a>
=======
<a name="id782544"></a>
=======
<a name="id774920"></a>
=======
<a name="id798629"></a>
=======
<a name="id787292"></a>
=======
<a name="id784015"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
<<<<<<< .working
For an <a href="../../../sequence/concepts/associative_sequence.html" title="Associative For an <a href="../../../sequence/concepts/associative_sequence.html" title="Associative
Sequence">Associative Sequence">Associative
Sequence</a> <tt class="computeroutput"><span class="identifier">seq</span></tt>, Sequence</a> <tt class="computeroutput"><span class="identifier">seq</span></tt>,
@ -41,20 +75,78 @@
Sequence">Forward Sequence">Forward
Sequence</a> containing all the elements of the original except those Sequence</a> containing all the elements of the original except those
with a given key. with a given key.
=======
For an <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">associative</a>]
<a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward Sequence</a>
<code class="computeroutput"><span class="identifier">seq</span></code>, returns a <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">associative</a>]
<a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward Sequence</a>
containing all the elements of the original except those with a given
key.
>>>>>>> .merge-right.r57242
</p> </p>
<a name="fusion.algorithm.transformation.functions.erase_key.synposis"></a><h6> <a name="fusion.algorithm.transformation.functions.erase_key.synposis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id569311"></a> <a name="id569311"></a>
<a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.synposis">Synposis</a> <a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.synposis">Synposis</a>
=======
<a name="id820774"></a>
=======
<a name="id782592"></a>
=======
<a name="id774968"></a>
=======
<a name="id798677"></a>
=======
<a name="id787340"></a>
=======
<a name="id784063"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.synposis">Synposis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Key</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Key</span><span class="special">,</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span>
<span class="special">&gt;</span> <span class="special">&gt;</span>
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">erase_key</span><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Key</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">erase_key</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="keyword">typename</span> <a class="link" href="../metafunctions/erase_key.html" title="erase_key"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">erase_key</span></code></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Key</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">erase_key</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id569481"></a><p class="title"><b>Table<EFBFBD>1.64.<2E>Parameters</b></p> <a name="id569481"></a><p class="title"><b>Table<EFBFBD>1.64.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id820898"></a><p class="title"><b>Table<EFBFBD>1.64.<2E>Parameters</b></p>
=======
<a name="id783814"></a><p class="title"><b>Table<EFBFBD>1.68.<2E>Parameters</b></p>
=======
<a name="id776190"></a><p class="title"><b>Table<EFBFBD>1.68.<2E>Parameters</b></p>
=======
<a name="id798806"></a><p class="title"><b>Table&#160;1.68.&#160;Parameters</b></p>
=======
<a name="id787469"></a><p class="title"><b>Table&#160;1.68.&#160;Parameters</b></p>
=======
<a name="id784192"></a><p class="title"><b>Table&#160;1.68.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -73,12 +165,24 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<tr> <tr>
<<<<<<< .working
<td><p> <td><p>
<tt class="computeroutput"><span class="identifier">seq</span></tt> <tt class="computeroutput"><span class="identifier">seq</span></tt>
</p></td> </p></td>
<td><p> <td><p>
A model of <a href="../../../sequence/concepts/associative_sequence.html" title="Associative A model of <a href="../../../sequence/concepts/associative_sequence.html" title="Associative
Sequence">Associative Sequence">Associative
=======
<td>
<p>
<code class="computeroutput"><span class="identifier">seq</span></code>
</p>
</td>
<td>
<p>
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a> and <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
>>>>>>> .merge-right.r57242
Sequence</a> Sequence</a>
</p></td> </p></td>
<td><p> <td><p>
@ -99,9 +203,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.erase_key.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.erase_key.expression_semantics"></a><h6>
<a name="id569620"></a> <a name="id569620"></a>
<a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.expression_semantics">Expression <a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.erase_key.expression_semantics"></a><h6>
<a name="id784310"></a>
<a class="link" href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="erase_key.html" title="erase_key"><tt class="computeroutput"><span class="identifier">erase_key</span></tt></a><span class="special">&lt;</span><span class="identifier">Key</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><a href="erase_key.html" title="erase_key"><tt class="computeroutput"><span class="identifier">erase_key</span></tt></a><span class="special">&lt;</span><span class="identifier">Key</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span>
@ -109,6 +219,7 @@
<p> <p>
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a> and <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a>. Sequence</a>.
</p> </p>
<p> <p>
@ -117,29 +228,104 @@
except those with key <tt class="computeroutput"><span class="identifier">Key</span></tt>. except those with key <tt class="computeroutput"><span class="identifier">Key</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.erase_key.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.erase_key.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id569749"></a> <a name="id569749"></a>
<a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.complexity">Complexity</a> <a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.complexity">Complexity</a>
=======
<a name="id821094"></a>
=======
<a name="id784020"></a>
=======
<a name="id776395"></a>
=======
<a name="id799011"></a>
=======
<a name="id787674"></a>
=======
<a name="id784398"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.erase_key.header"></a><h6> <a name="fusion.algorithm.transformation.functions.erase_key.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id569777"></a> <a name="id569777"></a>
<a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.header">Header</a> <a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.header">Header</a>
=======
<a name="id821116"></a>
=======
<a name="id784041"></a>
=======
<a name="id776417"></a>
=======
<a name="id799033"></a>
=======
<a name="id787696"></a>
=======
<a name="id784419"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">erase_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">erase_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">erase_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">erase_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.erase_key.example"></a><h6> <a name="fusion.algorithm.transformation.functions.erase_key.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id569944"></a> <a name="id569944"></a>
<a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.example">Example</a> <a href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.example">Example</a>
=======
<a name="id821236"></a>
=======
<a name="id784161"></a>
=======
<a name="id776537"></a>
=======
<a name="id799153"></a>
=======
<a name="id787816"></a>
=======
<a name="id784539"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase_key.html#fusion.algorithm.transformation.functions.erase_key.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="erase_key.html" title="erase_key"><tt class="computeroutput"><span class="identifier">erase_key</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><a href="../../../container/generation/functions/make_map.html" title="make_map"><tt class="computeroutput"><span class="identifier">make_map</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">long</span><span class="special">&gt;(</span><span class="char">'a'</span><span class="special">,</span> <span class="char">'b'</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_map.html" title="make_map"><tt class="computeroutput"><span class="identifier">make_map</span></tt></a><span class="special">&lt;</span><span class="keyword">long</span><span class="special">&gt;(</span><span class="char">'b'</span><span class="special">));</span> <pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="erase_key.html" title="erase_key"><tt class="computeroutput"><span class="identifier">erase_key</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><a href="../../../container/generation/functions/make_map.html" title="make_map"><tt class="computeroutput"><span class="identifier">make_map</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">long</span><span class="special">&gt;(</span><span class="char">'a'</span><span class="special">,</span> <span class="char">'b'</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_map.html" title="make_map"><tt class="computeroutput"><span class="identifier">make_map</span></tt></a><span class="special">&lt;</span><span class="keyword">long</span><span class="special">&gt;(</span><span class="char">'b'</span><span class="special">));</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>filter</title> <title>filter</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="../functions.html" title="Functions"> <link rel="previous" href="../functions.html" title="Functions">
<link rel="next" href="filter_if.html" title="filter_if"> <link rel="next" href="filter_if.html" title="filter_if">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.filter.description"></a><h6> <a name="fusion.algorithm.transformation.functions.filter.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id557690"></a> <a name="id557690"></a>
<a href="filter.html#fusion.algorithm.transformation.functions.filter.description">Description</a> <a href="filter.html#fusion.algorithm.transformation.functions.filter.description">Description</a>
=======
<a name="id809465"></a>
=======
<a name="id771900"></a>
=======
<a name="id764276"></a>
=======
<a name="id787956"></a>
=======
<a name="id776619"></a>
=======
<a name="id773342"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter.html#fusion.algorithm.transformation.functions.filter.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
For a given sequence, filter returns a new sequences containing only For a given sequence, filter returns a new sequences containing only
the elements of a specified type. the elements of a specified type.
</p> </p>
<a name="fusion.algorithm.transformation.functions.filter.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.filter.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id557721"></a> <a name="id557721"></a>
<a href="filter.html#fusion.algorithm.transformation.functions.filter.synopsis">Synopsis</a> <a href="filter.html#fusion.algorithm.transformation.functions.filter.synopsis">Synopsis</a>
=======
<a name="id809487"></a>
=======
<a name="id771922"></a>
=======
<a name="id764298"></a>
=======
<a name="id787977"></a>
=======
<a name="id776640"></a>
=======
<a name="id773364"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter.html#fusion.algorithm.transformation.functions.filter.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span>
@ -48,8 +106,33 @@
<span class="keyword">typename</span> <a href="../metafunctions/filter.html" title="filter"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">filter</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="keyword">typename</span> <a href="../metafunctions/filter.html" title="filter"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">filter</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id557902"></a><p class="title"><b>Table<EFBFBD>1.53.<2E>Parameters</b></p> <a name="id557902"></a><p class="title"><b>Table<EFBFBD>1.53.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id811255"></a><p class="title"><b>Table<EFBFBD>1.53.<2E>Parameters</b></p>
=======
<a name="id772052"></a><p class="title"><b>Table<EFBFBD>1.57.<2E>Parameters</b></p>
=======
<a name="id764427"></a><p class="title"><b>Table<EFBFBD>1.57.<2E>Parameters</b></p>
=======
<a name="id788107"></a><p class="title"><b>Table&#160;1.57.&#160;Parameters</b></p>
=======
<a name="id776770"></a><p class="title"><b>Table&#160;1.57.&#160;Parameters</b></p>
=======
<a name="id773493"></a><p class="title"><b>Table&#160;1.57.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -94,18 +177,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.filter.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.filter.expression_semantics"></a><h6>
<a name="id558039"></a> <a name="id558039"></a>
<a href="filter.html#fusion.algorithm.transformation.functions.filter.expression_semantics">Expression <a href="filter.html#fusion.algorithm.transformation.functions.filter.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.filter.expression_semantics"></a><h6>
<a name="id773606"></a>
<a class="link" href="filter.html#fusion.algorithm.transformation.functions.filter.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="filter.html" title="filter"><tt class="computeroutput"><span class="identifier">filter</span></tt></a><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><a href="filter.html" title="filter"><tt class="computeroutput"><span class="identifier">filter</span></tt></a><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing <span class="bold"><b>Semantics</b></span>: Returns a sequence containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt> all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>
@ -113,22 +218,97 @@
to <tt class="computeroutput"><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">same_type</span><span class="special">&lt;</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span></tt>. to <tt class="computeroutput"><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">same_type</span><span class="special">&lt;</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.filter.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.filter.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id558250"></a> <a name="id558250"></a>
<a href="filter.html#fusion.algorithm.transformation.functions.filter.complexity">Complexity</a> <a href="filter.html#fusion.algorithm.transformation.functions.filter.complexity">Complexity</a>
=======
<a name="id811508"></a>
=======
<a name="id772332"></a>
=======
<a name="id764708"></a>
=======
<a name="id788388"></a>
=======
<a name="id777051"></a>
=======
<a name="id773774"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter.html#fusion.algorithm.transformation.functions.filter.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.filter.header"></a><h6> <a name="fusion.algorithm.transformation.functions.filter.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id558280"></a> <a name="id558280"></a>
<a href="filter.html#fusion.algorithm.transformation.functions.filter.header">Header</a> <a href="filter.html#fusion.algorithm.transformation.functions.filter.header">Header</a>
=======
<a name="id811528"></a>
=======
<a name="id772352"></a>
=======
<a name="id764727"></a>
=======
<a name="id788407"></a>
=======
<a name="id777070"></a>
=======
<a name="id773793"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter.html#fusion.algorithm.transformation.functions.filter.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">filter</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">filter</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">filter</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">filter</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.filter.example"></a><h6> <a name="fusion.algorithm.transformation.functions.filter.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id558447"></a> <a name="id558447"></a>
<a href="filter.html#fusion.algorithm.transformation.functions.filter.example">Example</a> <a href="filter.html#fusion.algorithm.transformation.functions.filter.example">Example</a>
=======
<a name="id811645"></a>
=======
<a name="id772469"></a>
=======
<a name="id764845"></a>
=======
<a name="id788524"></a>
=======
<a name="id777188"></a>
=======
<a name="id773911"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter.html#fusion.algorithm.transformation.functions.filter.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">long</span><span class="special">,</span><span class="keyword">long</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">,</span><span class="number">4</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">long</span><span class="special">,</span><span class="keyword">long</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">,</span><span class="number">4</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><a href="filter.html" title="filter"><tt class="computeroutput"><span class="identifier">filter</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">));</span> <span class="identifier">assert</span><span class="special">(</span><a href="filter.html" title="filter"><tt class="computeroutput"><span class="identifier">filter</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">));</span>
@ -136,7 +316,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>filter_if</title> <title>filter_if</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="filter.html" title="filter"> <link rel="previous" href="filter.html" title="filter">
<link rel="next" href="transform.html" title="transform"> <link rel="next" href="transform.html" title="transform">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.filter_if.description"></a><h6> <a name="fusion.algorithm.transformation.functions.filter_if.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id558709"></a> <a name="id558709"></a>
<a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.description">Description</a> <a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.description">Description</a>
=======
<a name="id811829"></a>
=======
<a name="id772653"></a>
=======
<a name="id765029"></a>
=======
<a name="id788708"></a>
=======
<a name="id777371"></a>
=======
<a name="id774094"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
For a given sequence, <a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a> returns a new sequences For a given sequence, <a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a> returns a new sequences
@ -39,8 +72,33 @@
Lambda Expression</a> evaluates to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>. Lambda Expression</a> evaluates to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.filter_if.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.filter_if.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id558796"></a> <a name="id558796"></a>
<a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.synopsis">Synopsis</a> <a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.synopsis">Synopsis</a>
=======
<a name="id811886"></a>
=======
<a name="id772710"></a>
=======
<a name="id765086"></a>
=======
<a name="id788766"></a>
=======
<a name="id777429"></a>
=======
<a name="id774152"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Pred</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Pred</span><span class="special">,</span>
@ -49,8 +107,33 @@
<span class="keyword">typename</span> <a href="../metafunctions/filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">filter_if</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="keyword">typename</span> <a href="../metafunctions/filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">filter_if</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id558979"></a><p class="title"><b>Table<EFBFBD>1.54.<2E>Parameters</b></p> <a name="id558979"></a><p class="title"><b>Table<EFBFBD>1.54.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id812016"></a><p class="title"><b>Table<EFBFBD>1.54.<2E>Parameters</b></p>
=======
<a name="id772840"></a><p class="title"><b>Table<EFBFBD>1.58.<2E>Parameters</b></p>
=======
<a name="id765216"></a><p class="title"><b>Table<EFBFBD>1.58.<2E>Parameters</b></p>
=======
<a name="id788895"></a><p class="title"><b>Table&#160;1.58.&#160;Parameters</b></p>
=======
<a name="id777558"></a><p class="title"><b>Table&#160;1.58.&#160;Parameters</b></p>
=======
<a name="id774282"></a><p class="title"><b>Table&#160;1.58.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -96,18 +179,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.filter_if.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.filter_if.expression_semantics"></a><h6>
<a name="id559127"></a> <a name="id559127"></a>
<a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.expression_semantics">Expression <a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.filter_if.expression_semantics"></a><h6>
<a name="id774400"></a>
<a class="link" href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Pred</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Pred</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing <span class="bold"><b>Semantics</b></span>: Returns a sequence containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt> all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>
@ -116,22 +221,97 @@
is the same as in the original sequence. is the same as in the original sequence.
</p> </p>
<a name="fusion.algorithm.transformation.functions.filter_if.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.filter_if.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id559288"></a> <a name="id559288"></a>
<a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.complexity">Complexity</a> <a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.complexity">Complexity</a>
=======
<a name="id812239"></a>
=======
<a name="id773091"></a>
=======
<a name="id765467"></a>
=======
<a name="id789146"></a>
=======
<a name="id777809"></a>
=======
<a name="id774532"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.filter_if.header"></a><h6> <a name="fusion.algorithm.transformation.functions.filter_if.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id559316"></a> <a name="id559316"></a>
<a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.header">Header</a> <a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.header">Header</a>
=======
<a name="id812261"></a>
=======
<a name="id773112"></a>
=======
<a name="id765488"></a>
=======
<a name="id789168"></a>
=======
<a name="id777831"></a>
=======
<a name="id774554"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">filter_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">filter_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">filter_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">filter_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.filter_if.example"></a><h6> <a name="fusion.algorithm.transformation.functions.filter_if.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id559484"></a> <a name="id559484"></a>
<a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.example">Example</a> <a href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.example">Example</a>
=======
<a name="id812381"></a>
=======
<a name="id773232"></a>
=======
<a name="id765608"></a>
=======
<a name="id789288"></a>
=======
<a name="id777951"></a>
=======
<a name="id774674"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter_if.html#fusion.algorithm.transformation.functions.filter_if.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">,</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3.0</span><span class="special">,</span><span class="number">4.0</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">,</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3.0</span><span class="special">,</span><span class="number">4.0</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a><span class="special">&lt;</span><span class="identifier">is_integral</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">));</span> <span class="identifier">assert</span><span class="special">(</span><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a><span class="special">&lt;</span><span class="identifier">is_integral</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">));</span>
@ -139,7 +319,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>insert</title> <title>insert</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="erase_key.html" title="erase_key"> <link rel="previous" href="erase_key.html" title="erase_key">
<link rel="next" href="insert_range.html" title="insert_range"> <link rel="next" href="insert_range.html" title="insert_range">
@ -30,27 +38,103 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.insert.description"></a><h6> <a name="fusion.algorithm.transformation.functions.insert.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id570144"></a> <a name="id570144"></a>
<a href="insert.html#fusion.algorithm.transformation.functions.insert.description">Description</a> <a href="insert.html#fusion.algorithm.transformation.functions.insert.description">Description</a>
=======
<a name="id822464"></a>
=======
<a name="id784297"></a>
=======
<a name="id776673"></a>
=======
<a name="id799289"></a>
=======
<a name="id787952"></a>
=======
<a name="id784675"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert.html#fusion.algorithm.transformation.functions.insert.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns a new sequence with all the elements of the original, an a new Returns a new sequence with all the elements of the original, an a new
element inserted the position described by a given iterator. element inserted the position described by a given iterator.
</p> </p>
<a name="fusion.algorithm.transformation.functions.insert.synposis"></a><h6> <a name="fusion.algorithm.transformation.functions.insert.synposis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id570175"></a> <a name="id570175"></a>
<a href="insert.html#fusion.algorithm.transformation.functions.insert.synposis">Synposis</a> <a href="insert.html#fusion.algorithm.transformation.functions.insert.synposis">Synposis</a>
=======
<a name="id822486"></a>
=======
<a name="id784318"></a>
=======
<a name="id776694"></a>
=======
<a name="id799310"></a>
=======
<a name="id787973"></a>
=======
<a name="id784696"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert.html#fusion.algorithm.transformation.functions.insert.synposis">Synposis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
<span class="keyword">typename</span> <span class="identifier">Pos</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Pos</span><span class="special">,</span>
<span class="keyword">typename</span> <span class="identifier">T</span> <span class="keyword">typename</span> <span class="identifier">T</span>
<span class="special">&gt;</span> <span class="special">&gt;</span>
<span class="emphasis"><em>unspecified</em></span> <span class="identifier">insert</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">Pos</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">pos</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">);</span> <span class="keyword">typename</span> <a class="link" href="../metafunctions/insert.html" title="insert"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">insert</span></code></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Pos</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">insert</span><span class="special">(</span>
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">Pos</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">pos</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id570363"></a><p class="title"><b>Table<EFBFBD>1.65.<2E>Parameters</b></p> <a name="id570363"></a><p class="title"><b>Table<EFBFBD>1.65.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id822626"></a><p class="title"><b>Table<EFBFBD>1.65.<2E>Parameters</b></p>
=======
<a name="id784514"></a><p class="title"><b>Table<EFBFBD>1.69.<2E>Parameters</b></p>
=======
<a name="id776890"></a><p class="title"><b>Table<EFBFBD>1.69.<2E>Parameters</b></p>
=======
<a name="id799506"></a><p class="title"><b>Table&#160;1.69.&#160;Parameters</b></p>
=======
<a name="id788169"></a><p class="title"><b>Table&#160;1.69.&#160;Parameters</b></p>
=======
<a name="id784892"></a><p class="title"><b>Table&#160;1.69.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -108,18 +192,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.insert.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.insert.expression_semantics"></a><h6>
<a name="id570546"></a> <a name="id570546"></a>
<a href="insert.html#fusion.algorithm.transformation.functions.insert.expression_semantics">Expression <a href="insert.html#fusion.algorithm.transformation.functions.insert.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.insert.expression_semantics"></a><h6>
<a name="id785041"></a>
<a class="link" href="insert.html#fusion.algorithm.transformation.functions.insert.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="insert.html" title="insert"><tt class="computeroutput"><span class="identifier">insert</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">t</span><span class="special">);</span> <pre class="programlisting"><a href="insert.html" title="insert"><tt class="computeroutput"><span class="identifier">insert</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">t</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>, all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
@ -128,22 +234,97 @@
<tt class="computeroutput"><span class="identifier">pos</span></tt>. <tt class="computeroutput"><span class="identifier">pos</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.insert.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.insert.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id570697"></a> <a name="id570697"></a>
<a href="insert.html#fusion.algorithm.transformation.functions.insert.complexity">Complexity</a> <a href="insert.html#fusion.algorithm.transformation.functions.insert.complexity">Complexity</a>
=======
<a name="id822874"></a>
=======
<a name="id784790"></a>
=======
<a name="id777166"></a>
=======
<a name="id799782"></a>
=======
<a name="id788445"></a>
=======
<a name="id785168"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert.html#fusion.algorithm.transformation.functions.insert.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.insert.header"></a><h6> <a name="fusion.algorithm.transformation.functions.insert.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id570726"></a> <a name="id570726"></a>
<a href="insert.html#fusion.algorithm.transformation.functions.insert.header">Header</a> <a href="insert.html#fusion.algorithm.transformation.functions.insert.header">Header</a>
=======
<a name="id822894"></a>
=======
<a name="id784809"></a>
=======
<a name="id777185"></a>
=======
<a name="id799801"></a>
=======
<a name="id788464"></a>
=======
<a name="id785187"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert.html#fusion.algorithm.transformation.functions.insert.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">insert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">insert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">insert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">insert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.insert.example"></a><h6> <a name="fusion.algorithm.transformation.functions.insert.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id570892"></a> <a name="id570892"></a>
<a href="insert.html#fusion.algorithm.transformation.functions.insert.example">Example</a> <a href="insert.html#fusion.algorithm.transformation.functions.insert.example">Example</a>
=======
<a name="id823011"></a>
=======
<a name="id784927"></a>
=======
<a name="id777303"></a>
=======
<a name="id799919"></a>
=======
<a name="id788582"></a>
=======
<a name="id785305"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert.html#fusion.algorithm.transformation.functions.insert.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><a href="insert.html" title="insert"><tt class="computeroutput"><span class="identifier">insert</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">,</span> <a href="../../../iterator/functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><a href="../../../sequence/intrinsic/functions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">)),</span> <span class="number">3</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">3</span><span class="special">,</span><span class="number">2</span><span class="special">));</span> <span class="identifier">assert</span><span class="special">(</span><a href="insert.html" title="insert"><tt class="computeroutput"><span class="identifier">insert</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">,</span> <a href="../../../iterator/functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><a href="../../../sequence/intrinsic/functions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">)),</span> <span class="number">3</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">3</span><span class="special">,</span><span class="number">2</span><span class="special">));</span>
@ -151,7 +332,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>insert_range</title> <title>insert_range</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="insert.html" title="insert"> <link rel="previous" href="insert.html" title="insert">
<link rel="next" href="join.html" title="join"> <link rel="next" href="join.html" title="join">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.insert_range.description"></a><h6> <a name="fusion.algorithm.transformation.functions.insert_range.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id571178"></a> <a name="id571178"></a>
<a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.description">Description</a> <a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.description">Description</a>
=======
<a name="id823204"></a>
=======
<a name="id785120"></a>
=======
<a name="id777496"></a>
=======
<a name="id800112"></a>
=======
<a name="id788775"></a>
=======
<a name="id785498"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns a new sequence with another sequence inserted at a specified Returns a new sequence with another sequence inserted at a specified
iterator. iterator.
</p> </p>
<a name="fusion.algorithm.transformation.functions.insert_range.synposis"></a><h6> <a name="fusion.algorithm.transformation.functions.insert_range.synposis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id571208"></a> <a name="id571208"></a>
<a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.synposis">Synposis</a> <a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.synposis">Synposis</a>
=======
<a name="id823224"></a>
=======
<a name="id785139"></a>
=======
<a name="id777515"></a>
=======
<a name="id800131"></a>
=======
<a name="id788794"></a>
=======
<a name="id785517"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.synposis">Synposis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -50,8 +108,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">Pos</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">pos</span><span class="special">,</span> <span class="identifier">Range</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">range</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">Pos</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">pos</span><span class="special">,</span> <span class="identifier">Range</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">range</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id571477"></a><p class="title"><b>Table<EFBFBD>1.66.<2E>Parameters</b></p> <a name="id571477"></a><p class="title"><b>Table<EFBFBD>1.66.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id823422"></a><p class="title"><b>Table<EFBFBD>1.66.<2E>Parameters</b></p>
=======
<a name="id785337"></a><p class="title"><b>Table<EFBFBD>1.70.<2E>Parameters</b></p>
=======
<a name="id777713"></a><p class="title"><b>Table<EFBFBD>1.70.<2E>Parameters</b></p>
=======
<a name="id800329"></a><p class="title"><b>Table&#160;1.70.&#160;Parameters</b></p>
=======
<a name="id788992"></a><p class="title"><b>Table&#160;1.70.&#160;Parameters</b></p>
=======
<a name="id785715"></a><p class="title"><b>Table&#160;1.70.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -111,18 +194,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.insert_range.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.insert_range.expression_semantics"></a><h6>
<a name="id571670"></a> <a name="id571670"></a>
<a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.expression_semantics">Expression <a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.insert_range.expression_semantics"></a><h6>
<a name="id785869"></a>
<a class="link" href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="insert.html" title="insert"><tt class="computeroutput"><span class="identifier">insert</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">pos</span><span class="special">,</span> <span class="identifier">range</span><span class="special">);</span> <pre class="programlisting"><a href="insert.html" title="insert"><tt class="computeroutput"><span class="identifier">insert</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">pos</span><span class="special">,</span> <span class="identifier">range</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>, all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
@ -131,22 +236,97 @@
All elements retaining their ordering from the orignal sequences. All elements retaining their ordering from the orignal sequences.
</p> </p>
<a name="fusion.algorithm.transformation.functions.insert_range.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.insert_range.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id571824"></a> <a name="id571824"></a>
<a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.complexity">Complexity</a> <a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.complexity">Complexity</a>
=======
<a name="id823672"></a>
=======
<a name="id785616"></a>
=======
<a name="id777991"></a>
=======
<a name="id800607"></a>
=======
<a name="id789270"></a>
=======
<a name="id785994"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.insert_range.header"></a><h6> <a name="fusion.algorithm.transformation.functions.insert_range.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id571852"></a> <a name="id571852"></a>
<a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.header">Header</a> <a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.header">Header</a>
=======
<a name="id823692"></a>
=======
<a name="id785635"></a>
=======
<a name="id778011"></a>
=======
<a name="id800627"></a>
=======
<a name="id789290"></a>
=======
<a name="id786013"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">insert_range</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">insert_range</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">insert_range</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">insert_range</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.insert_range.example"></a><h6> <a name="fusion.algorithm.transformation.functions.insert_range.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id572019"></a> <a name="id572019"></a>
<a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.example">Example</a> <a href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.example">Example</a>
=======
<a name="id823812"></a>
=======
<a name="id785755"></a>
=======
<a name="id778131"></a>
=======
<a name="id800747"></a>
=======
<a name="id790502"></a>
=======
<a name="id787226"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert_range.html#fusion.algorithm.transformation.functions.insert_range.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><a href="insert_range.html" title="insert_range"><tt class="computeroutput"><span class="identifier">insert_range</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">,</span> <a href="../../../iterator/functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><a href="../../../sequence/intrinsic/functions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">)),</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">3</span><span class="special">,</span><span class="number">4</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">3</span><span class="special">,</span><span class="number">4</span><span class="special">,</span><span class="number">2</span><span class="special">));</span> <span class="identifier">assert</span><span class="special">(</span><a href="insert_range.html" title="insert_range"><tt class="computeroutput"><span class="identifier">insert_range</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">,</span> <a href="../../../iterator/functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><a href="../../../sequence/intrinsic/functions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></a><span class="special">(</span><span class="identifier">vec</span><span class="special">)),</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">3</span><span class="special">,</span><span class="number">4</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">3</span><span class="special">,</span><span class="number">4</span><span class="special">,</span><span class="number">2</span><span class="special">));</span>
@ -154,7 +334,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>join</title> <title>join</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="insert_range.html" title="insert_range"> <link rel="previous" href="insert_range.html" title="insert_range">
<link rel="next" href="zip.html" title="zip"> <link rel="next" href="zip.html" title="zip">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.join.description"></a><h6> <a name="fusion.algorithm.transformation.functions.join.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id572345"></a> <a name="id572345"></a>
<a href="join.html#fusion.algorithm.transformation.functions.join.description">Description</a> <a href="join.html#fusion.algorithm.transformation.functions.join.description">Description</a>
=======
<a name="id824034"></a>
=======
<a name="id785977"></a>
=======
<a name="id778626"></a>
=======
<a name="id802334"></a>
=======
<a name="id790724"></a>
=======
<a name="id787448"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="join.html#fusion.algorithm.transformation.functions.join.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Takes 2 sequences and returns a sequence containing the elements of the Takes 2 sequences and returns a sequence containing the elements of the
first followed by the elements of the second. first followed by the elements of the second.
</p> </p>
<a name="fusion.algorithm.transformation.functions.join.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.join.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id572375"></a> <a name="id572375"></a>
<a href="join.html#fusion.algorithm.transformation.functions.join.synopsis">Synopsis</a> <a href="join.html#fusion.algorithm.transformation.functions.join.synopsis">Synopsis</a>
=======
<a name="id824053"></a>
=======
<a name="id786270"></a>
=======
<a name="id778645"></a>
=======
<a name="id802354"></a>
=======
<a name="id790744"></a>
=======
<a name="id787467"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="join.html#fusion.algorithm.transformation.functions.join.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">LhSequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">LhSequence</span><span class="special">,</span>
@ -47,8 +105,33 @@
<span class="keyword">typename</span> <a href="../metafunctions/join.html" title="join"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">join</span></tt></a><span class="special">&lt;</span><span class="identifier">LhSequence</span><span class="special">,</span> <span class="identifier">RhSequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">join</span><span class="special">(</span><span class="identifier">LhSequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">lhs</span><span class="special">,</span> <span class="identifier">RhSequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">rhs</span><span class="special">);</span> <span class="keyword">typename</span> <a href="../metafunctions/join.html" title="join"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">join</span></tt></a><span class="special">&lt;</span><span class="identifier">LhSequence</span><span class="special">,</span> <span class="identifier">RhSequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">join</span><span class="special">(</span><span class="identifier">LhSequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">lhs</span><span class="special">,</span> <span class="identifier">RhSequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">rhs</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id572579"></a><p class="title"><b>Table<EFBFBD>1.67.<2E>Parameters</b></p> <a name="id572579"></a><p class="title"><b>Table<EFBFBD>1.67.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id824196"></a><p class="title"><b>Table<EFBFBD>1.67.<2E>Parameters</b></p>
=======
<a name="id786412"></a><p class="title"><b>Table<EFBFBD>1.71.<2E>Parameters</b></p>
=======
<a name="id778788"></a><p class="title"><b>Table<EFBFBD>1.71.<2E>Parameters</b></p>
=======
<a name="id802496"></a><p class="title"><b>Table&#160;1.71.&#160;Parameters</b></p>
=======
<a name="id790886"></a><p class="title"><b>Table&#160;1.71.&#160;Parameters</b></p>
=======
<a name="id787610"></a><p class="title"><b>Table&#160;1.71.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -95,41 +178,139 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.join.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.join.expression_semantics"></a><h6>
<a name="id572726"></a> <a name="id572726"></a>
<a href="join.html#fusion.algorithm.transformation.functions.join.expression_semantics">Expression <a href="join.html#fusion.algorithm.transformation.functions.join.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.join.expression_semantics"></a><h6>
<a name="id787728"></a>
<a class="link" href="join.html#fusion.algorithm.transformation.functions.join.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="join.html" title="join"><tt class="computeroutput"><span class="identifier">join</span></tt></a><span class="special">(</span><span class="identifier">lhs</span><span class="special">,</span> <span class="identifier">rhs</span><span class="special">);</span> <pre class="programlisting"><a href="join.html" title="join"><tt class="computeroutput"><span class="identifier">join</span></tt></a><span class="special">(</span><span class="identifier">lhs</span><span class="special">,</span> <span class="identifier">rhs</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">lhs</span></code>
and <code class="computeroutput"><span class="identifier">rhs</span></code> implement the
<a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing <span class="bold"><b>Semantics</b></span>: Returns a sequence containing
all the elements of <tt class="computeroutput"><span class="identifier">lhs</span></tt> all the elements of <tt class="computeroutput"><span class="identifier">lhs</span></tt>
followed by all the elements of <tt class="computeroutput"><span class="identifier">rhs</span></tt>. followed by all the elements of <tt class="computeroutput"><span class="identifier">rhs</span></tt>.
The order of th elements is preserved. The order of the elements is preserved.
</p> </p>
<a name="fusion.algorithm.transformation.functions.join.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.join.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id572854"></a> <a name="id572854"></a>
<a href="join.html#fusion.algorithm.transformation.functions.join.complexity">Complexity</a> <a href="join.html#fusion.algorithm.transformation.functions.join.complexity">Complexity</a>
=======
<a name="id824400"></a>
=======
<a name="id786650"></a>
=======
<a name="id779026"></a>
=======
<a name="id802734"></a>
=======
<a name="id791124"></a>
=======
<a name="id787847"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="join.html#fusion.algorithm.transformation.functions.join.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.join.header"></a><h6> <a name="fusion.algorithm.transformation.functions.join.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id572884"></a> <a name="id572884"></a>
<a href="join.html#fusion.algorithm.transformation.functions.join.header">Header</a> <a href="join.html#fusion.algorithm.transformation.functions.join.header">Header</a>
=======
<a name="id824419"></a>
=======
<a name="id786669"></a>
=======
<a name="id779045"></a>
=======
<a name="id802753"></a>
=======
<a name="id791143"></a>
=======
<a name="id787866"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="join.html#fusion.algorithm.transformation.functions.join.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">join</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">join</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">join</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">join</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.join.example"></a><h6> <a name="fusion.algorithm.transformation.functions.join.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id573050"></a> <a name="id573050"></a>
<a href="join.html#fusion.algorithm.transformation.functions.join.example">Example</a> <a href="join.html#fusion.algorithm.transformation.functions.join.example">Example</a>
=======
<a name="id824534"></a>
=======
<a name="id786784"></a>
=======
<a name="id779160"></a>
=======
<a name="id802868"></a>
=======
<a name="id791258"></a>
=======
<a name="id787982"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="join.html#fusion.algorithm.transformation.functions.join.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">v1</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'a'</span><span class="special">);</span> <pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">v1</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'a'</span><span class="special">);</span>
<a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">v2</span><span class="special">(</span><span class="number">2</span><span class="special">,</span> <span class="char">'b'</span><span class="special">);</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">v2</span><span class="special">(</span><span class="number">2</span><span class="special">,</span> <span class="char">'b'</span><span class="special">);</span>
@ -138,7 +319,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>pop_back</title> <title>pop_back</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="zip.html" title="zip"> <link rel="previous" href="zip.html" title="zip">
<link rel="next" href="pop_front.html" title="pop_front"> <link rel="next" href="pop_front.html" title="pop_front">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.pop_back.description"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_back.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id574644"></a> <a name="id574644"></a>
<a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.description">Description</a> <a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.description">Description</a>
=======
<a name="id826744"></a>
=======
<a name="id787902"></a>
=======
<a name="id780277"></a>
=======
<a name="id803986"></a>
=======
<a name="id792376"></a>
=======
<a name="id789099"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns a new sequence, with the last element of the original removed. Returns a new sequence, with the last element of the original removed.
</p> </p>
<a name="fusion.algorithm.transformation.functions.pop_back.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_back.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id574674"></a> <a name="id574674"></a>
<a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.synopsis">Synopsis</a> <a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.synopsis">Synopsis</a>
=======
<a name="id826766"></a>
=======
<a name="id787923"></a>
=======
<a name="id780299"></a>
=======
<a name="id804007"></a>
=======
<a name="id792397"></a>
=======
<a name="id789120"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span>
@ -46,8 +104,33 @@
<span class="keyword">typename</span> <a href="../metafunctions/pop_back.html" title="pop_back"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_back</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">pop_back</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="keyword">typename</span> <a href="../metafunctions/pop_back.html" title="pop_back"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_back</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">pop_back</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id574828"></a><p class="title"><b>Table<EFBFBD>1.69.<2E>Parameters</b></p> <a name="id574828"></a><p class="title"><b>Table<EFBFBD>1.69.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id826874"></a><p class="title"><b>Table<EFBFBD>1.69.<2E>Parameters</b></p>
=======
<a name="id788031"></a><p class="title"><b>Table<EFBFBD>1.73.<2E>Parameters</b></p>
=======
<a name="id780407"></a><p class="title"><b>Table<EFBFBD>1.73.<2E>Parameters</b></p>
=======
<a name="id804115"></a><p class="title"><b>Table&#160;1.73.&#160;Parameters</b></p>
=======
<a name="id792505"></a><p class="title"><b>Table&#160;1.73.&#160;Parameters</b></p>
=======
<a name="id789228"></a><p class="title"><b>Table&#160;1.73.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -79,18 +162,40 @@
</tr></tbody> </tr></tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.pop_back.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_back.expression_semantics"></a><h6>
<a name="id574930"></a> <a name="id574930"></a>
<a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.expression_semantics">Expression <a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.pop_back.expression_semantics"></a><h6>
<a name="id789311"></a>
<a class="link" href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="pop_back.html" title="pop_back"><tt class="computeroutput"><span class="identifier">pop_back</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><a href="pop_back.html" title="pop_back"><tt class="computeroutput"><span class="identifier">pop_back</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>, all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
@ -98,29 +203,104 @@
same order as they were in <tt class="computeroutput"><span class="identifier">seq</span></tt>. same order as they were in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.pop_back.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_back.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id575047"></a> <a name="id575047"></a>
<a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.complexity">Complexity</a> <a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.complexity">Complexity</a>
=======
<a name="id827032"></a>
=======
<a name="id788217"></a>
=======
<a name="id780593"></a>
=======
<a name="id804301"></a>
=======
<a name="id793511"></a>
=======
<a name="id790234"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.pop_back.header"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_back.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id575077"></a> <a name="id575077"></a>
<a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.header">Header</a> <a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.header">Header</a>
=======
<a name="id827054"></a>
=======
<a name="id788239"></a>
=======
<a name="id780615"></a>
=======
<a name="id804323"></a>
=======
<a name="id793533"></a>
=======
<a name="id790256"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">pop_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">pop_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">pop_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">pop_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.pop_back.example"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_back.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id575245"></a> <a name="id575245"></a>
<a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.example">Example</a> <a href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.example">Example</a>
=======
<a name="id827174"></a>
=======
<a name="id788359"></a>
=======
<a name="id780735"></a>
=======
<a name="id804990"></a>
=======
<a name="id793653"></a>
=======
<a name="id790376"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_back.html#fusion.algorithm.transformation.functions.pop_back.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><span class="identifier">___pop_back__</span><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">));</span> <pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><span class="identifier">___pop_back__</span><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">));</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>pop_front</title> <title>pop_front</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="pop_back.html" title="pop_back"> <link rel="previous" href="pop_back.html" title="pop_back">
<link rel="next" href="push_back.html" title="push_back"> <link rel="next" href="push_back.html" title="push_back">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.pop_front.description"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_front.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id575413"></a> <a name="id575413"></a>
<a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.description">Description</a> <a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.description">Description</a>
=======
<a name="id827288"></a>
=======
<a name="id790112"></a>
=======
<a name="id782488"></a>
=======
<a name="id805104"></a>
=======
<a name="id793767"></a>
=======
<a name="id790490"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns a new sequence, with the first element of the original removed. Returns a new sequence, with the first element of the original removed.
</p> </p>
<a name="fusion.algorithm.transformation.functions.pop_front.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_front.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id575443"></a> <a name="id575443"></a>
<a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.synopsis">Synopsis</a> <a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.synopsis">Synopsis</a>
=======
<a name="id827309"></a>
=======
<a name="id790133"></a>
=======
<a name="id782509"></a>
=======
<a name="id805125"></a>
=======
<a name="id793788"></a>
=======
<a name="id790511"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span>
@ -46,8 +104,33 @@
<span class="keyword">typename</span> <a href="../metafunctions/pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_front</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">pop_front</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="keyword">typename</span> <a href="../metafunctions/pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_front</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">pop_front</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id575597"></a><p class="title"><b>Table<EFBFBD>1.70.<2E>Parameters</b></p> <a name="id575597"></a><p class="title"><b>Table<EFBFBD>1.70.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id827417"></a><p class="title"><b>Table<EFBFBD>1.70.<2E>Parameters</b></p>
=======
<a name="id790241"></a><p class="title"><b>Table<EFBFBD>1.74.<2E>Parameters</b></p>
=======
<a name="id782617"></a><p class="title"><b>Table<EFBFBD>1.74.<2E>Parameters</b></p>
=======
<a name="id805233"></a><p class="title"><b>Table&#160;1.74.&#160;Parameters</b></p>
=======
<a name="id793896"></a><p class="title"><b>Table&#160;1.74.&#160;Parameters</b></p>
=======
<a name="id790619"></a><p class="title"><b>Table&#160;1.74.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -79,18 +162,40 @@
</tr></tbody> </tr></tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.pop_front.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_front.expression_semantics"></a><h6>
<a name="id575701"></a> <a name="id575701"></a>
<a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.expression_semantics">Expression <a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.pop_front.expression_semantics"></a><h6>
<a name="id790702"></a>
<a class="link" href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">pop_front</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><a href="pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">pop_front</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>, all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
@ -98,29 +203,104 @@
same order as they were in <tt class="computeroutput"><span class="identifier">seq</span></tt>. same order as they were in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.pop_front.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_front.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id575820"></a> <a name="id575820"></a>
<a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.complexity">Complexity</a> <a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.complexity">Complexity</a>
=======
<a name="id827576"></a>
=======
<a name="id790427"></a>
=======
<a name="id782803"></a>
=======
<a name="id805419"></a>
=======
<a name="id794082"></a>
=======
<a name="id790805"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.pop_front.header"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_front.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id575848"></a> <a name="id575848"></a>
<a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.header">Header</a> <a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.header">Header</a>
=======
<a name="id827597"></a>
=======
<a name="id790449"></a>
=======
<a name="id782825"></a>
=======
<a name="id805441"></a>
=======
<a name="id794104"></a>
=======
<a name="id790827"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">pop_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">pop_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">pop_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">pop_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.pop_front.example"></a><h6> <a name="fusion.algorithm.transformation.functions.pop_front.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id576014"></a> <a name="id576014"></a>
<a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.example">Example</a> <a href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.example">Example</a>
=======
<a name="id827717"></a>
=======
<a name="id790569"></a>
=======
<a name="id782945"></a>
=======
<a name="id805561"></a>
=======
<a name="id794224"></a>
=======
<a name="id790947"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_front.html#fusion.algorithm.transformation.functions.pop_front.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">pop_front</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">));</span> <pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">pop_front</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">));</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>push_back</title> <title>push_back</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="pop_front.html" title="pop_front"> <link rel="previous" href="pop_front.html" title="pop_front">
<link rel="next" href="push_front.html" title="push_front"> <link rel="next" href="push_front.html" title="push_front">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.push_back.description"></a><h6> <a name="fusion.algorithm.transformation.functions.push_back.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id576190"></a> <a name="id576190"></a>
<a href="push_back.html#fusion.algorithm.transformation.functions.push_back.description">Description</a> <a href="push_back.html#fusion.algorithm.transformation.functions.push_back.description">Description</a>
=======
<a name="id827836"></a>
=======
<a name="id790688"></a>
=======
<a name="id783064"></a>
=======
<a name="id805680"></a>
=======
<a name="id794343"></a>
=======
<a name="id791066"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_back.html#fusion.algorithm.transformation.functions.push_back.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns a new sequence with an element added at the end. Returns a new sequence with an element added at the end.
</p> </p>
<a name="fusion.algorithm.transformation.functions.push_back.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.push_back.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id576220"></a> <a name="id576220"></a>
<a href="push_back.html#fusion.algorithm.transformation.functions.push_back.synopsis">Synopsis</a> <a href="push_back.html#fusion.algorithm.transformation.functions.push_back.synopsis">Synopsis</a>
=======
<a name="id827858"></a>
=======
<a name="id790709"></a>
=======
<a name="id783085"></a>
=======
<a name="id805701"></a>
=======
<a name="id794364"></a>
=======
<a name="id791087"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_back.html#fusion.algorithm.transformation.functions.push_back.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -48,8 +106,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id576426"></a><p class="title"><b>Table<EFBFBD>1.71.<2E>Parameters</b></p> <a name="id576426"></a><p class="title"><b>Table<EFBFBD>1.71.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id828006"></a><p class="title"><b>Table<EFBFBD>1.71.<2E>Parameters</b></p>
=======
<a name="id790857"></a><p class="title"><b>Table<EFBFBD>1.75.<2E>Parameters</b></p>
=======
<a name="id783233"></a><p class="title"><b>Table<EFBFBD>1.75.<2E>Parameters</b></p>
=======
<a name="id805849"></a><p class="title"><b>Table&#160;1.75.&#160;Parameters</b></p>
=======
<a name="id794512"></a><p class="title"><b>Table&#160;1.75.&#160;Parameters</b></p>
=======
<a name="id791235"></a><p class="title"><b>Table&#160;1.75.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -94,18 +177,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.push_back.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.push_back.expression_semantics"></a><h6>
<a name="id576567"></a> <a name="id576567"></a>
<a href="push_back.html#fusion.algorithm.transformation.functions.push_back.expression_semantics">Expression <a href="push_back.html#fusion.algorithm.transformation.functions.push_back.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.push_back.expression_semantics"></a><h6>
<a name="id791349"></a>
<a class="link" href="push_back.html#fusion.algorithm.transformation.functions.push_back.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="push_back.html" title="push_back"><tt class="computeroutput"><span class="identifier">push_back</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">t</span><span class="special">);</span> <pre class="programlisting"><a href="push_back.html" title="push_back"><tt class="computeroutput"><span class="identifier">push_back</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">t</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>, all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
@ -113,29 +218,104 @@
to the end. The elements are in the same order as they were in <tt class="computeroutput"><span class="identifier">seq</span></tt>. to the end. The elements are in the same order as they were in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.push_back.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.push_back.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id576708"></a> <a name="id576708"></a>
<a href="push_back.html#fusion.algorithm.transformation.functions.push_back.complexity">Complexity</a> <a href="push_back.html#fusion.algorithm.transformation.functions.push_back.complexity">Complexity</a>
=======
<a name="id828211"></a>
=======
<a name="id791090"></a>
=======
<a name="id783466"></a>
=======
<a name="id806082"></a>
=======
<a name="id794745"></a>
=======
<a name="id791468"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_back.html#fusion.algorithm.transformation.functions.push_back.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.push_back.header"></a><h6> <a name="fusion.algorithm.transformation.functions.push_back.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id576737"></a> <a name="id576737"></a>
<a href="push_back.html#fusion.algorithm.transformation.functions.push_back.header">Header</a> <a href="push_back.html#fusion.algorithm.transformation.functions.push_back.header">Header</a>
=======
<a name="id828232"></a>
=======
<a name="id791111"></a>
=======
<a name="id783487"></a>
=======
<a name="id806103"></a>
=======
<a name="id794766"></a>
=======
<a name="id791489"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_back.html#fusion.algorithm.transformation.functions.push_back.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">push_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">push_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">push_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">push_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.push_back.example"></a><h6> <a name="fusion.algorithm.transformation.functions.push_back.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id576904"></a> <a name="id576904"></a>
<a href="push_back.html#fusion.algorithm.transformation.functions.push_back.example">Example</a> <a href="push_back.html#fusion.algorithm.transformation.functions.push_back.example">Example</a>
=======
<a name="id828352"></a>
=======
<a name="id791231"></a>
=======
<a name="id783607"></a>
=======
<a name="id806223"></a>
=======
<a name="id794886"></a>
=======
<a name="id791609"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_back.html#fusion.algorithm.transformation.functions.push_back.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="push_back.html" title="push_back"><tt class="computeroutput"><span class="identifier">push_back</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">),</span><span class="number">4</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">,</span><span class="number">4</span><span class="special">));</span> <pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="push_back.html" title="push_back"><tt class="computeroutput"><span class="identifier">push_back</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">),</span><span class="number">4</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">,</span><span class="number">4</span><span class="special">));</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>push_front</title> <title>push_front</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="push_back.html" title="push_back"> <link rel="previous" href="push_back.html" title="push_back">
<link rel="next" href="../metafunctions.html" title="Metafunctions"> <link rel="next" href="../metafunctions.html" title="Metafunctions">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.push_front.description"></a><h6> <a name="fusion.algorithm.transformation.functions.push_front.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id577112"></a> <a name="id577112"></a>
<a href="push_front.html#fusion.algorithm.transformation.functions.push_front.description">Description</a> <a href="push_front.html#fusion.algorithm.transformation.functions.push_front.description">Description</a>
=======
<a name="id828490"></a>
=======
<a name="id791369"></a>
=======
<a name="id783745"></a>
=======
<a name="id806361"></a>
=======
<a name="id795024"></a>
=======
<a name="id791747"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_front.html#fusion.algorithm.transformation.functions.push_front.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns a new sequence with an element added at the beginning. Returns a new sequence with an element added at the beginning.
</p> </p>
<a name="fusion.algorithm.transformation.functions.push_front.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.push_front.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id577142"></a> <a name="id577142"></a>
<a href="push_front.html#fusion.algorithm.transformation.functions.push_front.synopsis">Synopsis</a> <a href="push_front.html#fusion.algorithm.transformation.functions.push_front.synopsis">Synopsis</a>
=======
<a name="id828510"></a>
=======
<a name="id791389"></a>
=======
<a name="id783764"></a>
=======
<a name="id806380"></a>
=======
<a name="id795043"></a>
=======
<a name="id791767"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_front.html#fusion.algorithm.transformation.functions.push_front.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -48,8 +106,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">t</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id577349"></a><p class="title"><b>Table<EFBFBD>1.72.<2E>Parameters</b></p> <a name="id577349"></a><p class="title"><b>Table<EFBFBD>1.72.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id828660"></a><p class="title"><b>Table<EFBFBD>1.72.<2E>Parameters</b></p>
=======
<a name="id791539"></a><p class="title"><b>Table<EFBFBD>1.76.<2E>Parameters</b></p>
=======
<a name="id783914"></a><p class="title"><b>Table<EFBFBD>1.76.<2E>Parameters</b></p>
=======
<a name="id806530"></a><p class="title"><b>Table&#160;1.76.&#160;Parameters</b></p>
=======
<a name="id795193"></a><p class="title"><b>Table&#160;1.76.&#160;Parameters</b></p>
=======
<a name="id791917"></a><p class="title"><b>Table&#160;1.76.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -94,18 +177,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.push_front.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.push_front.expression_semantics"></a><h6>
<a name="id577488"></a> <a name="id577488"></a>
<a href="push_front.html#fusion.algorithm.transformation.functions.push_front.expression_semantics">Expression <a href="push_front.html#fusion.algorithm.transformation.functions.push_front.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.push_front.expression_semantics"></a><h6>
<a name="id792029"></a>
<a class="link" href="push_front.html#fusion.algorithm.transformation.functions.push_front.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="push_back.html" title="push_back"><tt class="computeroutput"><span class="identifier">push_back</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">t</span><span class="special">);</span> <pre class="programlisting"><a href="push_back.html" title="push_back"><tt class="computeroutput"><span class="identifier">push_back</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">t</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>, all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
@ -114,29 +219,104 @@
<tt class="computeroutput"><span class="identifier">seq</span></tt>. <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.push_front.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.push_front.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id577629"></a> <a name="id577629"></a>
<a href="push_front.html#fusion.algorithm.transformation.functions.push_front.complexity">Complexity</a> <a href="push_front.html#fusion.algorithm.transformation.functions.push_front.complexity">Complexity</a>
=======
<a name="id828864"></a>
=======
<a name="id791770"></a>
=======
<a name="id784146"></a>
=======
<a name="id806762"></a>
=======
<a name="id795425"></a>
=======
<a name="id792148"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_front.html#fusion.algorithm.transformation.functions.push_front.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.push_front.header"></a><h6> <a name="fusion.algorithm.transformation.functions.push_front.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id577657"></a> <a name="id577657"></a>
<a href="push_front.html#fusion.algorithm.transformation.functions.push_front.header">Header</a> <a href="push_front.html#fusion.algorithm.transformation.functions.push_front.header">Header</a>
=======
<a name="id828885"></a>
=======
<a name="id791792"></a>
=======
<a name="id784168"></a>
=======
<a name="id806784"></a>
=======
<a name="id795447"></a>
=======
<a name="id792170"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_front.html#fusion.algorithm.transformation.functions.push_front.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">push_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">push_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">push_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">push_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.push_front.example"></a><h6> <a name="fusion.algorithm.transformation.functions.push_front.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id577824"></a> <a name="id577824"></a>
<a href="push_front.html#fusion.algorithm.transformation.functions.push_front.example">Example</a> <a href="push_front.html#fusion.algorithm.transformation.functions.push_front.example">Example</a>
=======
<a name="id829005"></a>
=======
<a name="id791912"></a>
=======
<a name="id784288"></a>
=======
<a name="id806904"></a>
=======
<a name="id795567"></a>
=======
<a name="id792290"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_front.html#fusion.algorithm.transformation.functions.push_front.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="push_front.html" title="push_front"><tt class="computeroutput"><span class="identifier">push_front</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">),</span><span class="number">0</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">0</span><span class="special">,</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">));</span> <pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="push_front.html" title="push_front"><tt class="computeroutput"><span class="identifier">push_front</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">),</span><span class="number">0</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">0</span><span class="special">,</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">));</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>remove</title> <title>remove</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="replace_if.html" title="replace_if"> <link rel="previous" href="replace_if.html" title="replace_if">
<link rel="next" href="remove_if.html" title="remove_if"> <link rel="next" href="remove_if.html" title="remove_if">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.remove.description"></a><h6> <a name="fusion.algorithm.transformation.functions.remove.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id564084"></a> <a name="id564084"></a>
<a href="remove.html#fusion.algorithm.transformation.functions.remove.description">Description</a> <a href="remove.html#fusion.algorithm.transformation.functions.remove.description">Description</a>
=======
<a name="id817028"></a>
=======
<a name="id778699"></a>
=======
<a name="id771075"></a>
=======
<a name="id794754"></a>
=======
<a name="id783417"></a>
=======
<a name="id780140"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove.html#fusion.algorithm.transformation.functions.remove.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns a new sequence, with all the elements of the original sequence, Returns a new sequence, with all the elements of the original sequence,
except those of a given type. except those of a given type.
</p> </p>
<a name="fusion.algorithm.transformation.functions.remove.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.remove.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id564115"></a> <a name="id564115"></a>
<a href="remove.html#fusion.algorithm.transformation.functions.remove.synopsis">Synopsis</a> <a href="remove.html#fusion.algorithm.transformation.functions.remove.synopsis">Synopsis</a>
=======
<a name="id817050"></a>
=======
<a name="id778720"></a>
=======
<a name="id771096"></a>
=======
<a name="id794776"></a>
=======
<a name="id783439"></a>
=======
<a name="id780162"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove.html#fusion.algorithm.transformation.functions.remove.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span>
@ -48,8 +106,33 @@
<span class="keyword">typename</span> <a href="../metafunctions/remove.html" title="remove"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">remove</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">replace</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="keyword">typename</span> <a href="../metafunctions/remove.html" title="remove"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">remove</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">replace</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id564298"></a><p class="title"><b>Table<EFBFBD>1.59.<2E>Parameters</b></p> <a name="id564298"></a><p class="title"><b>Table<EFBFBD>1.59.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id817179"></a><p class="title"><b>Table<EFBFBD>1.59.<2E>Parameters</b></p>
=======
<a name="id778850"></a><p class="title"><b>Table<EFBFBD>1.63.<2E>Parameters</b></p>
=======
<a name="id771226"></a><p class="title"><b>Table<EFBFBD>1.63.<2E>Parameters</b></p>
=======
<a name="id794905"></a><p class="title"><b>Table&#160;1.63.&#160;Parameters</b></p>
=======
<a name="id783568"></a><p class="title"><b>Table&#160;1.63.&#160;Parameters</b></p>
=======
<a name="id780292"></a><p class="title"><b>Table&#160;1.63.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -94,18 +177,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.remove.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.remove.expression_semantics"></a><h6>
<a name="id564434"></a> <a name="id564434"></a>
<a href="remove.html#fusion.algorithm.transformation.functions.remove.expression_semantics">Expression <a href="remove.html#fusion.algorithm.transformation.functions.remove.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.remove.expression_semantics"></a><h6>
<a name="id780404"></a>
<a class="link" href="remove.html#fusion.algorithm.transformation.functions.remove.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="remove.html" title="remove"><tt class="computeroutput"><span class="identifier">remove</span></tt></a><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><a href="remove.html" title="remove"><tt class="computeroutput"><span class="identifier">remove</span></tt></a><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>, all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
@ -113,22 +218,97 @@
Equivalent to <tt class="computeroutput"><a href="remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">remove_if</span></tt></a><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><span class="identifier">_</span><span class="special">,</span><span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span></tt>. Equivalent to <tt class="computeroutput"><a href="remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">remove_if</span></tt></a><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><span class="identifier">_</span><span class="special">,</span><span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.remove.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.remove.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id564647"></a> <a name="id564647"></a>
<a href="remove.html#fusion.algorithm.transformation.functions.remove.complexity">Complexity</a> <a href="remove.html#fusion.algorithm.transformation.functions.remove.complexity">Complexity</a>
=======
<a name="id817432"></a>
=======
<a name="id779131"></a>
=======
<a name="id771507"></a>
=======
<a name="id795186"></a>
=======
<a name="id783849"></a>
=======
<a name="id780572"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove.html#fusion.algorithm.transformation.functions.remove.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.remove.header"></a><h6> <a name="fusion.algorithm.transformation.functions.remove.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id564677"></a> <a name="id564677"></a>
<a href="remove.html#fusion.algorithm.transformation.functions.remove.header">Header</a> <a href="remove.html#fusion.algorithm.transformation.functions.remove.header">Header</a>
=======
<a name="id817452"></a>
=======
<a name="id779150"></a>
=======
<a name="id771526"></a>
=======
<a name="id795205"></a>
=======
<a name="id783868"></a>
=======
<a name="id780592"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove.html#fusion.algorithm.transformation.functions.remove.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">remove</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">remove</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">remove</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">remove</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.remove.example"></a><h6> <a name="fusion.algorithm.transformation.functions.remove.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id564843"></a> <a name="id564843"></a>
<a href="remove.html#fusion.algorithm.transformation.functions.remove.example">Example</a> <a href="remove.html#fusion.algorithm.transformation.functions.remove.example">Example</a>
=======
<a name="id817569"></a>
=======
<a name="id779268"></a>
=======
<a name="id771643"></a>
=======
<a name="id795323"></a>
=======
<a name="id783986"></a>
=======
<a name="id780709"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove.html#fusion.algorithm.transformation.functions.remove.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2.0</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2.0</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><a href="remove.html" title="remove"><tt class="computeroutput"><span class="identifier">remove</span></tt></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">));</span> <span class="identifier">assert</span><span class="special">(</span><a href="remove.html" title="remove"><tt class="computeroutput"><span class="identifier">remove</span></tt></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">));</span>
@ -136,7 +316,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>remove_if</title> <title>remove_if</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="remove.html" title="remove"> <link rel="previous" href="remove.html" title="remove">
<link rel="next" href="reverse.html" title="reverse"> <link rel="next" href="reverse.html" title="reverse">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.remove_if.description"></a><h6> <a name="fusion.algorithm.transformation.functions.remove_if.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id565058"></a> <a name="id565058"></a>
<a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.description">Description</a> <a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.description">Description</a>
=======
<a name="id817717"></a>
=======
<a name="id779415"></a>
=======
<a name="id771791"></a>
=======
<a name="id795470"></a>
=======
<a name="id784134"></a>
=======
<a name="id780857"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns a new sequence, containing all the elements of the original except Returns a new sequence, containing all the elements of the original except
those where a given unary function object evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>. those where a given unary function object evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.remove_if.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.remove_if.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id565101"></a> <a name="id565101"></a>
<a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.synopsis">Synopsis</a> <a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.synopsis">Synopsis</a>
=======
<a name="id817746"></a>
=======
<a name="id779444"></a>
=======
<a name="id771820"></a>
=======
<a name="id795499"></a>
=======
<a name="id784162"></a>
=======
<a name="id780886"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Pred</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Pred</span><span class="special">,</span>
@ -48,8 +106,33 @@
<span class="keyword">typename</span> <a href="../metafunctions/remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">remove_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">remove_if</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="keyword">typename</span> <a href="../metafunctions/remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">remove_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">remove_if</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id565283"></a><p class="title"><b>Table<EFBFBD>1.60.<2E>Parameters</b></p> <a name="id565283"></a><p class="title"><b>Table<EFBFBD>1.60.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id817875"></a><p class="title"><b>Table<EFBFBD>1.60.<2E>Parameters</b></p>
=======
<a name="id779574"></a><p class="title"><b>Table<EFBFBD>1.64.<2E>Parameters</b></p>
=======
<a name="id771949"></a><p class="title"><b>Table<EFBFBD>1.64.<2E>Parameters</b></p>
=======
<a name="id795629"></a><p class="title"><b>Table&#160;1.64.&#160;Parameters</b></p>
=======
<a name="id784292"></a><p class="title"><b>Table&#160;1.64.&#160;Parameters</b></p>
=======
<a name="id781015"></a><p class="title"><b>Table&#160;1.64.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -95,18 +178,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.remove_if.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.remove_if.expression_semantics"></a><h6>
<a name="id565430"></a> <a name="id565430"></a>
<a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.expression_semantics">Expression <a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.remove_if.expression_semantics"></a><h6>
<a name="id781133"></a>
<a class="link" href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">remove_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Pred</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><a href="remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">remove_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Pred</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>, all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
@ -115,22 +220,97 @@
<span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span></tt>. <span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">)</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.remove_if.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.remove_if.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id565675"></a> <a name="id565675"></a>
<a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.complexity">Complexity</a> <a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.complexity">Complexity</a>
=======
<a name="id818154"></a>
=======
<a name="id779880"></a>
=======
<a name="id772255"></a>
=======
<a name="id795935"></a>
=======
<a name="id784598"></a>
=======
<a name="id781321"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.remove_if.header"></a><h6> <a name="fusion.algorithm.transformation.functions.remove_if.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id565703"></a> <a name="id565703"></a>
<a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.header">Header</a> <a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.header">Header</a>
=======
<a name="id818175"></a>
=======
<a name="id779901"></a>
=======
<a name="id772277"></a>
=======
<a name="id795956"></a>
=======
<a name="id784620"></a>
=======
<a name="id781343"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">remove_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">remove_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">remove_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">remove_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.remove_if.example"></a><h6> <a name="fusion.algorithm.transformation.functions.remove_if.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id565870"></a> <a name="id565870"></a>
<a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.example">Example</a> <a href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.example">Example</a>
=======
<a name="id818295"></a>
=======
<a name="id780021"></a>
=======
<a name="id772397"></a>
=======
<a name="id796076"></a>
=======
<a name="id784740"></a>
=======
<a name="id781463"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove_if.html#fusion.algorithm.transformation.functions.remove_if.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2.0</span><span class="special">);</span> <pre class="programlisting"><span class="keyword">const</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2.0</span><span class="special">);</span>
<span class="identifier">assert</span><span class="special">(</span><a href="remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">remove_if</span></tt></a><span class="special">&lt;</span><span class="identifier">is_floating_point</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">));</span> <span class="identifier">assert</span><span class="special">(</span><a href="remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">remove_if</span></tt></a><span class="special">&lt;</span><span class="identifier">is_floating_point</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">vec</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">));</span>
@ -138,7 +318,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>replace</title> <title>replace</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="transform.html" title="transform"> <link rel="previous" href="transform.html" title="transform">
<link rel="next" href="replace_if.html" title="replace_if"> <link rel="next" href="replace_if.html" title="replace_if">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.replace.description"></a><h6> <a name="fusion.algorithm.transformation.functions.replace.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id561799"></a> <a name="id561799"></a>
<a href="replace.html#fusion.algorithm.transformation.functions.replace.description">Description</a> <a href="replace.html#fusion.algorithm.transformation.functions.replace.description">Description</a>
=======
<a name="id814297"></a>
=======
<a name="id775968"></a>
=======
<a name="id768344"></a>
=======
<a name="id790931"></a>
=======
<a name="id779594"></a>
=======
<a name="id776317"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace.html#fusion.algorithm.transformation.functions.replace.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Replaces each value within a sequence of a given type and value with Replaces each value within a sequence of a given type and value with
a new value. a new value.
</p> </p>
<a name="fusion.algorithm.transformation.functions.replace.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.replace.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id561830"></a> <a name="id561830"></a>
<a href="replace.html#fusion.algorithm.transformation.functions.replace.synopsis">Synopsis</a> <a href="replace.html#fusion.algorithm.transformation.functions.replace.synopsis">Synopsis</a>
=======
<a name="id814319"></a>
=======
<a name="id775990"></a>
=======
<a name="id768365"></a>
=======
<a name="id790953"></a>
=======
<a name="id779616"></a>
=======
<a name="id776339"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace.html#fusion.algorithm.transformation.functions.replace.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -49,8 +107,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">old_value</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">new_value</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">old_value</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">new_value</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id562071"></a><p class="title"><b>Table<EFBFBD>1.57.<2E>Parameters</b></p> <a name="id562071"></a><p class="title"><b>Table<EFBFBD>1.57.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id814493"></a><p class="title"><b>Table<EFBFBD>1.57.<2E>Parameters</b></p>
=======
<a name="id776164"></a><p class="title"><b>Table<EFBFBD>1.61.<2E>Parameters</b></p>
=======
<a name="id768539"></a><p class="title"><b>Table<EFBFBD>1.61.<2E>Parameters</b></p>
=======
<a name="id791127"></a><p class="title"><b>Table&#160;1.61.&#160;Parameters</b></p>
=======
<a name="id779790"></a><p class="title"><b>Table&#160;1.61.&#160;Parameters</b></p>
=======
<a name="id776513"></a><p class="title"><b>Table&#160;1.61.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -110,9 +193,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.replace.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.replace.expression_semantics"></a><h6>
<a name="id562318"></a> <a name="id562318"></a>
<a href="replace.html#fusion.algorithm.transformation.functions.replace.expression_semantics">Expression <a href="replace.html#fusion.algorithm.transformation.functions.replace.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.replace.expression_semantics"></a><h6>
<a name="id776702"></a>
<a class="link" href="replace.html#fusion.algorithm.transformation.functions.replace.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="replace.html" title="replace"><tt class="computeroutput"><span class="identifier">replace</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">old_value</span><span class="special">,</span> <span class="identifier">new_value</span><span class="special">);</span> <pre class="programlisting"><a href="replace.html" title="replace"><tt class="computeroutput"><span class="identifier">replace</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">old_value</span><span class="special">,</span> <span class="identifier">new_value</span><span class="special">);</span>
@ -129,29 +218,104 @@
to elements with the same type and equal to <tt class="computeroutput"><span class="identifier">old_value</span></tt>. to elements with the same type and equal to <tt class="computeroutput"><span class="identifier">old_value</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.replace.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.replace.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id562472"></a> <a name="id562472"></a>
<a href="replace.html#fusion.algorithm.transformation.functions.replace.complexity">Complexity</a> <a href="replace.html#fusion.algorithm.transformation.functions.replace.complexity">Complexity</a>
=======
<a name="id814783"></a>
=======
<a name="id776454"></a>
=======
<a name="id768830"></a>
=======
<a name="id791417"></a>
=======
<a name="id780080"></a>
=======
<a name="id776803"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace.html#fusion.algorithm.transformation.functions.replace.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.replace.header"></a><h6> <a name="fusion.algorithm.transformation.functions.replace.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id562502"></a> <a name="id562502"></a>
<a href="replace.html#fusion.algorithm.transformation.functions.replace.header">Header</a> <a href="replace.html#fusion.algorithm.transformation.functions.replace.header">Header</a>
=======
<a name="id814805"></a>
=======
<a name="id776476"></a>
=======
<a name="id768851"></a>
=======
<a name="id791439"></a>
=======
<a name="id780102"></a>
=======
<a name="id776825"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace.html#fusion.algorithm.transformation.functions.replace.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">replace</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">replace</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">replace</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">replace</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.replace.example"></a><h6> <a name="fusion.algorithm.transformation.functions.replace.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id562668"></a> <a name="id562668"></a>
<a href="replace.html#fusion.algorithm.transformation.functions.replace.example">Example</a> <a href="replace.html#fusion.algorithm.transformation.functions.replace.example">Example</a>
=======
<a name="id814925"></a>
=======
<a name="id776596"></a>
=======
<a name="id768971"></a>
=======
<a name="id791559"></a>
=======
<a name="id780222"></a>
=======
<a name="id776945"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace.html#fusion.algorithm.transformation.functions.replace.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="replace.html" title="replace"><tt class="computeroutput"><span class="identifier">replace</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">),</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">3</span><span class="special">));</span> <pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="replace.html" title="replace"><tt class="computeroutput"><span class="identifier">replace</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">),</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">)</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">3</span><span class="special">));</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>replace_if</title> <title>replace_if</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="replace.html" title="replace"> <link rel="previous" href="replace.html" title="replace">
<link rel="next" href="remove.html" title="remove"> <link rel="next" href="remove.html" title="remove">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.replace_if.description"></a><h6> <a name="fusion.algorithm.transformation.functions.replace_if.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id562860"></a> <a name="id562860"></a>
<a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.description">Description</a> <a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.description">Description</a>
=======
<a name="id815051"></a>
=======
<a name="id776722"></a>
=======
<a name="id769097"></a>
=======
<a name="id791685"></a>
=======
<a name="id780348"></a>
=======
<a name="id777071"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Replaces each element of a given sequence for which an unary function Replaces each element of a given sequence for which an unary function
@ -39,8 +72,33 @@
replaced with a new value. replaced with a new value.
</p> </p>
<a name="fusion.algorithm.transformation.functions.replace_if.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.replace_if.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id562902"></a> <a name="id562902"></a>
<a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.synopsis">Synopsis</a> <a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.synopsis">Synopsis</a>
=======
<a name="id815077"></a>
=======
<a name="id776748"></a>
=======
<a name="id769124"></a>
=======
<a name="id791711"></a>
=======
<a name="id780374"></a>
=======
<a name="id777097"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -50,8 +108,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">new_value</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">new_value</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id563158"></a><p class="title"><b>Table<EFBFBD>1.58.<2E>Parameters</b></p> <a name="id563158"></a><p class="title"><b>Table<EFBFBD>1.58.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id815266"></a><p class="title"><b>Table<EFBFBD>1.58.<2E>Parameters</b></p>
=======
<a name="id776936"></a><p class="title"><b>Table<EFBFBD>1.62.<2E>Parameters</b></p>
=======
<a name="id769312"></a><p class="title"><b>Table<EFBFBD>1.62.<2E>Parameters</b></p>
=======
<a name="id791899"></a><p class="title"><b>Table&#160;1.62.&#160;Parameters</b></p>
=======
<a name="id780562"></a><p class="title"><b>Table&#160;1.62.&#160;Parameters</b></p>
=======
<a name="id777286"></a><p class="title"><b>Table&#160;1.62.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -109,9 +192,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.replace_if.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.replace_if.expression_semantics"></a><h6>
<a name="id563396"></a> <a name="id563396"></a>
<a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.expression_semantics">Expression <a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.replace_if.expression_semantics"></a><h6>
<a name="id779656"></a>
<a class="link" href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">replace_if</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">new_value</span><span class="special">);</span> <pre class="programlisting"><a href="replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">replace_if</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">new_value</span><span class="special">);</span>
@ -129,22 +218,97 @@
evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>. evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.replace_if.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.replace_if.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id563560"></a> <a name="id563560"></a>
<a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.complexity">Complexity</a> <a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.complexity">Complexity</a>
=======
<a name="id815558"></a>
=======
<a name="id778322"></a>
=======
<a name="id770698"></a>
=======
<a name="id794377"></a>
=======
<a name="id783040"></a>
=======
<a name="id779764"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.replace_if.header"></a><h6> <a name="fusion.algorithm.transformation.functions.replace_if.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id563587"></a> <a name="id563587"></a>
<a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.header">Header</a> <a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.header">Header</a>
=======
<a name="id815580"></a>
=======
<a name="id778344"></a>
=======
<a name="id770719"></a>
=======
<a name="id794399"></a>
=======
<a name="id783062"></a>
=======
<a name="id779785"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">replace_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">replace_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">replace_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">replace_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.replace_if.example"></a><h6> <a name="fusion.algorithm.transformation.functions.replace_if.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id563754"></a> <a name="id563754"></a>
<a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.example">Example</a> <a href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.example">Example</a>
=======
<a name="id815700"></a>
=======
<a name="id778464"></a>
=======
<a name="id770839"></a>
=======
<a name="id794519"></a>
=======
<a name="id783182"></a>
=======
<a name="id779905"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace_if.html#fusion.algorithm.transformation.functions.replace_if.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">odd</span> <pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">odd</span>
<span class="special">{</span> <span class="special">{</span>
@ -160,7 +324,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>reverse</title> <title>reverse</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="remove_if.html" title="remove_if"> <link rel="previous" href="remove_if.html" title="remove_if">
<link rel="next" href="clear.html" title="clear"> <link rel="next" href="clear.html" title="clear">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.reverse.description"></a><h6> <a name="fusion.algorithm.transformation.functions.reverse.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id566112"></a> <a name="id566112"></a>
<a href="reverse.html#fusion.algorithm.transformation.functions.reverse.description">Description</a> <a href="reverse.html#fusion.algorithm.transformation.functions.reverse.description">Description</a>
=======
<a name="id818462"></a>
=======
<a name="id780188"></a>
=======
<a name="id772564"></a>
=======
<a name="id796243"></a>
=======
<a name="id784906"></a>
=======
<a name="id781630"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="reverse.html#fusion.algorithm.transformation.functions.reverse.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns a new sequence with the elements of the original in reverse order. Returns a new sequence with the elements of the original in reverse order.
</p> </p>
<a name="fusion.algorithm.transformation.functions.reverse.synposis"></a><h6> <a name="fusion.algorithm.transformation.functions.reverse.synposis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id566141"></a> <a name="id566141"></a>
<a href="reverse.html#fusion.algorithm.transformation.functions.reverse.synposis">Synposis</a> <a href="reverse.html#fusion.algorithm.transformation.functions.reverse.synposis">Synposis</a>
=======
<a name="id818484"></a>
=======
<a name="id780210"></a>
=======
<a name="id772585"></a>
=======
<a name="id796265"></a>
=======
<a name="id784928"></a>
=======
<a name="id781651"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="reverse.html#fusion.algorithm.transformation.functions.reverse.synposis">Synposis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span>
@ -46,8 +104,33 @@
<span class="keyword">typename</span> <a href="../metafunctions/reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">reverse</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">reverse</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="keyword">typename</span> <a href="../metafunctions/reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">reverse</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">reverse</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id566294"></a><p class="title"><b>Table<EFBFBD>1.61.<2E>Parameters</b></p> <a name="id566294"></a><p class="title"><b>Table<EFBFBD>1.61.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id818592"></a><p class="title"><b>Table<EFBFBD>1.61.<2E>Parameters</b></p>
=======
<a name="id780318"></a><p class="title"><b>Table<EFBFBD>1.65.<2E>Parameters</b></p>
=======
<a name="id772693"></a><p class="title"><b>Table<EFBFBD>1.65.<2E>Parameters</b></p>
=======
<a name="id796373"></a><p class="title"><b>Table&#160;1.65.&#160;Parameters</b></p>
=======
<a name="id785036"></a><p class="title"><b>Table&#160;1.65.&#160;Parameters</b></p>
=======
<a name="id781760"></a><p class="title"><b>Table&#160;1.65.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -79,47 +162,149 @@
</tr></tbody> </tr></tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.reverse.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.reverse.expression_semantics"></a><h6>
<a name="id566398"></a> <a name="id566398"></a>
<a href="reverse.html#fusion.algorithm.transformation.functions.reverse.expression_semantics">Expression <a href="reverse.html#fusion.algorithm.transformation.functions.reverse.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.reverse.expression_semantics"></a><h6>
<a name="id781842"></a>
<a class="link" href="reverse.html#fusion.algorithm.transformation.functions.reverse.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">reverse</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><a href="reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">reverse</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional
Sequence">Bidirectional Sequence">Bidirectional
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional
Sequence</a> else, <a class="link" href="../../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence containing
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt> all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>
in reverse order. in reverse order.
</p> </p>
<a name="fusion.algorithm.transformation.functions.reverse.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.reverse.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id566502"></a> <a name="id566502"></a>
<a href="reverse.html#fusion.algorithm.transformation.functions.reverse.complexity">Complexity</a> <a href="reverse.html#fusion.algorithm.transformation.functions.reverse.complexity">Complexity</a>
=======
<a name="id818743"></a>
=======
<a name="id780565"></a>
=======
<a name="id772941"></a>
=======
<a name="id796581"></a>
=======
<a name="id785244"></a>
=======
<a name="id781967"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="reverse.html#fusion.algorithm.transformation.functions.reverse.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.reverse.header"></a><h6> <a name="fusion.algorithm.transformation.functions.reverse.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id566531"></a> <a name="id566531"></a>
<a href="reverse.html#fusion.algorithm.transformation.functions.reverse.header">Header</a> <a href="reverse.html#fusion.algorithm.transformation.functions.reverse.header">Header</a>
=======
<a name="id818764"></a>
=======
<a name="id780587"></a>
=======
<a name="id772963"></a>
=======
<a name="id796603"></a>
=======
<a name="id785266"></a>
=======
<a name="id781989"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="reverse.html#fusion.algorithm.transformation.functions.reverse.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">reverse</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">reverse</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">reverse</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">reverse</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.reverse.example"></a><h6> <a name="fusion.algorithm.transformation.functions.reverse.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id566697"></a> <a name="id566697"></a>
<a href="reverse.html#fusion.algorithm.transformation.functions.reverse.example">Example</a> <a href="reverse.html#fusion.algorithm.transformation.functions.reverse.example">Example</a>
=======
<a name="id818884"></a>
=======
<a name="id780707"></a>
=======
<a name="id773083"></a>
=======
<a name="id796723"></a>
=======
<a name="id785386"></a>
=======
<a name="id782109"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="reverse.html#fusion.algorithm.transformation.functions.reverse.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">reverse</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">3</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">1</span><span class="special">));</span> <pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span><a href="reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">reverse</span></tt></a><span class="special">(</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">))</span> <span class="special">==</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">3</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">1</span><span class="special">));</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>transform</title> <title>transform</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="filter_if.html" title="filter_if"> <link rel="previous" href="filter_if.html" title="filter_if">
<link rel="next" href="replace.html" title="replace"> <link rel="next" href="replace.html" title="replace">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.transform.description"></a><h6> <a name="fusion.algorithm.transformation.functions.transform.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id559775"></a> <a name="id559775"></a>
<a href="transform.html#fusion.algorithm.transformation.functions.transform.description">Description</a> <a href="transform.html#fusion.algorithm.transformation.functions.transform.description">Description</a>
=======
<a name="id812584"></a>
=======
<a name="id773435"></a>
=======
<a name="id765811"></a>
=======
<a name="id789490"></a>
=======
<a name="id778154"></a>
=======
<a name="id774877"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.functions.transform.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and
@ -41,8 +74,33 @@
of <tt class="computeroutput"><span class="identifier">seq</span></tt>. of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.transform.unary_version_synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.transform.unary_version_synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id559891"></a> <a name="id559891"></a>
<a href="transform.html#fusion.algorithm.transformation.functions.transform.unary_version_synopsis">Unary <a href="transform.html#fusion.algorithm.transformation.functions.transform.unary_version_synopsis">Unary
=======
<a name="id812657"></a>
=======
<a name="id773508"></a>
=======
<a name="id765884"></a>
=======
<a name="id789564"></a>
=======
<a name="id778227"></a>
=======
<a name="id774950"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.functions.transform.unary_version_synopsis">Unary
>>>>>>> .merge-right.r57125
version synopsis</a> version synopsis</a>
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -53,8 +111,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id560094"></a><p class="title"><b>Table<EFBFBD>1.55.<2E>Parameters</b></p> <a name="id560094"></a><p class="title"><b>Table<EFBFBD>1.55.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id812798"></a><p class="title"><b>Table<EFBFBD>1.55.<2E>Parameters</b></p>
=======
<a name="id773650"></a><p class="title"><b>Table<EFBFBD>1.59.<2E>Parameters</b></p>
=======
<a name="id766026"></a><p class="title"><b>Table<EFBFBD>1.59.<2E>Parameters</b></p>
=======
<a name="id789705"></a><p class="title"><b>Table&#160;1.59.&#160;Parameters</b></p>
=======
<a name="id778368"></a><p class="title"><b>Table&#160;1.59.&#160;Parameters</b></p>
=======
<a name="id775092"></a><p class="title"><b>Table&#160;1.59.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -102,9 +185,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.transform.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.transform.expression_semantics"></a><h6>
<a name="id560365"></a> <a name="id560365"></a>
<a href="transform.html#fusion.algorithm.transformation.functions.transform.expression_semantics">Expression <a href="transform.html#fusion.algorithm.transformation.functions.transform.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.transform.expression_semantics"></a><h6>
<a name="id775295"></a>
<a class="link" href="transform.html#fusion.algorithm.transformation.functions.transform.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="transform.html" title="transform"><tt class="computeroutput"><span class="identifier">transform</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span> <pre class="programlisting"><a href="transform.html" title="transform"><tt class="computeroutput"><span class="identifier">transform</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span>
@ -120,8 +209,33 @@
within <tt class="computeroutput"><span class="identifier">seq</span></tt>. within <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.functions.transform.binary_version_synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.transform.binary_version_synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id560521"></a> <a name="id560521"></a>
<a href="transform.html#fusion.algorithm.transformation.functions.transform.binary_version_synopsis">Binary <a href="transform.html#fusion.algorithm.transformation.functions.transform.binary_version_synopsis">Binary
=======
<a name="id813101"></a>
=======
<a name="id775045"></a>
=======
<a name="id767421"></a>
=======
<a name="id790008"></a>
=======
<a name="id778671"></a>
=======
<a name="id775394"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.functions.transform.binary_version_synopsis">Binary
>>>>>>> .merge-right.r57125
version synopsis</a> version synopsis</a>
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -133,8 +247,33 @@
<span class="identifier">Sequence1</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">Sequence2</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq2</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence1</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">Sequence2</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq2</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id560785"></a><p class="title"><b>Table<EFBFBD>1.56.<2E>Parameters</b></p> <a name="id560785"></a><p class="title"><b>Table<EFBFBD>1.56.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id813290"></a><p class="title"><b>Table<EFBFBD>1.56.<2E>Parameters</b></p>
=======
<a name="id775235"></a><p class="title"><b>Table<EFBFBD>1.60.<2E>Parameters</b></p>
=======
<a name="id767611"></a><p class="title"><b>Table<EFBFBD>1.60.<2E>Parameters</b></p>
=======
<a name="id790198"></a><p class="title"><b>Table&#160;1.60.&#160;Parameters</b></p>
=======
<a name="id778861"></a><p class="title"><b>Table&#160;1.60.&#160;Parameters</b></p>
=======
<a name="id775584"></a><p class="title"><b>Table&#160;1.60.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -207,22 +346,97 @@
within <tt class="computeroutput"><span class="identifier">seq1</span></tt> and <tt class="computeroutput"><span class="identifier">seq2</span></tt> respectively. within <tt class="computeroutput"><span class="identifier">seq1</span></tt> and <tt class="computeroutput"><span class="identifier">seq2</span></tt> respectively.
</p> </p>
<a name="fusion.algorithm.transformation.functions.transform.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.transform.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id561272"></a> <a name="id561272"></a>
<a href="transform.html#fusion.algorithm.transformation.functions.transform.complexity">Complexity</a> <a href="transform.html#fusion.algorithm.transformation.functions.transform.complexity">Complexity</a>
=======
<a name="id813917"></a>
=======
<a name="id775588"></a>
=======
<a name="id767963"></a>
=======
<a name="id790551"></a>
=======
<a name="id779214"></a>
=======
<a name="id775937"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.functions.transform.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.transform.header"></a><h6> <a name="fusion.algorithm.transformation.functions.transform.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id561300"></a> <a name="id561300"></a>
<a href="transform.html#fusion.algorithm.transformation.functions.transform.header">Header</a> <a href="transform.html#fusion.algorithm.transformation.functions.transform.header">Header</a>
=======
<a name="id813938"></a>
=======
<a name="id775609"></a>
=======
<a name="id767985"></a>
=======
<a name="id790572"></a>
=======
<a name="id779235"></a>
=======
<a name="id775958"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.functions.transform.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">transform</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">transform</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">transform</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">transform</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.transform.example"></a><h6> <a name="fusion.algorithm.transformation.functions.transform.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id561466"></a> <a name="id561466"></a>
<a href="transform.html#fusion.algorithm.transformation.functions.transform.example">Example</a> <a href="transform.html#fusion.algorithm.transformation.functions.transform.example">Example</a>
=======
<a name="id814058"></a>
=======
<a name="id775729"></a>
=======
<a name="id768105"></a>
=======
<a name="id790692"></a>
=======
<a name="id779355"></a>
=======
<a name="id776078"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.functions.transform.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">triple</span> <pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">triple</span>
<span class="special">{</span> <span class="special">{</span>
@ -239,7 +453,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>zip</title> <title>zip</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="join.html" title="join"> <link rel="previous" href="join.html" title="join">
<link rel="next" href="pop_back.html" title="pop_back"> <link rel="next" href="pop_back.html" title="pop_back">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.functions.zip.description"></a><h6> <a name="fusion.algorithm.transformation.functions.zip.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id573361"></a> <a name="id573361"></a>
<a href="zip.html#fusion.algorithm.transformation.functions.zip.description">Description</a> <a href="zip.html#fusion.algorithm.transformation.functions.zip.description">Description</a>
=======
<a name="id825843"></a>
=======
<a name="id787000"></a>
=======
<a name="id779376"></a>
=======
<a name="id803084"></a>
=======
<a name="id791474"></a>
=======
<a name="id788198"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="zip.html#fusion.algorithm.transformation.functions.zip.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Zips sequences together to form a single sequence, whos members are tuples Zips sequences together to form a single sequence, whos members are tuples
of the members of the component sequences. of the members of the component sequences.
</p> </p>
<a name="fusion.algorithm.transformation.functions.zip.synopsis"></a><h6> <a name="fusion.algorithm.transformation.functions.zip.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id573392"></a> <a name="id573392"></a>
<a href="zip.html#fusion.algorithm.transformation.functions.zip.synopsis">Synopsis</a> <a href="zip.html#fusion.algorithm.transformation.functions.zip.synopsis">Synopsis</a>
=======
<a name="id825862"></a>
=======
<a name="id787020"></a>
=======
<a name="id779395"></a>
=======
<a name="id803104"></a>
=======
<a name="id791494"></a>
=======
<a name="id788217"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="zip.html#fusion.algorithm.transformation.functions.zip.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence1</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="identifier">zip</span><span class="special">(</span><span class="identifier">Sequence1</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">Sequence2</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq2</span><span class="special">,</span> <span class="special">...</span> <span class="identifier">SequenceN</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seqN</span><span class="special">);</span> <span class="identifier">zip</span><span class="special">(</span><span class="identifier">Sequence1</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">Sequence2</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq2</span><span class="special">,</span> <span class="special">...</span> <span class="identifier">SequenceN</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seqN</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id573673"></a><p class="title"><b>Table<EFBFBD>1.68.<2E>Parameters</b></p> <a name="id573673"></a><p class="title"><b>Table<EFBFBD>1.68.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id826064"></a><p class="title"><b>Table<EFBFBD>1.68.<2E>Parameters</b></p>
=======
<a name="id787221"></a><p class="title"><b>Table<EFBFBD>1.72.<2E>Parameters</b></p>
=======
<a name="id779597"></a><p class="title"><b>Table<EFBFBD>1.72.<2E>Parameters</b></p>
=======
<a name="id803305"></a><p class="title"><b>Table&#160;1.72.&#160;Parameters</b></p>
=======
<a name="id791695"></a><p class="title"><b>Table&#160;1.72.&#160;Parameters</b></p>
=======
<a name="id788418"></a><p class="title"><b>Table&#160;1.72.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -84,9 +167,15 @@
</tr></tbody> </tr></tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.functions.zip.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.functions.zip.expression_semantics"></a><h6>
<a name="id573789"></a> <a name="id573789"></a>
<a href="zip.html#fusion.algorithm.transformation.functions.zip.expression_semantics">Expression <a href="zip.html#fusion.algorithm.transformation.functions.zip.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.functions.zip.expression_semantics"></a><h6>
<a name="id788508"></a>
<a class="link" href="zip.html#fusion.algorithm.transformation.functions.zip.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="zip.html" title="zip"><tt class="computeroutput"><span class="identifier">zip</span></tt></a><span class="special">(</span><span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">seq2</span><span class="special">,</span> <span class="special">...</span> <span class="identifier">seqN</span><span class="special">);</span> <pre class="programlisting"><a href="zip.html" title="zip"><tt class="computeroutput"><span class="identifier">zip</span></tt></a><span class="special">(</span><span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">seq2</span><span class="special">,</span> <span class="special">...</span> <span class="identifier">seqN</span><span class="special">);</span>
@ -107,22 +196,97 @@
<span class="char">'c'</span><span class="special">))</span></tt> <span class="char">'c'</span><span class="special">))</span></tt>
</p> </p>
<a name="fusion.algorithm.transformation.functions.zip.complexity"></a><h6> <a name="fusion.algorithm.transformation.functions.zip.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id574094"></a> <a name="id574094"></a>
<a href="zip.html#fusion.algorithm.transformation.functions.zip.complexity">Complexity</a> <a href="zip.html#fusion.algorithm.transformation.functions.zip.complexity">Complexity</a>
=======
<a name="id826367"></a>
=======
<a name="id787525"></a>
=======
<a name="id779901"></a>
=======
<a name="id803609"></a>
=======
<a name="id791999"></a>
=======
<a name="id788722"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="zip.html#fusion.algorithm.transformation.functions.zip.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.functions.zip.header"></a><h6> <a name="fusion.algorithm.transformation.functions.zip.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id574124"></a> <a name="id574124"></a>
<a href="zip.html#fusion.algorithm.transformation.functions.zip.header">Header</a> <a href="zip.html#fusion.algorithm.transformation.functions.zip.header">Header</a>
=======
<a name="id826386"></a>
=======
<a name="id787544"></a>
=======
<a name="id779920"></a>
=======
<a name="id803628"></a>
=======
<a name="id792018"></a>
=======
<a name="id788741"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="zip.html#fusion.algorithm.transformation.functions.zip.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">zip</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">zip</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">zip</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">zip</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.functions.zip.example"></a><h6> <a name="fusion.algorithm.transformation.functions.zip.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id574290"></a> <a name="id574290"></a>
<a href="zip.html#fusion.algorithm.transformation.functions.zip.example">Example</a> <a href="zip.html#fusion.algorithm.transformation.functions.zip.example">Example</a>
=======
<a name="id826502"></a>
=======
<a name="id787659"></a>
=======
<a name="id780035"></a>
=======
<a name="id803743"></a>
=======
<a name="id792133"></a>
=======
<a name="id788856"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="zip.html#fusion.algorithm.transformation.functions.zip.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">v1</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'a'</span><span class="special">);</span> <pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">v1</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'a'</span><span class="special">);</span>
<a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">v2</span><span class="special">(</span><span class="number">2</span><span class="special">,</span> <span class="char">'b'</span><span class="special">);</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">v2</span><span class="special">(</span><span class="number">2</span><span class="special">,</span> <span class="char">'b'</span><span class="special">);</span>
@ -131,7 +295,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Metafunctions</title> <title>Metafunctions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../transformation.html" title="Transformation"> <link rel="up" href="../transformation.html" title="Transformation">
<link rel="previous" href="functions/push_front.html" title="push_front"> <link rel="previous" href="functions/push_front.html" title="push_front">

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>clear</title> <title>clear</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="reverse.html" title="reverse"> <link rel="previous" href="reverse.html" title="reverse">
<link rel="next" href="erase.html" title="erase"> <link rel="next" href="erase.html" title="erase">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.clear.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.clear.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id585070"></a> <a name="id585070"></a>
<a href="clear.html#fusion.algorithm.transformation.metafunctions.clear.description">Description</a> <a href="clear.html#fusion.algorithm.transformation.metafunctions.clear.description">Description</a>
=======
<a name="id836158"></a>
=======
<a name="id800323"></a>
=======
<a name="id792699"></a>
=======
<a name="id815343"></a>
=======
<a name="id805099"></a>
=======
<a name="id801822"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="clear.html#fusion.algorithm.transformation.metafunctions.clear.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/clear.html" title="clear"><tt class="computeroutput"><span class="identifier">clear</span></tt></a>, given the input sequence Returns the result type of <a href="../functions/clear.html" title="clear"><tt class="computeroutput"><span class="identifier">clear</span></tt></a>, given the input sequence
type. type.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.clear.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.clear.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id585117"></a> <a name="id585117"></a>
<a href="clear.html#fusion.algorithm.transformation.metafunctions.clear.synopsis">Synopsis</a> <a href="clear.html#fusion.algorithm.transformation.metafunctions.clear.synopsis">Synopsis</a>
=======
<a name="id836189"></a>
=======
<a name="id800354"></a>
=======
<a name="id792730"></a>
=======
<a name="id815375"></a>
=======
<a name="id805130"></a>
=======
<a name="id801853"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="clear.html#fusion.algorithm.transformation.metafunctions.clear.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span>
@ -50,8 +108,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id585216"></a><p class="title"><b>Table<EFBFBD>1.82.<2E>Parameters</b></p> <a name="id585216"></a><p class="title"><b>Table<EFBFBD>1.82.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id836264"></a><p class="title"><b>Table<EFBFBD>1.82.<2E>Parameters</b></p>
=======
<a name="id800428"></a><p class="title"><b>Table<EFBFBD>1.86.<2E>Parameters</b></p>
=======
<a name="id792804"></a><p class="title"><b>Table<EFBFBD>1.86.<2E>Parameters</b></p>
=======
<a name="id815449"></a><p class="title"><b>Table&#160;1.86.&#160;Parameters</b></p>
=======
<a name="id805204"></a><p class="title"><b>Table&#160;1.86.&#160;Parameters</b></p>
=======
<a name="id801928"></a><p class="title"><b>Table&#160;1.86.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -81,9 +164,15 @@
</tr></tbody> </tr></tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.clear.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.clear.expression_semantics"></a><h6>
<a name="id585310"></a> <a name="id585310"></a>
<a href="clear.html#fusion.algorithm.transformation.metafunctions.clear.expression_semantics">Expression <a href="clear.html#fusion.algorithm.transformation.metafunctions.clear.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.clear.expression_semantics"></a><h6>
<a name="id802006"></a>
<a class="link" href="clear.html#fusion.algorithm.transformation.metafunctions.clear.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="clear.html" title="clear"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">clear</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="clear.html" title="clear"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">clear</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -97,15 +186,65 @@
<span class="bold"><b>Semantics</b></span>: Returns an empty sequence. <span class="bold"><b>Semantics</b></span>: Returns an empty sequence.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.clear.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.clear.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id585422"></a> <a name="id585422"></a>
<a href="clear.html#fusion.algorithm.transformation.metafunctions.clear.complexity">Complexity</a> <a href="clear.html#fusion.algorithm.transformation.metafunctions.clear.complexity">Complexity</a>
=======
<a name="id836414"></a>
=======
<a name="id800578"></a>
=======
<a name="id792954"></a>
=======
<a name="id815599"></a>
=======
<a name="id805354"></a>
=======
<a name="id802078"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="clear.html#fusion.algorithm.transformation.metafunctions.clear.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.clear.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.clear.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id585450"></a> <a name="id585450"></a>
<a href="clear.html#fusion.algorithm.transformation.metafunctions.clear.header">Header</a> <a href="clear.html#fusion.algorithm.transformation.metafunctions.clear.header">Header</a>
=======
<a name="id836435"></a>
=======
<a name="id800600"></a>
=======
<a name="id792976"></a>
=======
<a name="id815621"></a>
=======
<a name="id805376"></a>
=======
<a name="id802099"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="clear.html#fusion.algorithm.transformation.metafunctions.clear.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">clear</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">clear</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">clear</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">clear</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -113,7 +252,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>erase</title> <title>erase</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="clear.html" title="clear"> <link rel="previous" href="clear.html" title="clear">
<link rel="next" href="erase_key.html" title="erase_key"> <link rel="next" href="erase_key.html" title="erase_key">
@ -34,12 +42,62 @@
and range delimiting iterator types. and range delimiting iterator types.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.erase.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.erase.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id585660"></a> <a name="id585660"></a>
<a href="erase.html#fusion.algorithm.transformation.metafunctions.erase.description">Description</a> <a href="erase.html#fusion.algorithm.transformation.metafunctions.erase.description">Description</a>
=======
<a name="id836580"></a>
=======
<a name="id800744"></a>
=======
<a name="id793120"></a>
=======
<a name="id815765"></a>
=======
<a name="id805520"></a>
=======
<a name="id802243"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase.html#fusion.algorithm.transformation.metafunctions.erase.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<a name="fusion.algorithm.transformation.metafunctions.erase.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.erase.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id585683"></a> <a name="id585683"></a>
<a href="erase.html#fusion.algorithm.transformation.metafunctions.erase.synopsis">Synopsis</a> <a href="erase.html#fusion.algorithm.transformation.metafunctions.erase.synopsis">Synopsis</a>
=======
<a name="id836598"></a>
=======
<a name="id800762"></a>
=======
<a name="id793138"></a>
=======
<a name="id815783"></a>
=======
<a name="id805538"></a>
=======
<a name="id802261"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase.html#fusion.algorithm.transformation.metafunctions.erase.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id585826"></a><p class="title"><b>Table<EFBFBD>1.83.<2E>Parameters</b></p> <a name="id585826"></a><p class="title"><b>Table<EFBFBD>1.83.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id836706"></a><p class="title"><b>Table<EFBFBD>1.83.<2E>Parameters</b></p>
=======
<a name="id800870"></a><p class="title"><b>Table<EFBFBD>1.87.<2E>Parameters</b></p>
=======
<a name="id793246"></a><p class="title"><b>Table<EFBFBD>1.87.<2E>Parameters</b></p>
=======
<a name="id815891"></a><p class="title"><b>Table&#160;1.87.&#160;Parameters</b></p>
=======
<a name="id805646"></a><p class="title"><b>Table&#160;1.87.&#160;Parameters</b></p>
=======
<a name="id802369"></a><p class="title"><b>Table&#160;1.87.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -112,18 +195,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.erase.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.erase.expression_semantics"></a><h6>
<a name="id586020"></a> <a name="id586020"></a>
<a href="erase.html#fusion.algorithm.transformation.metafunctions.erase.expression_semantics">Expression <a href="erase.html#fusion.algorithm.transformation.metafunctions.erase.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.erase.expression_semantics"></a><h6>
<a name="id802524"></a>
<a class="link" href="erase.html#fusion.algorithm.transformation.metafunctions.erase.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="erase.html" title="erase"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">erase</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">It1</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="erase.html" title="erase"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">erase</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">It1</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence with <span class="bold"><b>Semantics</b></span>: Returns a new sequence with
the element at <tt class="computeroutput"><span class="identifier">It1</span></tt> removed. the element at <tt class="computeroutput"><span class="identifier">It1</span></tt> removed.
@ -141,15 +246,65 @@
and <tt class="computeroutput"><span class="identifier">It2</span></tt> removed. and <tt class="computeroutput"><span class="identifier">It2</span></tt> removed.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.erase.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.erase.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id586284"></a> <a name="id586284"></a>
<a href="erase.html#fusion.algorithm.transformation.metafunctions.erase.complexity">Complexity</a> <a href="erase.html#fusion.algorithm.transformation.metafunctions.erase.complexity">Complexity</a>
=======
<a name="id837038"></a>
=======
<a name="id801230"></a>
=======
<a name="id793606"></a>
=======
<a name="id816251"></a>
=======
<a name="id806006"></a>
=======
<a name="id802729"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase.html#fusion.algorithm.transformation.metafunctions.erase.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.erase.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.erase.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id586312"></a> <a name="id586312"></a>
<a href="erase.html#fusion.algorithm.transformation.metafunctions.erase.header">Header</a> <a href="erase.html#fusion.algorithm.transformation.metafunctions.erase.header">Header</a>
=======
<a name="id837060"></a>
=======
<a name="id801252"></a>
=======
<a name="id793627"></a>
=======
<a name="id816272"></a>
=======
<a name="id806028"></a>
=======
<a name="id802751"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase.html#fusion.algorithm.transformation.metafunctions.erase.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">erase</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">erase</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">erase</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">erase</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -157,7 +312,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>erase_key</title> <title>erase_key</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="erase.html" title="erase"> <link rel="previous" href="erase.html" title="erase">
<link rel="next" href="insert.html" title="insert"> <link rel="next" href="insert.html" title="insert">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.erase_key.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.erase_key.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id586501"></a> <a name="id586501"></a>
<a href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.description">Description</a> <a href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.description">Description</a>
=======
<a name="id837188"></a>
=======
<a name="id801380"></a>
=======
<a name="id793756"></a>
=======
<a name="id816401"></a>
=======
<a name="id806156"></a>
=======
<a name="id802879"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/erase_key.html" title="erase_key"><tt class="computeroutput"><span class="identifier">erase_key</span></tt></a>, given the sequence Returns the result type of <a href="../functions/erase_key.html" title="erase_key"><tt class="computeroutput"><span class="identifier">erase_key</span></tt></a>, given the sequence
and key types. and key types.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.erase_key.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.erase_key.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id586549"></a> <a name="id586549"></a>
<a href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.synopsis">Synopsis</a> <a href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.synopsis">Synopsis</a>
=======
<a name="id837216"></a>
=======
<a name="id801408"></a>
=======
<a name="id793783"></a>
=======
<a name="id816428"></a>
=======
<a name="id806184"></a>
=======
<a name="id802907"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id586667"></a><p class="title"><b>Table<EFBFBD>1.84.<2E>Parameters</b></p> <a name="id586667"></a><p class="title"><b>Table<EFBFBD>1.84.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id837301"></a><p class="title"><b>Table<EFBFBD>1.84.<2E>Parameters</b></p>
=======
<a name="id801493"></a><p class="title"><b>Table<EFBFBD>1.88.<2E>Parameters</b></p>
=======
<a name="id793869"></a><p class="title"><b>Table<EFBFBD>1.88.<2E>Parameters</b></p>
=======
<a name="id816513"></a><p class="title"><b>Table&#160;1.88.&#160;Parameters</b></p>
=======
<a name="id806269"></a><p class="title"><b>Table&#160;1.88.&#160;Parameters</b></p>
=======
<a name="id802992"></a><p class="title"><b>Table&#160;1.88.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -71,12 +154,24 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<tr> <tr>
<<<<<<< .working
<td><p> <td><p>
<tt class="computeroutput"><span class="identifier">Sequence</span></tt> <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
</p></td> </p></td>
<td><p> <td><p>
A model of <a href="../../../sequence/concepts/associative_sequence.html" title="Associative A model of <a href="../../../sequence/concepts/associative_sequence.html" title="Associative
Sequence">Associative Sequence">Associative
=======
<td>
<p>
<code class="computeroutput"><span class="identifier">Sequence</span></code>
</p>
</td>
<td>
<p>
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a> and <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
>>>>>>> .merge-right.r57242
Sequence</a> Sequence</a>
</p></td> </p></td>
<td><p> <td><p>
@ -97,16 +192,27 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.erase_key.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.erase_key.expression_semantics"></a><h6>
<a name="id586805"></a> <a name="id586805"></a>
<a href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.expression_semantics">Expression <a href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.erase_key.expression_semantics"></a><h6>
<a name="id803110"></a>
<a class="link" href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="erase_key.html" title="erase_key"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">erase_key</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Key</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="erase_key.html" title="erase_key"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">erase_key</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Key</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/associative_sequence.html" title="Associative <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/associative_sequence.html" title="Associative
Sequence">Associative Sequence">Associative
=======
<span class="bold"><strong>Return type</strong></span>: A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a> and <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
>>>>>>> .merge-right.r57242
Sequence</a>. Sequence</a>.
</p> </p>
<p> <p>
@ -115,15 +221,65 @@
except those with key <tt class="computeroutput"><span class="identifier">Key</span></tt>. except those with key <tt class="computeroutput"><span class="identifier">Key</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.erase_key.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.erase_key.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id586949"></a> <a name="id586949"></a>
<a href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.complexity">Complexity</a> <a href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.complexity">Complexity</a>
=======
<a name="id837506"></a>
=======
<a name="id801708"></a>
=======
<a name="id794083"></a>
=======
<a name="id816728"></a>
=======
<a name="id807030"></a>
=======
<a name="id803753"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.erase_key.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.erase_key.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id586979"></a> <a name="id586979"></a>
<a href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.header">Header</a> <a href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.header">Header</a>
=======
<a name="id837525"></a>
=======
<a name="id801727"></a>
=======
<a name="id794103"></a>
=======
<a name="id816747"></a>
=======
<a name="id807049"></a>
=======
<a name="id803773"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="erase_key.html#fusion.algorithm.transformation.metafunctions.erase_key.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">erase_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">erase_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">erase_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">erase_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -131,7 +287,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>filter</title> <title>filter</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="../metafunctions.html" title="Metafunctions"> <link rel="previous" href="../metafunctions.html" title="Metafunctions">
<link rel="next" href="filter_if.html" title="filter_if"> <link rel="next" href="filter_if.html" title="filter_if">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.filter.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.filter.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id578050"></a> <a name="id578050"></a>
<a href="filter.html#fusion.algorithm.transformation.metafunctions.filter.description">Description</a> <a href="filter.html#fusion.algorithm.transformation.metafunctions.filter.description">Description</a>
=======
<a name="id829154"></a>
=======
<a name="id792061"></a>
=======
<a name="id784436"></a>
=======
<a name="id807052"></a>
=======
<a name="id796876"></a>
=======
<a name="id793600"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter.html#fusion.algorithm.transformation.metafunctions.filter.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/filter.html" title="filter"><tt class="computeroutput"><span class="identifier">filter</span></tt></a> given the sequence type Returns the result type of <a href="../functions/filter.html" title="filter"><tt class="computeroutput"><span class="identifier">filter</span></tt></a> given the sequence type
and type to retain. and type to retain.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.filter.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.filter.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id578098"></a> <a name="id578098"></a>
<a href="filter.html#fusion.algorithm.transformation.metafunctions.filter.synopsis">Synopsis</a> <a href="filter.html#fusion.algorithm.transformation.metafunctions.filter.synopsis">Synopsis</a>
=======
<a name="id829183"></a>
=======
<a name="id792089"></a>
=======
<a name="id784465"></a>
=======
<a name="id808788"></a>
=======
<a name="id796905"></a>
=======
<a name="id793628"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter.html#fusion.algorithm.transformation.metafunctions.filter.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id578214"></a><p class="title"><b>Table<EFBFBD>1.73.<2E>Parameter</b></p> <a name="id578214"></a><p class="title"><b>Table<EFBFBD>1.73.<2E>Parameter</b></p>
<table class="table" summary="Parameter"> <table class="table" summary="Parameter">
=======
<a name="id829270"></a><p class="title"><b>Table<EFBFBD>1.73.<2E>Parameter</b></p>
=======
<a name="id792177"></a><p class="title"><b>Table<EFBFBD>1.77.<2E>Parameter</b></p>
=======
<a name="id784553"></a><p class="title"><b>Table<EFBFBD>1.77.<2E>Parameter</b></p>
=======
<a name="id808876"></a><p class="title"><b>Table&#160;1.77.&#160;Parameter</b></p>
=======
<a name="id796993"></a><p class="title"><b>Table&#160;1.77.&#160;Parameter</b></p>
=======
<a name="id793716"></a><p class="title"><b>Table&#160;1.77.&#160;Parameter</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameter">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,18 +180,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.filter.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.filter.expression_semantics"></a><h6>
<a name="id578354"></a> <a name="id578354"></a>
<a href="filter.html#fusion.algorithm.transformation.metafunctions.filter.expression_semantics">Expression <a href="filter.html#fusion.algorithm.transformation.metafunctions.filter.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.filter.expression_semantics"></a><h6>
<a name="id793829"></a>
<a class="link" href="filter.html#fusion.algorithm.transformation.metafunctions.filter.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="filter.html" title="filter"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="filter.html" title="filter"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing <span class="bold"><b>Semantics</b></span>: Returns a sequence containing
the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt> the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
@ -117,15 +222,65 @@
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span></tt>. <span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.filter.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.filter.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id578611"></a> <a name="id578611"></a>
<a href="filter.html#fusion.algorithm.transformation.metafunctions.filter.complexity">Complexity</a> <a href="filter.html#fusion.algorithm.transformation.metafunctions.filter.complexity">Complexity</a>
=======
<a name="id829556"></a>
=======
<a name="id793105"></a>
=======
<a name="id785481"></a>
=======
<a name="id809189"></a>
=======
<a name="id797306"></a>
=======
<a name="id794029"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter.html#fusion.algorithm.transformation.metafunctions.filter.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.filter.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.filter.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id578640"></a> <a name="id578640"></a>
<a href="filter.html#fusion.algorithm.transformation.metafunctions.filter.header">Header</a> <a href="filter.html#fusion.algorithm.transformation.metafunctions.filter.header">Header</a>
=======
<a name="id829578"></a>
=======
<a name="id793127"></a>
=======
<a name="id785502"></a>
=======
<a name="id809211"></a>
=======
<a name="id797328"></a>
=======
<a name="id794051"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter.html#fusion.algorithm.transformation.metafunctions.filter.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">filter</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">filter</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">filter</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">filter</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -133,7 +288,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>filter_if</title> <title>filter_if</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="filter.html" title="filter"> <link rel="previous" href="filter.html" title="filter">
<link rel="next" href="transform.html" title="transform"> <link rel="next" href="transform.html" title="transform">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.filter_if.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.filter_if.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id578827"></a> <a name="id578827"></a>
<a href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.description">Description</a> <a href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.description">Description</a>
=======
<a name="id829706"></a>
=======
<a name="id793255"></a>
=======
<a name="id785631"></a>
=======
<a name="id809339"></a>
=======
<a name="id797456"></a>
=======
<a name="id794179"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a> given the sequence Returns the result type of <a href="../functions/filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a> given the sequence
@ -39,8 +72,33 @@
Lambda Expression</a> predicate type. Lambda Expression</a> predicate type.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.filter_if.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.filter_if.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id578884"></a> <a name="id578884"></a>
<a href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.synopsis">Synopsis</a> <a href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.synopsis">Synopsis</a>
=======
<a name="id829737"></a>
=======
<a name="id793286"></a>
=======
<a name="id785662"></a>
=======
<a name="id809370"></a>
=======
<a name="id797487"></a>
=======
<a name="id794210"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -52,8 +110,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id579002"></a><p class="title"><b>Table<EFBFBD>1.74.<2E>Parameter</b></p> <a name="id579002"></a><p class="title"><b>Table<EFBFBD>1.74.<2E>Parameter</b></p>
<table class="table" summary="Parameter"> <table class="table" summary="Parameter">
=======
<a name="id829822"></a><p class="title"><b>Table<EFBFBD>1.74.<2E>Parameter</b></p>
=======
<a name="id793372"></a><p class="title"><b>Table<EFBFBD>1.78.<2E>Parameter</b></p>
=======
<a name="id785747"></a><p class="title"><b>Table<EFBFBD>1.78.<2E>Parameter</b></p>
=======
<a name="id809456"></a><p class="title"><b>Table&#160;1.78.&#160;Parameter</b></p>
=======
<a name="id797572"></a><p class="title"><b>Table&#160;1.78.&#160;Parameter</b></p>
=======
<a name="id794296"></a><p class="title"><b>Table&#160;1.78.&#160;Parameter</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameter">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -99,18 +182,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.filter_if.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.filter_if.expression_semantics"></a><h6>
<a name="id579146"></a> <a name="id579146"></a>
<a href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.expression_semantics">Expression <a href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.filter_if.expression_semantics"></a><h6>
<a name="id794413"></a>
<a class="link" href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing <span class="bold"><b>Semantics</b></span>: Returns a sequence containing
the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt> the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
@ -118,15 +223,65 @@
to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>. to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.filter_if.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.filter_if.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id579326"></a> <a name="id579326"></a>
<a href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.complexity">Complexity</a> <a href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.complexity">Complexity</a>
=======
<a name="id831489"></a>
=======
<a name="id793632"></a>
=======
<a name="id786008"></a>
=======
<a name="id809716"></a>
=======
<a name="id797833"></a>
=======
<a name="id794556"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.filter_if.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.filter_if.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id579356"></a> <a name="id579356"></a>
<a href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.header">Header</a> <a href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.header">Header</a>
=======
<a name="id831509"></a>
=======
<a name="id793651"></a>
=======
<a name="id786027"></a>
=======
<a name="id809735"></a>
=======
<a name="id797852"></a>
=======
<a name="id794575"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="filter_if.html#fusion.algorithm.transformation.metafunctions.filter_if.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">filter_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">filter_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">filter_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">filter_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -134,7 +289,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>insert</title> <title>insert</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="erase_key.html" title="erase_key"> <link rel="previous" href="erase_key.html" title="erase_key">
<link rel="next" href="insert_range.html" title="insert_range"> <link rel="next" href="insert_range.html" title="insert_range">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.insert.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.insert.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id587169"></a> <a name="id587169"></a>
<a href="insert.html#fusion.algorithm.transformation.metafunctions.insert.description">Description</a> <a href="insert.html#fusion.algorithm.transformation.metafunctions.insert.description">Description</a>
=======
<a name="id837654"></a>
=======
<a name="id801855"></a>
=======
<a name="id794231"></a>
=======
<a name="id817422"></a>
=======
<a name="id807178"></a>
=======
<a name="id803901"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert.html#fusion.algorithm.transformation.metafunctions.insert.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/insert.html" title="insert"><tt class="computeroutput"><span class="identifier">insert</span></tt></a>, given the sequence, Returns the result type of <a href="../functions/insert.html" title="insert"><tt class="computeroutput"><span class="identifier">insert</span></tt></a>, given the sequence,
position iterator and insertion types. position iterator and insertion types.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.insert.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.insert.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id587219"></a> <a name="id587219"></a>
<a href="insert.html#fusion.algorithm.transformation.metafunctions.insert.synopsis">Synopsis</a> <a href="insert.html#fusion.algorithm.transformation.metafunctions.insert.synopsis">Synopsis</a>
=======
<a name="id837682"></a>
=======
<a name="id801884"></a>
=======
<a name="id794260"></a>
=======
<a name="id817451"></a>
=======
<a name="id807207"></a>
=======
<a name="id803930"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert.html#fusion.algorithm.transformation.metafunctions.insert.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -52,8 +110,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id587355"></a><p class="title"><b>Table<EFBFBD>1.85.<2E>Parameters</b></p> <a name="id587355"></a><p class="title"><b>Table<EFBFBD>1.85.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id837783"></a><p class="title"><b>Table<EFBFBD>1.85.<2E>Parameters</b></p>
=======
<a name="id802532"></a><p class="title"><b>Table<EFBFBD>1.89.<2E>Parameters</b></p>
=======
<a name="id794907"></a><p class="title"><b>Table<EFBFBD>1.89.<2E>Parameters</b></p>
=======
<a name="id817552"></a><p class="title"><b>Table&#160;1.89.&#160;Parameters</b></p>
=======
<a name="id807307"></a><p class="title"><b>Table&#160;1.89.&#160;Parameters</b></p>
=======
<a name="id804031"></a><p class="title"><b>Table&#160;1.89.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -111,18 +194,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.insert.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.insert.expression_semantics"></a><h6>
<a name="id587539"></a> <a name="id587539"></a>
<a href="insert.html#fusion.algorithm.transformation.metafunctions.insert.expression_semantics">Expression <a href="insert.html#fusion.algorithm.transformation.metafunctions.insert.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.insert.expression_semantics"></a><h6>
<a name="id804181"></a>
<a class="link" href="insert.html#fusion.algorithm.transformation.metafunctions.insert.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="insert.html" title="insert"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">insert</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Position</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="insert.html" title="insert"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">insert</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Position</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence with an <span class="bold"><b>Semantics</b></span>: Returns a sequence with an
element of type <tt class="computeroutput"><span class="identifier">T</span></tt> inserted element of type <tt class="computeroutput"><span class="identifier">T</span></tt> inserted
@ -130,15 +235,65 @@
in <tt class="computeroutput"><span class="identifier">Sequence</span></tt>. in <tt class="computeroutput"><span class="identifier">Sequence</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.insert.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.insert.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id587707"></a> <a name="id587707"></a>
<a href="insert.html#fusion.algorithm.transformation.metafunctions.insert.complexity">Complexity</a> <a href="insert.html#fusion.algorithm.transformation.metafunctions.insert.complexity">Complexity</a>
=======
<a name="id838045"></a>
=======
<a name="id802821"></a>
=======
<a name="id795196"></a>
=======
<a name="id817841"></a>
=======
<a name="id807597"></a>
=======
<a name="id804320"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert.html#fusion.algorithm.transformation.metafunctions.insert.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.insert.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.insert.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id587736"></a> <a name="id587736"></a>
<a href="insert.html#fusion.algorithm.transformation.metafunctions.insert.header">Header</a> <a href="insert.html#fusion.algorithm.transformation.metafunctions.insert.header">Header</a>
=======
<a name="id838066"></a>
=======
<a name="id802842"></a>
=======
<a name="id795218"></a>
=======
<a name="id817863"></a>
=======
<a name="id807618"></a>
=======
<a name="id804341"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert.html#fusion.algorithm.transformation.metafunctions.insert.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">insert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">insert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">insert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">insert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -146,7 +301,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>insert_range</title> <title>insert_range</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="insert.html" title="insert"> <link rel="previous" href="insert.html" title="insert">
<link rel="next" href="join.html" title="join"> <link rel="next" href="join.html" title="join">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.insert_range.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.insert_range.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id587921"></a> <a name="id587921"></a>
<a href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.description">Description</a> <a href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.description">Description</a>
=======
<a name="id838200"></a>
=======
<a name="id802976"></a>
=======
<a name="id795351"></a>
=======
<a name="id817996"></a>
=======
<a name="id807751"></a>
=======
<a name="id804475"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/insert_range.html" title="insert_range"><tt class="computeroutput"><span class="identifier">insert_range</span></tt></a>, given the input Returns the result type of <a href="../functions/insert_range.html" title="insert_range"><tt class="computeroutput"><span class="identifier">insert_range</span></tt></a>, given the input
sequence, position iterator and insertion range types. sequence, position iterator and insertion range types.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.insert_range.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.insert_range.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id587970"></a> <a name="id587970"></a>
<a href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.synopsis">Synopsis</a> <a href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.synopsis">Synopsis</a>
=======
<a name="id838226"></a>
=======
<a name="id803002"></a>
=======
<a name="id795378"></a>
=======
<a name="id818022"></a>
=======
<a name="id807778"></a>
=======
<a name="id804501"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -52,8 +110,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id588106"></a><p class="title"><b>Table<EFBFBD>1.86.<2E>Parameters</b></p> <a name="id588106"></a><p class="title"><b>Table<EFBFBD>1.86.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id838324"></a><p class="title"><b>Table<EFBFBD>1.86.<2E>Parameters</b></p>
=======
<a name="id803100"></a><p class="title"><b>Table<EFBFBD>1.90.<2E>Parameters</b></p>
=======
<a name="id795476"></a><p class="title"><b>Table<EFBFBD>1.90.<2E>Parameters</b></p>
=======
<a name="id818121"></a><p class="title"><b>Table&#160;1.90.&#160;Parameters</b></p>
=======
<a name="id807876"></a><p class="title"><b>Table&#160;1.90.&#160;Parameters</b></p>
=======
<a name="id804599"></a><p class="title"><b>Table&#160;1.90.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -113,18 +196,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.insert_range.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.insert_range.expression_semantics"></a><h6>
<a name="id588300"></a> <a name="id588300"></a>
<a href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.expression_semantics">Expression <a href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.insert_range.expression_semantics"></a><h6>
<a name="id804754"></a>
<a class="link" href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="insert_range.html" title="insert_range"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">insert_range</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Position</span><span class="special">,</span> <span class="identifier">Range</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="insert_range.html" title="insert_range"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">insert_range</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Position</span><span class="special">,</span> <span class="identifier">Range</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence with the <span class="bold"><b>Semantics</b></span>: Returns a sequence with the
elements of <tt class="computeroutput"><span class="identifier">Range</span></tt> inserted elements of <tt class="computeroutput"><span class="identifier">Range</span></tt> inserted
@ -132,15 +237,65 @@
into <tt class="computeroutput"><span class="identifier">Sequence</span></tt>. into <tt class="computeroutput"><span class="identifier">Sequence</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.insert_range.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.insert_range.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id588469"></a> <a name="id588469"></a>
<a href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.complexity">Complexity</a> <a href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.complexity">Complexity</a>
=======
<a name="id838590"></a>
=======
<a name="id803393"></a>
=======
<a name="id795769"></a>
=======
<a name="id818414"></a>
=======
<a name="id808169"></a>
=======
<a name="id804892"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.insert_range.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.insert_range.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id588499"></a> <a name="id588499"></a>
<a href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.header">Header</a> <a href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.header">Header</a>
=======
<a name="id838606"></a>
=======
<a name="id803410"></a>
=======
<a name="id795786"></a>
=======
<a name="id818430"></a>
=======
<a name="id808186"></a>
=======
<a name="id804909"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="insert_range.html#fusion.algorithm.transformation.metafunctions.insert_range.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">insert_range</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">insert_range</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">insert_range</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">insert_range</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -148,7 +303,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>join</title> <title>join</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="insert_range.html" title="insert_range"> <link rel="previous" href="insert_range.html" title="insert_range">
<link rel="next" href="zip.html" title="zip"> <link rel="next" href="zip.html" title="zip">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.join.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.join.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id588688"></a> <a name="id588688"></a>
<a href="join.html#fusion.algorithm.transformation.metafunctions.join.description">Description</a> <a href="join.html#fusion.algorithm.transformation.metafunctions.join.description">Description</a>
=======
<a name="id840442"></a>
=======
<a name="id803538"></a>
=======
<a name="id795914"></a>
=======
<a name="id818559"></a>
=======
<a name="id808314"></a>
=======
<a name="id805037"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="join.html#fusion.algorithm.transformation.metafunctions.join.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result of joining 2 sequences, given the sequence types. Returns the result of joining 2 sequences, given the sequence types.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.join.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.join.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id588718"></a> <a name="id588718"></a>
<a href="join.html#fusion.algorithm.transformation.metafunctions.join.synopsis">Synopsis</a> <a href="join.html#fusion.algorithm.transformation.metafunctions.join.synopsis">Synopsis</a>
=======
<a name="id840464"></a>
=======
<a name="id803560"></a>
=======
<a name="id795936"></a>
=======
<a name="id818580"></a>
=======
<a name="id808336"></a>
=======
<a name="id805059"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="join.html#fusion.algorithm.transformation.metafunctions.join.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">LhSequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">LhSequence</span><span class="special">,</span>
@ -50,17 +108,59 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.metafunctions.join.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.join.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id588844"></a> <a name="id588844"></a>
<a href="join.html#fusion.algorithm.transformation.metafunctions.join.expression_semantics">Expression <a href="join.html#fusion.algorithm.transformation.metafunctions.join.expression_semantics">Expression
=======
<a name="id840555"></a>
=======
<a name="id803651"></a>
=======
<a name="id796027"></a>
=======
<a name="id818672"></a>
=======
<a name="id808427"></a>
=======
<a name="id805150"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="join.html#fusion.algorithm.transformation.metafunctions.join.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="join.html" title="join"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">join</span></tt></a><span class="special">&lt;</span><span class="identifier">LhSequence</span><span class="special">,</span> <span class="identifier">RhSequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="join.html" title="join"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">join</span></tt></a><span class="special">&lt;</span><span class="identifier">LhSequence</span><span class="special">,</span> <span class="identifier">RhSequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">LhSequence</span></code>
amd <code class="computeroutput"><span class="identifier">RhSequence</span></code> implement
the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing <span class="bold"><b>Semantics</b></span>: Returns a sequence containing
the elements of <tt class="computeroutput"><span class="identifier">LhSequence</span></tt> the elements of <tt class="computeroutput"><span class="identifier">LhSequence</span></tt>
@ -68,15 +168,65 @@
The order of the elements in the 2 sequences is preserved. The order of the elements in the 2 sequences is preserved.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.join.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.join.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id588991"></a> <a name="id588991"></a>
<a href="join.html#fusion.algorithm.transformation.metafunctions.join.complexity">Complexity</a> <a href="join.html#fusion.algorithm.transformation.metafunctions.join.complexity">Complexity</a>
=======
<a name="id840651"></a>
=======
<a name="id803782"></a>
=======
<a name="id796158"></a>
=======
<a name="id818802"></a>
=======
<a name="id808558"></a>
=======
<a name="id805281"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="join.html#fusion.algorithm.transformation.metafunctions.join.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.join.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.join.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id589020"></a> <a name="id589020"></a>
<a href="join.html#fusion.algorithm.transformation.metafunctions.join.header">Header</a> <a href="join.html#fusion.algorithm.transformation.metafunctions.join.header">Header</a>
=======
<a name="id840672"></a>
=======
<a name="id803804"></a>
=======
<a name="id796179"></a>
=======
<a name="id818824"></a>
=======
<a name="id808579"></a>
=======
<a name="id805303"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="join.html#fusion.algorithm.transformation.metafunctions.join.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">join</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">join</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">join</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">join</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -84,7 +234,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>pop_back</title> <title>pop_back</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="zip.html" title="zip"> <link rel="previous" href="zip.html" title="zip">
<link rel="next" href="pop_front.html" title="pop_front"> <link rel="next" href="pop_front.html" title="pop_front">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.pop_back.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.pop_back.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id589911"></a> <a name="id589911"></a>
<a href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.description">Description</a> <a href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.description">Description</a>
=======
<a name="id841304"></a>
=======
<a name="id804435"></a>
=======
<a name="id796810"></a>
=======
<a name="id819455"></a>
=======
<a name="id809279"></a>
=======
<a name="id806003"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/pop_back.html" title="pop_back"><tt class="computeroutput"><span class="identifier">pop_back</span></tt></a>, given the input sequence Returns the result type of <a href="../functions/pop_back.html" title="pop_back"><tt class="computeroutput"><span class="identifier">pop_back</span></tt></a>, given the input sequence
type. type.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.pop_back.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.pop_back.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id589958"></a> <a name="id589958"></a>
<a href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.synopsis">Synopsis</a> <a href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.synopsis">Synopsis</a>
=======
<a name="id841332"></a>
=======
<a name="id804464"></a>
=======
<a name="id796839"></a>
=======
<a name="id819484"></a>
=======
<a name="id809308"></a>
=======
<a name="id806031"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span>
@ -50,8 +108,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id590058"></a><p class="title"><b>Table<EFBFBD>1.87.<2E>Parameters</b></p> <a name="id590058"></a><p class="title"><b>Table<EFBFBD>1.87.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id841407"></a><p class="title"><b>Table<EFBFBD>1.87.<2E>Parameters</b></p>
=======
<a name="id804538"></a><p class="title"><b>Table<EFBFBD>1.91.<2E>Parameters</b></p>
=======
<a name="id796914"></a><p class="title"><b>Table<EFBFBD>1.91.<2E>Parameters</b></p>
=======
<a name="id820720"></a><p class="title"><b>Table&#160;1.91.&#160;Parameters</b></p>
=======
<a name="id809383"></a><p class="title"><b>Table&#160;1.91.&#160;Parameters</b></p>
=======
<a name="id806106"></a><p class="title"><b>Table&#160;1.91.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -83,41 +166,113 @@
</tr></tbody> </tr></tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.pop_back.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.pop_back.expression_semantics"></a><h6>
<a name="id590163"></a> <a name="id590163"></a>
<a href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.expression_semantics">Expression <a href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.pop_back.expression_semantics"></a><h6>
<a name="id806189"></a>
<a class="link" href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="pop_back.html" title="pop_back"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_back</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="pop_back.html" title="pop_back"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_back</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence with all <span class="bold"><b>Semantics</b></span>: Returns a sequence with all
the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt> the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
except the last element. except the last element.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.pop_back.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.pop_back.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id590286"></a> <a name="id590286"></a>
<a href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.complexity">Complexity</a> <a href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.complexity">Complexity</a>
=======
<a name="id841568"></a>
=======
<a name="id805887"></a>
=======
<a name="id798263"></a>
=======
<a name="id820908"></a>
=======
<a name="id809571"></a>
=======
<a name="id806294"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.pop_back.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.pop_back.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id590316"></a> <a name="id590316"></a>
<a href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.header">Header</a> <a href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.header">Header</a>
=======
<a name="id841587"></a>
=======
<a name="id805907"></a>
=======
<a name="id798282"></a>
=======
<a name="id820927"></a>
=======
<a name="id809590"></a>
=======
<a name="id806313"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_back.html#fusion.algorithm.transformation.metafunctions.pop_back.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">tranformation</span><span class="special">/</span><span class="identifier">pop_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">pop_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">pop_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">pop_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>pop_front</title> <title>pop_front</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="pop_back.html" title="pop_back"> <link rel="previous" href="pop_back.html" title="pop_back">
<link rel="next" href="push_back.html" title="push_back"> <link rel="next" href="push_back.html" title="push_back">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.pop_front.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.pop_front.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id590503"></a> <a name="id590503"></a>
<a href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.description">Description</a> <a href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.description">Description</a>
=======
<a name="id841715"></a>
=======
<a name="id806035"></a>
=======
<a name="id798411"></a>
=======
<a name="id821056"></a>
=======
<a name="id809719"></a>
=======
<a name="id806442"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">pop_front</span></tt></a>, given the input sequence Returns the result type of <a href="../functions/pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">pop_front</span></tt></a>, given the input sequence
type. type.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.pop_front.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.pop_front.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id590551"></a> <a name="id590551"></a>
<a href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.synopsis">Synopsis</a> <a href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.synopsis">Synopsis</a>
=======
<a name="id841742"></a>
=======
<a name="id806061"></a>
=======
<a name="id798437"></a>
=======
<a name="id821082"></a>
=======
<a name="id809745"></a>
=======
<a name="id806468"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span>
@ -50,8 +108,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id590651"></a><p class="title"><b>Table<EFBFBD>1.88.<2E>Parameters</b></p> <a name="id590651"></a><p class="title"><b>Table<EFBFBD>1.88.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id841814"></a><p class="title"><b>Table<EFBFBD>1.88.<2E>Parameters</b></p>
=======
<a name="id806133"></a><p class="title"><b>Table<EFBFBD>1.92.<2E>Parameters</b></p>
=======
<a name="id798509"></a><p class="title"><b>Table<EFBFBD>1.92.<2E>Parameters</b></p>
=======
<a name="id821154"></a><p class="title"><b>Table&#160;1.92.&#160;Parameters</b></p>
=======
<a name="id809817"></a><p class="title"><b>Table&#160;1.92.&#160;Parameters</b></p>
=======
<a name="id806540"></a><p class="title"><b>Table&#160;1.92.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -83,37 +166,88 @@
</tr></tbody> </tr></tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.pop_front.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.pop_front.expression_semantics"></a><h6>
<a name="id590754"></a> <a name="id590754"></a>
<a href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.expression_semantics">Expression <a href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.pop_front.expression_semantics"></a><h6>
<a name="id806623"></a>
<a class="link" href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_front</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_front</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence with all <span class="bold"><b>Semantics</b></span>: Returns a sequence with all
the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt> the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
except the first element. except the first element.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.pop_front.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.pop_front.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id590877"></a> <a name="id590877"></a>
<a href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.complexity">Complexity</a> <a href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.complexity">Complexity</a>
=======
<a name="id841974"></a>
=======
<a name="id806322"></a>
=======
<a name="id798698"></a>
=======
<a name="id821342"></a>
=======
<a name="id810005"></a>
=======
<a name="id806729"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<p> <a name="fusion.algorithm.transformation.metafunctions.pop_front.header"></a><h6>
/algorithm/transformation/pop_front.hpp&gt; <a name="id806748"></a>
</p> <a class="link" href="pop_front.html#fusion.algorithm.transformation.metafunctions.pop_front.header">Header</a>
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">pop_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">pop_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>push_back</title> <title>push_back</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="pop_front.html" title="pop_front"> <link rel="previous" href="pop_front.html" title="pop_front">
<link rel="next" href="push_front.html" title="push_front"> <link rel="next" href="push_front.html" title="push_front">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.push_back.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.push_back.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id590932"></a> <a name="id590932"></a>
<a href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.description">Description</a> <a href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.description">Description</a>
=======
<a name="id842006"></a>
=======
<a name="id806469"></a>
=======
<a name="id798845"></a>
=======
<a name="id821490"></a>
=======
<a name="id810153"></a>
=======
<a name="id806876"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/push_back.html" title="push_back"><tt class="computeroutput"><span class="identifier">push_back</span></tt></a>, given the types of Returns the result type of <a href="../functions/push_back.html" title="push_back"><tt class="computeroutput"><span class="identifier">push_back</span></tt></a>, given the types of
the input sequence and element to push. the input sequence and element to push.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.push_back.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.push_back.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id590982"></a> <a name="id590982"></a>
<a href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.synopsis">Synopsis</a> <a href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.synopsis">Synopsis</a>
=======
<a name="id842032"></a>
=======
<a name="id806496"></a>
=======
<a name="id798872"></a>
=======
<a name="id821516"></a>
=======
<a name="id810179"></a>
=======
<a name="id806903"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id591099"></a><p class="title"><b>Table<EFBFBD>1.89.<2E>Parameters</b></p> <a name="id591099"></a><p class="title"><b>Table<EFBFBD>1.89.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id842117"></a><p class="title"><b>Table<EFBFBD>1.89.<2E>Parameters</b></p>
=======
<a name="id806581"></a><p class="title"><b>Table<EFBFBD>1.93.<2E>Parameters</b></p>
=======
<a name="id798957"></a><p class="title"><b>Table<EFBFBD>1.93.<2E>Parameters</b></p>
=======
<a name="id821602"></a><p class="title"><b>Table&#160;1.93.&#160;Parameters</b></p>
=======
<a name="id810265"></a><p class="title"><b>Table&#160;1.93.&#160;Parameters</b></p>
=======
<a name="id806988"></a><p class="title"><b>Table&#160;1.93.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,18 +180,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.push_back.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.push_back.expression_semantics"></a><h6>
<a name="id591239"></a> <a name="id591239"></a>
<a href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.expression_semantics">Expression <a href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.push_back.expression_semantics"></a><h6>
<a name="id807102"></a>
<a class="link" href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="push_back.html" title="push_back"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">push_back</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="push_back.html" title="push_back"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">push_back</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence with the <span class="bold"><b>Semantics</b></span>: Returns a sequence with the
elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt> elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
@ -116,19 +221,48 @@
added to the end. added to the end.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.push_back.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.push_back.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id591384"></a> <a name="id591384"></a>
<a href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.complexity">Complexity</a> <a href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.complexity">Complexity</a>
=======
<a name="id842324"></a>
=======
<a name="id806815"></a>
=======
<a name="id799191"></a>
=======
<a name="id821836"></a>
=======
<a name="id810499"></a>
=======
<a name="id807222"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<p> <a name="fusion.algorithm.transformation.metafunctions.push_back.header"></a><h6>
/algorithm/transformation/push_back.hpp&gt; <a name="id807241"></a>
</p> <a class="link" href="push_back.html#fusion.algorithm.transformation.metafunctions.push_back.header">Header</a>
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">push_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">push_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>push_front</title> <title>push_front</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="push_back.html" title="push_back"> <link rel="previous" href="push_back.html" title="push_back">
<link rel="next" href="../../../tuple.html" title="Tuple"> <link rel="next" href="../../../tuple.html" title="Tuple">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.push_front.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.push_front.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id591438"></a> <a name="id591438"></a>
<a href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.description">Description</a> <a href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.description">Description</a>
=======
<a name="id842360"></a>
=======
<a name="id806967"></a>
=======
<a name="id799343"></a>
=======
<a name="id821988"></a>
=======
<a name="id810651"></a>
=======
<a name="id807374"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/push_front.html" title="push_front"><tt class="computeroutput"><span class="identifier">push_front</span></tt></a>, given the types Returns the result type of <a href="../functions/push_front.html" title="push_front"><tt class="computeroutput"><span class="identifier">push_front</span></tt></a>, given the types
of the input sequence and element to push. of the input sequence and element to push.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.push_front.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.push_front.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id591488"></a> <a name="id591488"></a>
<a href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.synopsis">Synopsis</a> <a href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.synopsis">Synopsis</a>
=======
<a name="id842386"></a>
=======
<a name="id806994"></a>
=======
<a name="id799370"></a>
=======
<a name="id822014"></a>
=======
<a name="id810677"></a>
=======
<a name="id807401"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id591605"></a><p class="title"><b>Table<EFBFBD>1.90.<2E>Parameters</b></p> <a name="id591605"></a><p class="title"><b>Table<EFBFBD>1.90.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id842471"></a><p class="title"><b>Table<EFBFBD>1.90.<2E>Parameters</b></p>
=======
<a name="id807079"></a><p class="title"><b>Table<EFBFBD>1.94.<2E>Parameters</b></p>
=======
<a name="id799455"></a><p class="title"><b>Table<EFBFBD>1.94.<2E>Parameters</b></p>
=======
<a name="id822100"></a><p class="title"><b>Table&#160;1.94.&#160;Parameters</b></p>
=======
<a name="id810763"></a><p class="title"><b>Table&#160;1.94.&#160;Parameters</b></p>
=======
<a name="id807486"></a><p class="title"><b>Table&#160;1.94.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,18 +180,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.push_front.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.push_front.expression_semantics"></a><h6>
<a name="id591745"></a> <a name="id591745"></a>
<a href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.expression_semantics">Expression <a href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.push_front.expression_semantics"></a><h6>
<a name="id807600"></a>
<a class="link" href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="push_front.html" title="push_front"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">push_front</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="push_front.html" title="push_front"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">push_front</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence with the <span class="bold"><b>Semantics</b></span>: Returns a sequence with the
elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt> elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
@ -116,19 +221,48 @@
added to the beginning. added to the beginning.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.push_front.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.push_front.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id591890"></a> <a name="id591890"></a>
<a href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.complexity">Complexity</a> <a href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.complexity">Complexity</a>
=======
<a name="id843841"></a>
=======
<a name="id807315"></a>
=======
<a name="id799691"></a>
=======
<a name="id822336"></a>
=======
<a name="id810999"></a>
=======
<a name="id807722"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<p> <a name="fusion.algorithm.transformation.metafunctions.push_front.header"></a><h6>
/algorithm/transformation/push_front.hpp&gt; <a name="id807741"></a>
</p> <a class="link" href="push_front.html#fusion.algorithm.transformation.metafunctions.push_front.header">Header</a>
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">push_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">push_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>remove</title> <title>remove</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="replace_if.html" title="replace_if"> <link rel="previous" href="replace_if.html" title="replace_if">
<link rel="next" href="remove_if.html" title="remove_if"> <link rel="next" href="remove_if.html" title="remove_if">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.remove.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.remove.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id582961"></a> <a name="id582961"></a>
<a href="remove.html#fusion.algorithm.transformation.metafunctions.remove.description">Description</a> <a href="remove.html#fusion.algorithm.transformation.metafunctions.remove.description">Description</a>
=======
<a name="id834671"></a>
=======
<a name="id798411"></a>
=======
<a name="id790787"></a>
=======
<a name="id812311"></a>
=======
<a name="id802066"></a>
=======
<a name="id798789"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove.html#fusion.algorithm.transformation.metafunctions.remove.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/remove.html" title="remove"><tt class="computeroutput"><span class="identifier">remove</span></tt></a>, given the sequence and Returns the result type of <a href="../functions/remove.html" title="remove"><tt class="computeroutput"><span class="identifier">remove</span></tt></a>, given the sequence and
removal types. removal types.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.remove.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.remove.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id583010"></a> <a name="id583010"></a>
<a href="remove.html#fusion.algorithm.transformation.metafunctions.remove.synopsis">Synopsis</a> <a href="remove.html#fusion.algorithm.transformation.metafunctions.remove.synopsis">Synopsis</a>
=======
<a name="id834701"></a>
=======
<a name="id798441"></a>
=======
<a name="id790817"></a>
=======
<a name="id812341"></a>
=======
<a name="id802096"></a>
=======
<a name="id798819"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove.html#fusion.algorithm.transformation.metafunctions.remove.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id583126"></a><p class="title"><b>Table<EFBFBD>1.79.<2E>Parameters</b></p> <a name="id583126"></a><p class="title"><b>Table<EFBFBD>1.79.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id834789"></a><p class="title"><b>Table<EFBFBD>1.79.<2E>Parameters</b></p>
=======
<a name="id798529"></a><p class="title"><b>Table<EFBFBD>1.83.<2E>Parameters</b></p>
=======
<a name="id790905"></a><p class="title"><b>Table<EFBFBD>1.83.<2E>Parameters</b></p>
=======
<a name="id812428"></a><p class="title"><b>Table&#160;1.83.&#160;Parameters</b></p>
=======
<a name="id802184"></a><p class="title"><b>Table&#160;1.83.&#160;Parameters</b></p>
=======
<a name="id798907"></a><p class="title"><b>Table&#160;1.83.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,18 +180,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.remove.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.remove.expression_semantics"></a><h6>
<a name="id583263"></a> <a name="id583263"></a>
<a href="remove.html#fusion.algorithm.transformation.metafunctions.remove.expression_semantics">Expression <a href="remove.html#fusion.algorithm.transformation.metafunctions.remove.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.remove.expression_semantics"></a><h6>
<a name="id799020"></a>
<a class="link" href="remove.html#fusion.algorithm.transformation.metafunctions.remove.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="remove.html" title="remove"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">remove</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="remove.html" title="remove"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">remove</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing <span class="bold"><b>Semantics</b></span>: Returns a sequence containing
the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt> the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
@ -117,15 +222,65 @@
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span></tt>. <span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.remove.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.remove.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id583520"></a> <a name="id583520"></a>
<a href="remove.html#fusion.algorithm.transformation.metafunctions.remove.complexity">Complexity</a> <a href="remove.html#fusion.algorithm.transformation.metafunctions.remove.complexity">Complexity</a>
=======
<a name="id835077"></a>
=======
<a name="id798845"></a>
=======
<a name="id791220"></a>
=======
<a name="id812744"></a>
=======
<a name="id802499"></a>
=======
<a name="id799223"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove.html#fusion.algorithm.transformation.metafunctions.remove.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.remove.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.remove.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id583549"></a> <a name="id583549"></a>
<a href="remove.html#fusion.algorithm.transformation.metafunctions.remove.header">Header</a> <a href="remove.html#fusion.algorithm.transformation.metafunctions.remove.header">Header</a>
=======
<a name="id835098"></a>
=======
<a name="id798866"></a>
=======
<a name="id791242"></a>
=======
<a name="id812766"></a>
=======
<a name="id802521"></a>
=======
<a name="id799244"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove.html#fusion.algorithm.transformation.metafunctions.remove.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">remove</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">remove</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">remove</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">remove</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -133,7 +288,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>remove_if</title> <title>remove_if</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="remove.html" title="remove"> <link rel="previous" href="remove.html" title="remove">
<link rel="next" href="reverse.html" title="reverse"> <link rel="next" href="reverse.html" title="reverse">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.remove_if.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.remove_if.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id583737"></a> <a name="id583737"></a>
<a href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.description">Description</a> <a href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.description">Description</a>
=======
<a name="id835227"></a>
=======
<a name="id798995"></a>
=======
<a name="id791370"></a>
=======
<a name="id812894"></a>
=======
<a name="id802649"></a>
=======
<a name="id799373"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">remove_if</span></tt></a>, given the input sequence Returns the result type of <a href="../functions/remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">remove_if</span></tt></a>, given the input sequence
@ -39,8 +72,33 @@
Lambda Expression</a> predicate types. Lambda Expression</a> predicate types.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.remove_if.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.remove_if.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id583793"></a> <a name="id583793"></a>
<a href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.synopsis">Synopsis</a> <a href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.synopsis">Synopsis</a>
=======
<a name="id835258"></a>
=======
<a name="id799026"></a>
=======
<a name="id791402"></a>
=======
<a name="id812925"></a>
=======
<a name="id802681"></a>
=======
<a name="id799404"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -52,8 +110,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id583911"></a><p class="title"><b>Table<EFBFBD>1.80.<2E>Parameters</b></p> <a name="id583911"></a><p class="title"><b>Table<EFBFBD>1.80.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id835343"></a><p class="title"><b>Table<EFBFBD>1.80.<2E>Parameters</b></p>
=======
<a name="id799111"></a><p class="title"><b>Table<EFBFBD>1.84.<2E>Parameters</b></p>
=======
<a name="id791487"></a><p class="title"><b>Table<EFBFBD>1.84.<2E>Parameters</b></p>
=======
<a name="id813010"></a><p class="title"><b>Table&#160;1.84.&#160;Parameters</b></p>
=======
<a name="id802766"></a><p class="title"><b>Table&#160;1.84.&#160;Parameters</b></p>
=======
<a name="id799489"></a><p class="title"><b>Table&#160;1.84.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -99,18 +182,40 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.remove_if.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.remove_if.expression_semantics"></a><h6>
<a name="id584087"></a> <a name="id584087"></a>
<a href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.expression_semantics">Expression <a href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.remove_if.expression_semantics"></a><h6>
<a name="id801062"></a>
<a class="link" href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">remove_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">remove_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing <span class="bold"><b>Semantics</b></span>: Returns a sequence containing
the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt> the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
@ -118,15 +223,65 @@
to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></tt>. to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.remove_if.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.remove_if.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id584268"></a> <a name="id584268"></a>
<a href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.complexity">Complexity</a> <a href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.complexity">Complexity</a>
=======
<a name="id835598"></a>
=======
<a name="id799393"></a>
=======
<a name="id791769"></a>
=======
<a name="id814727"></a>
=======
<a name="id804482"></a>
=======
<a name="id801205"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.remove_if.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.remove_if.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id584298"></a> <a name="id584298"></a>
<a href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.header">Header</a> <a href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.header">Header</a>
=======
<a name="id835617"></a>
=======
<a name="id799412"></a>
=======
<a name="id792130"></a>
=======
<a name="id814746"></a>
=======
<a name="id804501"></a>
=======
<a name="id801224"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="remove_if.html#fusion.algorithm.transformation.metafunctions.remove_if.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">remove_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">remove_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">remove_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">remove_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -134,7 +289,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>replace</title> <title>replace</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="transform.html" title="transform"> <link rel="previous" href="transform.html" title="transform">
<link rel="next" href="replace_if.html" title="replace_if"> <link rel="next" href="replace_if.html" title="replace_if">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.replace.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.replace.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id581560"></a> <a name="id581560"></a>
<a href="replace.html#fusion.algorithm.transformation.metafunctions.replace.description">Description</a> <a href="replace.html#fusion.algorithm.transformation.metafunctions.replace.description">Description</a>
=======
<a name="id833067"></a>
=======
<a name="id797423"></a>
=======
<a name="id789798"></a>
=======
<a name="id811322"></a>
=======
<a name="id801077"></a>
=======
<a name="id797801"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace.html#fusion.algorithm.transformation.metafunctions.replace.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/replace.html" title="replace"><tt class="computeroutput"><span class="identifier">replace</span></tt></a>, given the types of Returns the result type of <a href="../functions/replace.html" title="replace"><tt class="computeroutput"><span class="identifier">replace</span></tt></a>, given the types of
the input sequence and element to replace. the input sequence and element to replace.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.replace.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.replace.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id581610"></a> <a name="id581610"></a>
<a href="replace.html#fusion.algorithm.transformation.metafunctions.replace.synopsis">Synopsis</a> <a href="replace.html#fusion.algorithm.transformation.metafunctions.replace.synopsis">Synopsis</a>
=======
<a name="id833096"></a>
=======
<a name="id797451"></a>
=======
<a name="id789827"></a>
=======
<a name="id811351"></a>
=======
<a name="id801106"></a>
=======
<a name="id797829"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace.html#fusion.algorithm.transformation.metafunctions.replace.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -51,8 +109,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id581727"></a><p class="title"><b>Table<EFBFBD>1.77.<2E>Parameters</b></p> <a name="id581727"></a><p class="title"><b>Table<EFBFBD>1.77.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id833184"></a><p class="title"><b>Table<EFBFBD>1.77.<2E>Parameters</b></p>
=======
<a name="id797539"></a><p class="title"><b>Table<EFBFBD>1.81.<2E>Parameters</b></p>
=======
<a name="id789915"></a><p class="title"><b>Table<EFBFBD>1.81.<2E>Parameters</b></p>
=======
<a name="id811438"></a><p class="title"><b>Table&#160;1.81.&#160;Parameters</b></p>
=======
<a name="id801194"></a><p class="title"><b>Table&#160;1.81.&#160;Parameters</b></p>
=======
<a name="id797917"></a><p class="title"><b>Table&#160;1.81.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -97,9 +180,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.replace.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.replace.expression_semantics"></a><h6>
<a name="id581868"></a> <a name="id581868"></a>
<a href="replace.html#fusion.algorithm.transformation.metafunctions.replace.expression_semantics">Expression <a href="replace.html#fusion.algorithm.transformation.metafunctions.replace.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.replace.expression_semantics"></a><h6>
<a name="id798030"></a>
<a class="link" href="replace.html#fusion.algorithm.transformation.metafunctions.replace.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="replace.html" title="replace"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">replace</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="replace.html" title="replace"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">replace</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -114,15 +203,65 @@
<a href="../functions/replace.html" title="replace"><tt class="computeroutput"><span class="identifier">replace</span></tt></a>. <a href="../functions/replace.html" title="replace"><tt class="computeroutput"><span class="identifier">replace</span></tt></a>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.replace.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.replace.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id582006"></a> <a name="id582006"></a>
<a href="replace.html#fusion.algorithm.transformation.metafunctions.replace.complexity">Complexity</a> <a href="replace.html#fusion.algorithm.transformation.metafunctions.replace.complexity">Complexity</a>
=======
<a name="id833383"></a>
=======
<a name="id797738"></a>
=======
<a name="id790114"></a>
=======
<a name="id811638"></a>
=======
<a name="id801393"></a>
=======
<a name="id798116"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace.html#fusion.algorithm.transformation.metafunctions.replace.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.replace.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.replace.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id582036"></a> <a name="id582036"></a>
<a href="replace.html#fusion.algorithm.transformation.metafunctions.replace.header">Header</a> <a href="replace.html#fusion.algorithm.transformation.metafunctions.replace.header">Header</a>
=======
<a name="id833402"></a>
=======
<a name="id797757"></a>
=======
<a name="id790133"></a>
=======
<a name="id811657"></a>
=======
<a name="id801412"></a>
=======
<a name="id798135"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace.html#fusion.algorithm.transformation.metafunctions.replace.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">replace</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">replace</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">replace</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">replace</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -130,7 +269,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>replace_if</title> <title>replace_if</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="replace.html" title="replace"> <link rel="previous" href="replace.html" title="replace">
<link rel="next" href="remove.html" title="remove"> <link rel="next" href="remove.html" title="remove">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.replace_if.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.replace_if.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id582222"></a> <a name="id582222"></a>
<a href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.description">Description</a> <a href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.description">Description</a>
=======
<a name="id833535"></a>
=======
<a name="id797891"></a>
=======
<a name="id790266"></a>
=======
<a name="id811790"></a>
=======
<a name="id801545"></a>
=======
<a name="id798269"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">replace_if</span></tt></a>, given the types Returns the result type of <a href="../functions/replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">replace_if</span></tt></a>, given the types
@ -40,8 +73,33 @@
Function Object</a> predicate and replacement object. Function Object</a> predicate and replacement object.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.replace_if.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.replace_if.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id582281"></a> <a name="id582281"></a>
<a href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.synopsis">Synopsis</a> <a href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.synopsis">Synopsis</a>
=======
<a name="id833567"></a>
=======
<a name="id797922"></a>
=======
<a name="id790298"></a>
=======
<a name="id811821"></a>
=======
<a name="id801577"></a>
=======
<a name="id798300"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -53,8 +111,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id582414"></a><p class="title"><b>Table<EFBFBD>1.78.<2E>Parameters</b></p> <a name="id582414"></a><p class="title"><b>Table<EFBFBD>1.78.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id833664"></a><p class="title"><b>Table<EFBFBD>1.78.<2E>Parameters</b></p>
=======
<a name="id798019"></a><p class="title"><b>Table<EFBFBD>1.82.<2E>Parameters</b></p>
=======
<a name="id790395"></a><p class="title"><b>Table<EFBFBD>1.82.<2E>Parameters</b></p>
=======
<a name="id811918"></a><p class="title"><b>Table&#160;1.82.&#160;Parameters</b></p>
=======
<a name="id801674"></a><p class="title"><b>Table&#160;1.82.&#160;Parameters</b></p>
=======
<a name="id798397"></a><p class="title"><b>Table&#160;1.82.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -112,9 +195,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.replace_if.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.replace_if.expression_semantics"></a><h6>
<a name="id582597"></a> <a name="id582597"></a>
<a href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.expression_semantics">Expression <a href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.replace_if.expression_semantics"></a><h6>
<a name="id798546"></a>
<a class="link" href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">replace_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span><span class="identifier">F</span><span class="special">,</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">replace_if</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span><span class="identifier">F</span><span class="special">,</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -129,15 +218,65 @@
<a href="../functions/replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">replace_if</span></tt></a>. <a href="../functions/replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">replace_if</span></tt></a>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.replace_if.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.replace_if.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id582746"></a> <a name="id582746"></a>
<a href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.complexity">Complexity</a> <a href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.complexity">Complexity</a>
=======
<a name="id834524"></a>
=======
<a name="id798264"></a>
=======
<a name="id790640"></a>
=======
<a name="id812163"></a>
=======
<a name="id801919"></a>
=======
<a name="id798642"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.replace_if.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.replace_if.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id582775"></a> <a name="id582775"></a>
<a href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.header">Header</a> <a href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.header">Header</a>
=======
<a name="id834543"></a>
=======
<a name="id798283"></a>
=======
<a name="id790659"></a>
=======
<a name="id812182"></a>
=======
<a name="id801938"></a>
=======
<a name="id798661"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="replace_if.html#fusion.algorithm.transformation.metafunctions.replace_if.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">replace_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">replace_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">replace_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">replace_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -145,7 +284,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>reverse</title> <title>reverse</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="remove_if.html" title="remove_if"> <link rel="previous" href="remove_if.html" title="remove_if">
<link rel="next" href="clear.html" title="clear"> <link rel="next" href="clear.html" title="clear">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.reverse.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.reverse.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id584483"></a> <a name="id584483"></a>
<a href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.description">Description</a> <a href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.description">Description</a>
=======
<a name="id835745"></a>
=======
<a name="id799882"></a>
=======
<a name="id792258"></a>
=======
<a name="id814874"></a>
=======
<a name="id804630"></a>
=======
<a name="id801353"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">reverse</span></tt></a>, given the input sequence Returns the result type of <a href="../functions/reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">reverse</span></tt></a>, given the input sequence
type. type.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.reverse.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.reverse.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id584530"></a> <a name="id584530"></a>
<a href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.synopsis">Synopsis</a> <a href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.synopsis">Synopsis</a>
=======
<a name="id835774"></a>
=======
<a name="id799911"></a>
=======
<a name="id792287"></a>
=======
<a name="id814903"></a>
=======
<a name="id804658"></a>
=======
<a name="id801382"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span>
@ -50,8 +108,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id584629"></a><p class="title"><b>Table<EFBFBD>1.81.<2E>Parameters</b></p> <a name="id584629"></a><p class="title"><b>Table<EFBFBD>1.81.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id835848"></a><p class="title"><b>Table<EFBFBD>1.81.<2E>Parameters</b></p>
=======
<a name="id799986"></a><p class="title"><b>Table<EFBFBD>1.85.<2E>Parameters</b></p>
=======
<a name="id792361"></a><p class="title"><b>Table<EFBFBD>1.85.<2E>Parameters</b></p>
=======
<a name="id814977"></a><p class="title"><b>Table&#160;1.85.&#160;Parameters</b></p>
=======
<a name="id804733"></a><p class="title"><b>Table&#160;1.85.&#160;Parameters</b></p>
=======
<a name="id801456"></a><p class="title"><b>Table&#160;1.85.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -83,32 +166,109 @@
</tr></tbody> </tr></tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.reverse.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.reverse.expression_semantics"></a><h6>
<a name="id584731"></a> <a name="id584731"></a>
<a href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.expression_semantics">Expression <a href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.reverse.expression_semantics"></a><h6>
<a name="id801539"></a>
<a class="link" href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">reverse</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">reverse</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional
Sequence">Bidirectional Sequence">Bidirectional
Sequence</a>. Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
is a <a class="link" href="../../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional
Sequence</a> else, <a class="link" href="../../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
is a <a class="link" href="../../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a sequence with the <span class="bold"><b>Semantics</b></span>: Returns a sequence with the
elements in the reverse order to <tt class="computeroutput"><span class="identifier">Sequence</span></tt>. elements in the reverse order to <tt class="computeroutput"><span class="identifier">Sequence</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.reverse.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.reverse.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id584854"></a> <a name="id584854"></a>
<a href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.complexity">Complexity</a> <a href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.complexity">Complexity</a>
=======
<a name="id836008"></a>
=======
<a name="id800173"></a>
=======
<a name="id792549"></a>
=======
<a name="id815193"></a>
=======
<a name="id804949"></a>
=======
<a name="id801672"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.reverse.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.reverse.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id584884"></a> <a name="id584884"></a>
<a href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.header">Header</a> <a href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.header">Header</a>
=======
<a name="id836027"></a>
=======
<a name="id800192"></a>
=======
<a name="id792568"></a>
=======
<a name="id815213"></a>
=======
<a name="id804968"></a>
=======
<a name="id801691"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="reverse.html#fusion.algorithm.transformation.metafunctions.reverse.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">reverse</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">reverse</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">reverse</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">reverse</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -116,7 +276,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>transform</title> <title>transform</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="filter_if.html" title="filter_if"> <link rel="previous" href="filter_if.html" title="filter_if">
<link rel="next" href="replace.html" title="replace"> <link rel="next" href="replace.html" title="replace">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.transform.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.transform.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id579541"></a> <a name="id579541"></a>
<a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.description">Description</a> <a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.description">Description</a>
=======
<a name="id831637"></a>
=======
<a name="id793780"></a>
=======
<a name="id786155"></a>
=======
<a name="id809864"></a>
=======
<a name="id797980"></a>
=======
<a name="id794704"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.metafunctions.transform.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and
@ -41,8 +74,33 @@
of <tt class="computeroutput"><span class="identifier">seq</span></tt>. of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.transform.unary_version_synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.transform.unary_version_synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id579655"></a> <a name="id579655"></a>
<a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.unary_version_synopsis">Unary <a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.unary_version_synopsis">Unary
=======
<a name="id831708"></a>
=======
<a name="id793850"></a>
=======
<a name="id786226"></a>
=======
<a name="id809934"></a>
=======
<a name="id798051"></a>
=======
<a name="id794774"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.metafunctions.transform.unary_version_synopsis">Unary
>>>>>>> .merge-right.r57125
version synopsis</a> version synopsis</a>
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -53,8 +111,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id579855"></a><p class="title"><b>Table<EFBFBD>1.75.<2E>Parameters</b></p> <a name="id579855"></a><p class="title"><b>Table<EFBFBD>1.75.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id831849"></a><p class="title"><b>Table<EFBFBD>1.75.<2E>Parameters</b></p>
=======
<a name="id793992"></a><p class="title"><b>Table<EFBFBD>1.79.<2E>Parameters</b></p>
=======
<a name="id786368"></a><p class="title"><b>Table<EFBFBD>1.79.<2E>Parameters</b></p>
=======
<a name="id810076"></a><p class="title"><b>Table&#160;1.79.&#160;Parameters</b></p>
=======
<a name="id798193"></a><p class="title"><b>Table&#160;1.79.&#160;Parameters</b></p>
=======
<a name="id794916"></a><p class="title"><b>Table&#160;1.79.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -102,26 +185,73 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<<<<<<< .working
<a name="fusion.algorithm.transformation.metafunctions.transform.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.transform.expression_semantics"></a><h6>
<a name="id580126"></a> <a name="id580126"></a>
<a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.expression_semantics">Expression <a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.transformation.metafunctions.transform.expression_semantics"></a><h6>
<a name="id795119"></a>
<a class="link" href="transform.html#fusion.algorithm.transformation.metafunctions.transform.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="../functions/transform.html" title="transform"><tt class="computeroutput"><span class="identifier">transform</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span> <pre class="programlisting"><a href="../functions/transform.html" title="transform"><tt class="computeroutput"><span class="identifier">transform</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<p> <p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward <span class="bold"><b>Return type</b></span>: A model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
Sequence</a> Sequence</a>
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p> </p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>
</li>
<li class="listitem">
A model of <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence</span></code>
implements the <a class="link" href="../../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a> model.
</li>
</ul></div>
<p> <p>
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing <span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
the return values of <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">e</span><span class="special">)</span></tt> for each element <tt class="computeroutput"><span class="identifier">e</span></tt> the return values of <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">e</span><span class="special">)</span></tt> for each element <tt class="computeroutput"><span class="identifier">e</span></tt>
within <tt class="computeroutput"><span class="identifier">seq</span></tt>. within <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.transform.binary_version_synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.transform.binary_version_synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id580282"></a> <a name="id580282"></a>
<a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.binary_version_synopsis">Binary <a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.binary_version_synopsis">Binary
=======
<a name="id832152"></a>
=======
<a name="id794322"></a>
=======
<a name="id786698"></a>
=======
<a name="id810406"></a>
=======
<a name="id798523"></a>
=======
<a name="id795246"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.metafunctions.transform.binary_version_synopsis">Binary
>>>>>>> .merge-right.r57125
version synopsis</a> version synopsis</a>
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -133,8 +263,33 @@
<span class="identifier">Sequence1</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">Sequence2</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq2</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span> <span class="identifier">Sequence1</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">Sequence2</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq2</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
</pre> </pre>
<div class="table"> <div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id580547"></a><p class="title"><b>Table<EFBFBD>1.76.<2E>Parameters</b></p> <a name="id580547"></a><p class="title"><b>Table<EFBFBD>1.76.<2E>Parameters</b></p>
<table class="table" summary="Parameters"> <table class="table" summary="Parameters">
=======
<a name="id832341"></a><p class="title"><b>Table<EFBFBD>1.76.<2E>Parameters</b></p>
=======
<a name="id794512"></a><p class="title"><b>Table<EFBFBD>1.80.<2E>Parameters</b></p>
=======
<a name="id786887"></a><p class="title"><b>Table<EFBFBD>1.80.<2E>Parameters</b></p>
=======
<a name="id810596"></a><p class="title"><b>Table&#160;1.80.&#160;Parameters</b></p>
=======
<a name="id798712"></a><p class="title"><b>Table&#160;1.80.&#160;Parameters</b></p>
=======
<a name="id795436"></a><p class="title"><b>Table&#160;1.80.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup> <colgroup>
<col> <col>
<col> <col>
@ -207,22 +362,97 @@
within <tt class="computeroutput"><span class="identifier">seq1</span></tt> and <tt class="computeroutput"><span class="identifier">seq2</span></tt> respectively. within <tt class="computeroutput"><span class="identifier">seq1</span></tt> and <tt class="computeroutput"><span class="identifier">seq2</span></tt> respectively.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.transform.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.transform.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id581034"></a> <a name="id581034"></a>
<a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.complexity">Complexity</a> <a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.complexity">Complexity</a>
=======
<a name="id832692"></a>
=======
<a name="id794862"></a>
=======
<a name="id787238"></a>
=======
<a name="id810946"></a>
=======
<a name="id800702"></a>
=======
<a name="id797425"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.metafunctions.transform.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Returns a view which is lazily evaluated. Constant. Returns a view which is lazily evaluated.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.transform.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.transform.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id581061"></a> <a name="id581061"></a>
<a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.header">Header</a> <a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.header">Header</a>
=======
<a name="id832711"></a>
=======
<a name="id794881"></a>
=======
<a name="id787257"></a>
=======
<a name="id810965"></a>
=======
<a name="id800721"></a>
=======
<a name="id797444"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.metafunctions.transform.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">transform</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">transform</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">transform</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">transform</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.metafunctions.transform.example"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.transform.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id581227"></a> <a name="id581227"></a>
<a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.example">Example</a> <a href="transform.html#fusion.algorithm.transformation.metafunctions.transform.example">Example</a>
=======
<a name="id832831"></a>
=======
<a name="id795001"></a>
=======
<a name="id787377"></a>
=======
<a name="id811086"></a>
=======
<a name="id800841"></a>
=======
<a name="id797564"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="transform.html#fusion.algorithm.transformation.metafunctions.transform.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">triple</span> <pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">triple</span>
<span class="special">{</span> <span class="special">{</span>
@ -239,7 +469,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>zip</title> <title>zip</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="join.html" title="join"> <link rel="previous" href="join.html" title="join">
<link rel="next" href="pop_back.html" title="pop_back"> <link rel="next" href="pop_back.html" title="pop_back">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.algorithm.transformation.metafunctions.zip.description"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.zip.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id589205"></a> <a name="id589205"></a>
<a href="zip.html#fusion.algorithm.transformation.metafunctions.zip.description">Description</a> <a href="zip.html#fusion.algorithm.transformation.metafunctions.zip.description">Description</a>
=======
<a name="id840803"></a>
=======
<a name="id803934"></a>
=======
<a name="id796310"></a>
=======
<a name="id818955"></a>
=======
<a name="id808710"></a>
=======
<a name="id805433"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="zip.html#fusion.algorithm.transformation.metafunctions.zip.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Zips sequences together to form a single sequence, whos members are tuples Zips sequences together to form a single sequence, whos members are tuples
of the members of the component sequences. of the members of the component sequences.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.zip.synopsis"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.zip.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id589236"></a> <a name="id589236"></a>
<a href="zip.html#fusion.algorithm.transformation.metafunctions.zip.synopsis">Synopsis</a> <a href="zip.html#fusion.algorithm.transformation.metafunctions.zip.synopsis">Synopsis</a>
=======
<a name="id840825"></a>
=======
<a name="id803956"></a>
=======
<a name="id796332"></a>
=======
<a name="id818976"></a>
=======
<a name="id808732"></a>
=======
<a name="id805455"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="zip.html#fusion.algorithm.transformation.metafunctions.zip.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span> <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence1</span><span class="special">,</span>
@ -53,8 +111,33 @@
<span class="special">};</span> <span class="special">};</span>
</pre> </pre>
<a name="fusion.algorithm.transformation.metafunctions.zip.expression_semantics"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.zip.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id589385"></a> <a name="id589385"></a>
<a href="zip.html#fusion.algorithm.transformation.metafunctions.zip.expression_semantics">Expression <a href="zip.html#fusion.algorithm.transformation.metafunctions.zip.expression_semantics">Expression
=======
<a name="id840934"></a>
=======
<a name="id804065"></a>
=======
<a name="id796441"></a>
=======
<a name="id819086"></a>
=======
<a name="id808841"></a>
=======
<a name="id805564"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="zip.html#fusion.algorithm.transformation.metafunctions.zip.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><a href="zip.html" title="zip"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">zip</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence1</span><span class="special">,</span> <span class="identifier">Sequence2</span><span class="special">,</span> <span class="special">...</span> <span class="identifier">SequenceN</span><span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><a href="zip.html" title="zip"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">zip</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence1</span><span class="special">,</span> <span class="identifier">Sequence2</span><span class="special">,</span> <span class="special">...</span> <span class="identifier">SequenceN</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -75,15 +158,65 @@
<span class="char">'c'</span><span class="special">))</span></tt> <span class="char">'c'</span><span class="special">))</span></tt>
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.zip.complexity"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.zip.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id589698"></a> <a name="id589698"></a>
<a href="zip.html#fusion.algorithm.transformation.metafunctions.zip.complexity">Complexity</a> <a href="zip.html#fusion.algorithm.transformation.metafunctions.zip.complexity">Complexity</a>
=======
<a name="id841154"></a>
=======
<a name="id804285"></a>
=======
<a name="id796660"></a>
=======
<a name="id819305"></a>
=======
<a name="id809061"></a>
=======
<a name="id805784"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="zip.html#fusion.algorithm.transformation.metafunctions.zip.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constant. Constant.
</p> </p>
<a name="fusion.algorithm.transformation.metafunctions.zip.header"></a><h6> <a name="fusion.algorithm.transformation.metafunctions.zip.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id589725"></a> <a name="id589725"></a>
<a href="zip.html#fusion.algorithm.transformation.metafunctions.zip.header">Header</a> <a href="zip.html#fusion.algorithm.transformation.metafunctions.zip.header">Header</a>
=======
<a name="id841175"></a>
=======
<a name="id804306"></a>
=======
<a name="id796682"></a>
=======
<a name="id819327"></a>
=======
<a name="id809082"></a>
=======
<a name="id805805"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="zip.html#fusion.algorithm.transformation.metafunctions.zip.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">zip</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">zip</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">zip</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">zip</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -91,7 +224,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Change log</title> <title>Change log</title>
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="previous" href="notes.html" title="Notes"> <link rel="previous" href="notes.html" title="Notes">

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Container</title> <title>Container</title>
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="previous" href="sequence/operator/comparison/greater_than_equal.html" title="greater <link rel="previous" href="sequence/operator/comparison/greater_than_equal.html" title="greater
@ -52,10 +56,17 @@
actually hold heterogenously typed data; unlike <a href="view.html" title="View">Views</a>. actually hold heterogenously typed data; unlike <a href="view.html" title="View">Views</a>.
These containers are more or less counterparts of those in <a href="http://en.wikipedia.org/wiki/Standard_Template_Library" target="_top">STL</a>. These containers are more or less counterparts of those in <a href="http://en.wikipedia.org/wiki/Standard_Template_Library" target="_top">STL</a>.
</p> </p>
<<<<<<< .working
<a name="fusion.container.header"></a><h3> <a name="fusion.container.header"></a><h3>
<a name="id478616"></a> <a name="id478616"></a>
<a href="container.html#fusion.container.header">Header</a> <a href="container.html#fusion.container.header">Header</a>
</h3> </h3>
=======
<a name="fusion.container.header"></a><h4>
<a name="id684983"></a>
<a class="link" href="container.html#fusion.container.header">Header</a>
</h4>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">container</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">container</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>cons</title> <title>cons</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../container.html" title="Container"> <link rel="up" href="../container.html" title="Container">
<link rel="previous" href="vector.html" title="vector"> <link rel="previous" href="vector.html" title="vector">
@ -22,6 +26,7 @@
<div class="spirit-nav"> <div class="spirit-nav">
<a accesskey="p" href="vector.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../container.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="list.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a> <a accesskey="p" href="vector.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../container.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="list.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
</div> </div>
<<<<<<< .working
<div class="section" lang="en"> <div class="section" lang="en">
<div class="titlepage"> <div class="titlepage">
<div><div><h3 class="title"> <div><div><h3 class="title">
@ -33,6 +38,16 @@
<a name="id481484"></a> <a name="id481484"></a>
<a href="cons.html#fusion.container.cons.description">Description</a> <a href="cons.html#fusion.container.cons.description">Description</a>
</h4> </h4>
=======
<div class="section" title="cons">
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.container.cons"></a><a class="link" href="cons.html" title="cons">cons</a>
</h3></div></div></div>
<a name="fusion.container.cons.description"></a><h5>
<a name="id687663"></a>
<a class="link" href="cons.html#fusion.container.cons.description">Description</a>
</h5>
>>>>>>> .merge-right.r57125
<p> <p>
<tt class="computeroutput"><span class="identifier">cons</span></tt> is a simple <a href="../sequence/concepts/forward_sequence.html" title="Forward <tt class="computeroutput"><span class="identifier">cons</span></tt> is a simple <a href="../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence">Forward
@ -45,24 +60,45 @@
each element is peculiarly constant (see <a href="../notes.html#fusion.notes.recursive_inlined_functions">Recursive each element is peculiarly constant (see <a href="../notes.html#fusion.notes.recursive_inlined_functions">Recursive
Inlined Functions</a>). Inlined Functions</a>).
</p> </p>
<<<<<<< .working
<a name="fusion.container.cons.header"></a><h4> <a name="fusion.container.cons.header"></a><h4>
<a name="id481626"></a> <a name="id481626"></a>
<a href="cons.html#fusion.container.cons.header">Header</a> <a href="cons.html#fusion.container.cons.header">Header</a>
</h4> </h4>
=======
<a name="fusion.container.cons.header"></a><h5>
<a name="id687744"></a>
<a class="link" href="cons.html#fusion.container.cons.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">/</span><span class="identifier">cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">/</span><span class="identifier">cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.container.cons.synopsis"></a><h4> <a name="fusion.container.cons.synopsis"></a><h4>
<a name="id481791"></a> <a name="id481791"></a>
<a href="cons.html#fusion.container.cons.synopsis">Synopsis</a> <a href="cons.html#fusion.container.cons.synopsis">Synopsis</a>
</h4> </h4>
=======
<a name="fusion.container.cons.synopsis"></a><h5>
<a name="id687860"></a>
<a class="link" href="cons.html#fusion.container.cons.synopsis">Synopsis</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Car</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Cdr</span> <span class="special">=</span> <span class="identifier">nil</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Car</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Cdr</span> <span class="special">=</span> <span class="identifier">nil</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">cons</span><span class="special">;</span> <span class="keyword">struct</span> <span class="identifier">cons</span><span class="special">;</span>
</pre> </pre>
<<<<<<< .working
<a name="fusion.container.cons.template_parameters"></a><h4> <a name="fusion.container.cons.template_parameters"></a><h4>
<a name="id481898"></a> <a name="id481898"></a>
<a href="cons.html#fusion.container.cons.template_parameters">Template parameters</a> <a href="cons.html#fusion.container.cons.template_parameters">Template parameters</a>
</h4> </h4>
=======
<a name="fusion.container.cons.template_parameters"></a><h5>
<a name="id687934"></a>
<a class="link" href="cons.html#fusion.container.cons.template_parameters">Template parameters</a>
</h5>
>>>>>>> .merge-right.r57125
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
<col> <col>
@ -104,6 +140,7 @@
</tr> </tr>
</tbody> </tbody>
</table></div> </table></div>
<<<<<<< .working
<a name="fusion.container.cons.model_of"></a><h4> <a name="fusion.container.cons.model_of"></a><h4>
<a name="id482046"></a> <a name="id482046"></a>
<a href="cons.html#fusion.container.cons.model_of">Model of</a> <a href="cons.html#fusion.container.cons.model_of">Model of</a>
@ -111,6 +148,14 @@
<div class="itemizedlist"><ul type="disc"><li><a href="../sequence/concepts/forward_sequence.html" title="Forward <div class="itemizedlist"><ul type="disc"><li><a href="../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward Sequence</a></li></ul></div> Sequence">Forward Sequence</a></li></ul></div>
<div class="variablelist"> <div class="variablelist">
=======
<a name="fusion.container.cons.model_of"></a><h5>
<a name="id688054"></a>
<a class="link" href="cons.html#fusion.container.cons.model_of">Model of</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward Sequence</a></li></ul></div>
<div class="variablelist" title="Notation">
>>>>>>> .merge-right.r57125
<p class="title"><b>Notation</b></p> <p class="title"><b>Notation</b></p>
<dl> <dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">nil</span></tt></span></dt> <dt><span class="term"><tt class="computeroutput"><span class="identifier">nil</span></tt></span></dt>
@ -146,10 +191,17 @@
</p></dd> </p></dd>
</dl> </dl>
</div> </div>
<<<<<<< .working
<a name="fusion.container.cons.expression_semantics"></a><h4> <a name="fusion.container.cons.expression_semantics"></a><h4>
<a name="id482328"></a> <a name="id482328"></a>
<a href="cons.html#fusion.container.cons.expression_semantics">Expression Semantics</a> <a href="cons.html#fusion.container.cons.expression_semantics">Expression Semantics</a>
</h4> </h4>
=======
<a name="fusion.container.cons.expression_semantics"></a><h5>
<a name="id688258"></a>
<a class="link" href="cons.html#fusion.container.cons.expression_semantics">Expression Semantics</a>
</h5>
>>>>>>> .merge-right.r57125
<p> <p>
Semantics of an expression is defined only where it differs from, or is not Semantics of an expression is defined only where it differs from, or is not
defined in <a href="../sequence/concepts/forward_sequence.html" title="Forward defined in <a href="../sequence/concepts/forward_sequence.html" title="Forward
@ -248,11 +300,20 @@
Access Sequence">Random Access Sequence">Random
Access Sequence</a> requirement). The runtime complexity of <a href="../sequence/intrinsic/functions/at.html" title="at"><tt class="computeroutput"><span class="identifier">at</span></tt></a> is constant (see <a href="../notes.html#fusion.notes.recursive_inlined_functions">Recursive Access Sequence</a> requirement). The runtime complexity of <a href="../sequence/intrinsic/functions/at.html" title="at"><tt class="computeroutput"><span class="identifier">at</span></tt></a> is constant (see <a href="../notes.html#fusion.notes.recursive_inlined_functions">Recursive
Inlined Functions</a>). Inlined Functions</a>).
<<<<<<< .working
</p></div> </p></div>
<a name="fusion.container.cons.example"></a><h4> <a name="fusion.container.cons.example"></a><h4>
<a name="id482977"></a> <a name="id482977"></a>
<a href="cons.html#fusion.container.cons.example">Example</a> <a href="cons.html#fusion.container.cons.example">Example</a>
</h4> </h4>
=======
</p>
</div>
<a name="fusion.container.cons.example"></a><h5>
<a name="id688721"></a>
<a class="link" href="cons.html#fusion.container.cons.example">Example</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="identifier">cons</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">cons</span><span class="special">&lt;</span><span class="keyword">float</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">l</span><span class="special">(</span><span class="number">12</span><span class="special">,</span> <span class="identifier">cons</span><span class="special">&lt;</span><span class="keyword">float</span><span class="special">&gt;(</span><span class="number">5.5f</span><span class="special">));</span> <pre class="programlisting"><span class="identifier">cons</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">cons</span><span class="special">&lt;</span><span class="keyword">float</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">l</span><span class="special">(</span><span class="number">12</span><span class="special">,</span> <span class="identifier">cons</span><span class="special">&lt;</span><span class="keyword">float</span><span class="special">&gt;(</span><span class="number">5.5f</span><span class="special">));</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">l</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">0</span><span class="special">&gt;(</span><span class="identifier">l</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">l</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">l</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Conversion</title> <title>Conversion</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../container.html" title="Container"> <link rel="up" href="../container.html" title="Container">
<link rel="previous" href="generation/metafunctions/map_tie.html" title="map_tie"> <link rel="previous" href="generation/metafunctions/map_tie.html" title="map_tie">
@ -37,10 +41,17 @@
All fusion sequences can be converted to one of the <a href="../container.html" title="Container">Container</a> All fusion sequences can be converted to one of the <a href="../container.html" title="Container">Container</a>
types using one of these conversion functions. types using one of these conversion functions.
</p> </p>
<<<<<<< .working
<a name="fusion.container.conversion.header"></a><h4> <a name="fusion.container.conversion.header"></a><h4>
<a name="id511157"></a> <a name="id511157"></a>
<a href="conversion.html#fusion.container.conversion.header">Header</a> <a href="conversion.html#fusion.container.conversion.header">Header</a>
</h4> </h4>
=======
<a name="fusion.container.conversion.header"></a><h5>
<a name="id717528"></a>
<a class="link" href="conversion.html#fusion.container.conversion.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
</div> </div>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Functions</title> <title>Functions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../conversion.html" title="Conversion"> <link rel="up" href="../conversion.html" title="Conversion">
<link rel="previous" href="../conversion.html" title="Conversion"> <link rel="previous" href="../conversion.html" title="Conversion">

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>as_list</title> <title>as_list</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="../functions.html" title="Functions"> <link rel="previous" href="../functions.html" title="Functions">
<link rel="next" href="as_vector.html" title="as_vector"> <link rel="next" href="as_vector.html" title="as_vector">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.conversion.functions.as_list.description"></a><h6> <a name="fusion.container.conversion.functions.as_list.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id511286"></a> <a name="id511286"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.description">Description</a> <a href="as_list.html#fusion.container.conversion.functions.as_list.description">Description</a>
=======
<a name="id762982"></a>
=======
<a name="id725258"></a>
=======
<a name="id717612"></a>
=======
<a name="id739995"></a>
=======
<a name="id728662"></a>
=======
<a name="id725385"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Convert a fusion sequence to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>. Convert a fusion sequence to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.functions.as_list.synopsis"></a><h6> <a name="fusion.container.conversion.functions.as_list.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id511333"></a> <a name="id511333"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.synopsis">Synopsis</a> <a href="as_list.html#fusion.container.conversion.functions.as_list.synopsis">Synopsis</a>
=======
<a name="id763010"></a>
=======
<a name="id725287"></a>
=======
<a name="id717641"></a>
=======
<a name="id740024"></a>
=======
<a name="id728690"></a>
=======
<a name="id725414"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_list</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_list</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -49,8 +107,33 @@
<span class="identifier">as_list</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="identifier">as_list</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<a name="fusion.container.conversion.functions.as_list.parameters"></a><h6> <a name="fusion.container.conversion.functions.as_list.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id511589"></a> <a name="id511589"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.parameters">Parameters</a> <a href="as_list.html#fusion.container.conversion.functions.as_list.parameters">Parameters</a>
=======
<a name="id763193"></a>
=======
<a name="id725470"></a>
=======
<a name="id717824"></a>
=======
<a name="id740207"></a>
=======
<a name="id728873"></a>
=======
<a name="id725596"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -82,8 +165,33 @@
</tr></tbody> </tr></tbody>
</table></div> </table></div>
<a name="fusion.container.conversion.functions.as_list.expression_semantics"></a><h6> <a name="fusion.container.conversion.functions.as_list.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id511694"></a> <a name="id511694"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.expression_semantics">Expression <a href="as_list.html#fusion.container.conversion.functions.as_list.expression_semantics">Expression
=======
<a name="id763279"></a>
=======
<a name="id725556"></a>
=======
<a name="id717910"></a>
=======
<a name="id740293"></a>
=======
<a name="id728959"></a>
=======
<a name="id725682"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">as_list</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">as_list</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@ -96,22 +204,72 @@
<tt class="computeroutput"><span class="identifier">seq</span></tt>, to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>. <tt class="computeroutput"><span class="identifier">seq</span></tt>, to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.functions.as_list.header"></a><h6> <a name="fusion.container.conversion.functions.as_list.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id511852"></a> <a name="id511852"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.header">Header</a> <a href="as_list.html#fusion.container.conversion.functions.as_list.header">Header</a>
=======
<a name="id763379"></a>
=======
<a name="id725656"></a>
=======
<a name="id718010"></a>
=======
<a name="id740393"></a>
=======
<a name="id729059"></a>
=======
<a name="id725782"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.conversion.functions.as_list.example"></a><h6> <a name="fusion.container.conversion.functions.as_list.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512018"></a> <a name="id512018"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.example">Example</a> <a href="as_list.html#fusion.container.conversion.functions.as_list.example">Example</a>
=======
<a name="id763494"></a>
=======
<a name="id725771"></a>
=======
<a name="id718125"></a>
=======
<a name="id740508"></a>
=======
<a name="id729174"></a>
=======
<a name="id725897"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">as_list</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">))</span> <pre class="programlisting"><span class="identifier">as_list</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">))</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>as_map</title> <title>as_map</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="as_set.html" title="as_set"> <link rel="previous" href="as_set.html" title="as_set">
<link rel="next" href="../metafunctions.html" title="Metafunctions"> <link rel="next" href="../metafunctions.html" title="Metafunctions">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.conversion.functions.as_map.description"></a><h6> <a name="fusion.container.conversion.functions.as_map.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513836"></a> <a name="id513836"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.description">Description</a> <a href="as_map.html#fusion.container.conversion.functions.as_map.description">Description</a>
=======
<a name="id764820"></a>
=======
<a name="id727097"></a>
=======
<a name="id719451"></a>
=======
<a name="id742858"></a>
=======
<a name="id730500"></a>
=======
<a name="id727224"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Convert a fusion sequence to a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a>. Convert a fusion sequence to a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.functions.as_map.synopsis"></a><h6> <a name="fusion.container.conversion.functions.as_map.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513883"></a> <a name="id513883"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.synopsis">Synopsis</a> <a href="as_map.html#fusion.container.conversion.functions.as_map.synopsis">Synopsis</a>
=======
<a name="id764849"></a>
=======
<a name="id727126"></a>
=======
<a name="id719480"></a>
=======
<a name="id742887"></a>
=======
<a name="id730529"></a>
=======
<a name="id727252"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_map</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_map</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -49,8 +107,33 @@
<span class="identifier">as_map</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="identifier">as_map</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<a name="fusion.container.conversion.functions.as_map.parameters"></a><h6> <a name="fusion.container.conversion.functions.as_map.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514138"></a> <a name="id514138"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.parameters">Parameters</a> <a href="as_map.html#fusion.container.conversion.functions.as_map.parameters">Parameters</a>
=======
<a name="id765029"></a>
=======
<a name="id727306"></a>
=======
<a name="id719660"></a>
=======
<a name="id743067"></a>
=======
<a name="id730709"></a>
=======
<a name="id727432"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -82,8 +165,33 @@
</tr></tbody> </tr></tbody>
</table></div> </table></div>
<a name="fusion.container.conversion.functions.as_map.expression_semantics"></a><h6> <a name="fusion.container.conversion.functions.as_map.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514243"></a> <a name="id514243"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.expression_semantics">Expression <a href="as_map.html#fusion.container.conversion.functions.as_map.expression_semantics">Expression
=======
<a name="id765113"></a>
=======
<a name="id727390"></a>
=======
<a name="id719744"></a>
=======
<a name="id743151"></a>
=======
<a name="id730793"></a>
=======
<a name="id727516"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">as_map</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">as_map</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@ -101,15 +209,65 @@
There may be no duplicate <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a> key types. There may be no duplicate <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a> key types.
</p> </p>
<a name="fusion.container.conversion.functions.as_map.header"></a><h6> <a name="fusion.container.conversion.functions.as_map.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514447"></a> <a name="id514447"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.header">Header</a> <a href="as_map.html#fusion.container.conversion.functions.as_map.header">Header</a>
=======
<a name="id765243"></a>
=======
<a name="id727520"></a>
=======
<a name="id719874"></a>
=======
<a name="id743281"></a>
=======
<a name="id730923"></a>
=======
<a name="id727646"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">map</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">map</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.conversion.functions.as_map.example"></a><h6> <a name="fusion.container.conversion.functions.as_map.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514613"></a> <a name="id514613"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.example">Example</a> <a href="as_map.html#fusion.container.conversion.functions.as_map.example">Example</a>
=======
<a name="id765358"></a>
=======
<a name="id727635"></a>
=======
<a name="id719989"></a>
=======
<a name="id743396"></a>
=======
<a name="id731038"></a>
=======
<a name="id727761"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">as_map</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span> <pre class="programlisting"><span class="identifier">as_map</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span>
<a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">make_pair</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="char">'X'</span><span class="special">)</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">make_pair</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="char">'X'</span><span class="special">)</span>
@ -118,7 +276,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>as_set</title> <title>as_set</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="as_vector.html" title="as_vector"> <link rel="previous" href="as_vector.html" title="as_vector">
<link rel="next" href="as_map.html" title="as_map"> <link rel="next" href="as_map.html" title="as_map">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.conversion.functions.as_set.description"></a><h6> <a name="fusion.container.conversion.functions.as_set.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512981"></a> <a name="id512981"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.description">Description</a> <a href="as_set.html#fusion.container.conversion.functions.as_set.description">Description</a>
=======
<a name="id764160"></a>
=======
<a name="id726506"></a>
=======
<a name="id718860"></a>
=======
<a name="id742267"></a>
=======
<a name="id729909"></a>
=======
<a name="id726632"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Convert a fusion sequence to a <a href="../../set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a>. Convert a fusion sequence to a <a href="../../set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.functions.as_set.synopsis"></a><h6> <a name="fusion.container.conversion.functions.as_set.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513027"></a> <a name="id513027"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.synopsis">Synopsis</a> <a href="as_set.html#fusion.container.conversion.functions.as_set.synopsis">Synopsis</a>
=======
<a name="id764189"></a>
=======
<a name="id726534"></a>
=======
<a name="id718888"></a>
=======
<a name="id742295"></a>
=======
<a name="id729938"></a>
=======
<a name="id726661"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -49,8 +107,33 @@
<span class="identifier">as_set</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="identifier">as_set</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<a name="fusion.container.conversion.functions.as_set.parameters"></a><h6> <a name="fusion.container.conversion.functions.as_set.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513282"></a> <a name="id513282"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.parameters">Parameters</a> <a href="as_set.html#fusion.container.conversion.functions.as_set.parameters">Parameters</a>
=======
<a name="id764438"></a>
=======
<a name="id726714"></a>
=======
<a name="id719068"></a>
=======
<a name="id742475"></a>
=======
<a name="id730118"></a>
=======
<a name="id726841"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -82,8 +165,33 @@
</tr></tbody> </tr></tbody>
</table></div> </table></div>
<a name="fusion.container.conversion.functions.as_set.expression_semantics"></a><h6> <a name="fusion.container.conversion.functions.as_set.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513387"></a> <a name="id513387"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.expression_semantics">Expression <a href="as_set.html#fusion.container.conversion.functions.as_set.expression_semantics">Expression
=======
<a name="id764522"></a>
=======
<a name="id726798"></a>
=======
<a name="id719152"></a>
=======
<a name="id742559"></a>
=======
<a name="id730202"></a>
=======
<a name="id726925"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">as_set</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">as_set</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@ -100,22 +208,72 @@
key types. key types.
</p> </p>
<a name="fusion.container.conversion.functions.as_set.header"></a><h6> <a name="fusion.container.conversion.functions.as_set.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513556"></a> <a name="id513556"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.header">Header</a> <a href="as_set.html#fusion.container.conversion.functions.as_set.header">Header</a>
=======
<a name="id764631"></a>
=======
<a name="id726908"></a>
=======
<a name="id719262"></a>
=======
<a name="id742669"></a>
=======
<a name="id730311"></a>
=======
<a name="id727034"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">set</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">set</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.conversion.functions.as_set.example"></a><h6> <a name="fusion.container.conversion.functions.as_set.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513722"></a> <a name="id513722"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.example">Example</a> <a href="as_set.html#fusion.container.conversion.functions.as_set.example">Example</a>
=======
<a name="id764746"></a>
=======
<a name="id727023"></a>
=======
<a name="id719377"></a>
=======
<a name="id742784"></a>
=======
<a name="id730426"></a>
=======
<a name="id727149"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">as_set</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">))</span> <pre class="programlisting"><span class="identifier">as_set</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">))</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>as_vector</title> <title>as_vector</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="as_list.html" title="as_list"> <link rel="previous" href="as_list.html" title="as_list">
<link rel="next" href="as_set.html" title="as_set"> <link rel="next" href="as_set.html" title="as_set">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.conversion.functions.as_vector.description"></a><h6> <a name="fusion.container.conversion.functions.as_vector.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512133"></a> <a name="id512133"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.description">Description</a> <a href="as_vector.html#fusion.container.conversion.functions.as_vector.description">Description</a>
=======
<a name="id763568"></a>
=======
<a name="id725845"></a>
=======
<a name="id718199"></a>
=======
<a name="id740582"></a>
=======
<a name="id729248"></a>
=======
<a name="id725972"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Convert a fusion sequence to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>. Convert a fusion sequence to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.functions.as_vector.synopsis"></a><h6> <a name="fusion.container.conversion.functions.as_vector.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512180"></a> <a name="id512180"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.synopsis">Synopsis</a> <a href="as_vector.html#fusion.container.conversion.functions.as_vector.synopsis">Synopsis</a>
=======
<a name="id763600"></a>
=======
<a name="id725876"></a>
=======
<a name="id718230"></a>
=======
<a name="id740613"></a>
=======
<a name="id729280"></a>
=======
<a name="id726003"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_vector</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_vector</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -49,8 +107,33 @@
<span class="identifier">as_vector</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span> <span class="identifier">as_vector</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre> </pre>
<a name="fusion.container.conversion.functions.as_vector.parameters"></a><h6> <a name="fusion.container.conversion.functions.as_vector.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512435"></a> <a name="id512435"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.parameters">Parameters</a> <a href="as_vector.html#fusion.container.conversion.functions.as_vector.parameters">Parameters</a>
=======
<a name="id763784"></a>
=======
<a name="id726061"></a>
=======
<a name="id718415"></a>
=======
<a name="id740798"></a>
=======
<a name="id729464"></a>
=======
<a name="id726188"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -82,8 +165,33 @@
</tr></tbody> </tr></tbody>
</table></div> </table></div>
<a name="fusion.container.conversion.functions.as_vector.expression_semantics"></a><h6> <a name="fusion.container.conversion.functions.as_vector.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512541"></a> <a name="id512541"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.expression_semantics">Expression <a href="as_vector.html#fusion.container.conversion.functions.as_vector.expression_semantics">Expression
=======
<a name="id763871"></a>
=======
<a name="id726148"></a>
=======
<a name="id718502"></a>
=======
<a name="id740885"></a>
=======
<a name="id729551"></a>
=======
<a name="id726274"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">as_vector</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">as_vector</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@ -96,22 +204,72 @@
<tt class="computeroutput"><span class="identifier">seq</span></tt>, to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>. <tt class="computeroutput"><span class="identifier">seq</span></tt>, to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.functions.as_vector.header"></a><h6> <a name="fusion.container.conversion.functions.as_vector.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512700"></a> <a name="id512700"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.header">Header</a> <a href="as_vector.html#fusion.container.conversion.functions.as_vector.header">Header</a>
=======
<a name="id763970"></a>
=======
<a name="id726247"></a>
=======
<a name="id718601"></a>
=======
<a name="id742077"></a>
=======
<a name="id729719"></a>
=======
<a name="id726442"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">vector</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">vector</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.conversion.functions.as_vector.example"></a><h6> <a name="fusion.container.conversion.functions.as_vector.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512866"></a> <a name="id512866"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.example">Example</a> <a href="as_vector.html#fusion.container.conversion.functions.as_vector.example">Example</a>
=======
<a name="id764086"></a>
=======
<a name="id726431"></a>
=======
<a name="id718785"></a>
=======
<a name="id742192"></a>
=======
<a name="id729834"></a>
=======
<a name="id726558"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">as_vector</span><span class="special">(</span><a href="../../generation/functions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">make_list</span></tt></a><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">))</span> <pre class="programlisting"><span class="identifier">as_vector</span><span class="special">(</span><a href="../../generation/functions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">make_list</span></tt></a><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">))</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Metafunctions</title> <title>Metafunctions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../conversion.html" title="Conversion"> <link rel="up" href="../conversion.html" title="Conversion">
<link rel="previous" href="functions/as_map.html" title="as_map"> <link rel="previous" href="functions/as_map.html" title="as_map">

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>as_list</title> <title>as_list</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="../metafunctions.html" title="Metafunctions"> <link rel="previous" href="../metafunctions.html" title="Metafunctions">
<link rel="next" href="as_vector.html" title="as_vector"> <link rel="next" href="as_vector.html" title="as_vector">
@ -30,22 +38,97 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.conversion.metafunctions.as_list.description"></a><h6> <a name="fusion.container.conversion.metafunctions.as_list.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514801"></a> <a name="id514801"></a>
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.description">Description</a> <a href="as_list.html#fusion.container.conversion.metafunctions.as_list.description">Description</a>
=======
<a name="id765479"></a>
=======
<a name="id727756"></a>
=======
<a name="id720110"></a>
=======
<a name="id743517"></a>
=======
<a name="id731159"></a>
=======
<a name="id727882"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/as_list.html" title="as_list"><tt class="computeroutput"><span class="identifier">as_list</span></tt></a>. Returns the result type of <a href="../functions/as_list.html" title="as_list"><tt class="computeroutput"><span class="identifier">as_list</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.metafunctions.as_list.synopsis"></a><h6> <a name="fusion.container.conversion.metafunctions.as_list.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514849"></a> <a name="id514849"></a>
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.synopsis">Synopsis</a> <a href="as_list.html#fusion.container.conversion.metafunctions.as_list.synopsis">Synopsis</a>
=======
<a name="id765510"></a>
=======
<a name="id727787"></a>
=======
<a name="id720141"></a>
=======
<a name="id743548"></a>
=======
<a name="id731190"></a>
=======
<a name="id727914"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">as_list</span><span class="special">;</span> <span class="keyword">struct</span> <span class="identifier">as_list</span><span class="special">;</span>
</pre> </pre>
<a name="fusion.container.conversion.metafunctions.as_list.parameters"></a><h6> <a name="fusion.container.conversion.metafunctions.as_list.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514927"></a> <a name="id514927"></a>
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.parameters">Parameters</a> <a href="as_list.html#fusion.container.conversion.metafunctions.as_list.parameters">Parameters</a>
=======
<a name="id765567"></a>
=======
<a name="id727844"></a>
=======
<a name="id720198"></a>
=======
<a name="id743605"></a>
=======
<a name="id731247"></a>
=======
<a name="id727970"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -77,8 +160,33 @@
</tr></tbody> </tr></tbody>
</table></div> </table></div>
<a name="fusion.container.conversion.metafunctions.as_list.expression_semantics"></a><h6> <a name="fusion.container.conversion.metafunctions.as_list.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id515042"></a> <a name="id515042"></a>
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.expression_semantics">Expression <a href="as_list.html#fusion.container.conversion.metafunctions.as_list.expression_semantics">Expression
=======
<a name="id765657"></a>
=======
<a name="id727934"></a>
=======
<a name="id720288"></a>
=======
<a name="id743695"></a>
=======
<a name="id731337"></a>
=======
<a name="id728060"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_list</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">;</span> <pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_list</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">;</span>
@ -92,22 +200,72 @@
<tt class="computeroutput"><span class="identifier">Sequence</span></tt>, to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>. <tt class="computeroutput"><span class="identifier">Sequence</span></tt>, to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.metafunctions.as_list.header"></a><h6> <a name="fusion.container.conversion.metafunctions.as_list.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id515196"></a> <a name="id515196"></a>
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.header">Header</a> <a href="as_list.html#fusion.container.conversion.metafunctions.as_list.header">Header</a>
=======
<a name="id765756"></a>
=======
<a name="id728033"></a>
=======
<a name="id720387"></a>
=======
<a name="id743794"></a>
=======
<a name="id731436"></a>
=======
<a name="id728160"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.conversion.metafunctions.as_list.example"></a><h6> <a name="fusion.container.conversion.metafunctions.as_list.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id515362"></a> <a name="id515362"></a>
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.example">Example</a> <a href="as_list.html#fusion.container.conversion.metafunctions.as_list.example">Example</a>
=======
<a name="id765876"></a>
=======
<a name="id728153"></a>
=======
<a name="id720507"></a>
=======
<a name="id743914"></a>
=======
<a name="id731556"></a>
=======
<a name="id728280"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_list</span><span class="special">&lt;</span><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_list</span><span class="special">&lt;</span><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>as_map</title> <title>as_map</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="as_set.html" title="as_set"> <link rel="previous" href="as_set.html" title="as_set">
<link rel="next" href="../../../view.html" title="View"> <link rel="next" href="../../../view.html" title="View">
@ -30,22 +38,97 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.conversion.metafunctions.as_map.description"></a><h6> <a name="fusion.container.conversion.metafunctions.as_map.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id516868"></a> <a name="id516868"></a>
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.description">Description</a> <a href="as_map.html#fusion.container.conversion.metafunctions.as_map.description">Description</a>
=======
<a name="id768703"></a>
=======
<a name="id729888"></a>
=======
<a name="id722242"></a>
=======
<a name="id745717"></a>
=======
<a name="id734247"></a>
=======
<a name="id730970"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/as_map.html" title="as_map"><tt class="computeroutput"><span class="identifier">as_map</span></tt></a>. Returns the result type of <a href="../functions/as_map.html" title="as_map"><tt class="computeroutput"><span class="identifier">as_map</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.metafunctions.as_map.synopsis"></a><h6> <a name="fusion.container.conversion.metafunctions.as_map.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id516916"></a> <a name="id516916"></a>
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.synopsis">Synopsis</a> <a href="as_map.html#fusion.container.conversion.metafunctions.as_map.synopsis">Synopsis</a>
=======
<a name="id768734"></a>
=======
<a name="id729919"></a>
=======
<a name="id722273"></a>
=======
<a name="id745748"></a>
=======
<a name="id734278"></a>
=======
<a name="id731001"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">as_map</span><span class="special">;</span> <span class="keyword">struct</span> <span class="identifier">as_map</span><span class="special">;</span>
</pre> </pre>
<a name="fusion.container.conversion.metafunctions.as_map.parameters"></a><h6> <a name="fusion.container.conversion.metafunctions.as_map.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id516994"></a> <a name="id516994"></a>
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.parameters">Parameters</a> <a href="as_map.html#fusion.container.conversion.metafunctions.as_map.parameters">Parameters</a>
=======
<a name="id768791"></a>
=======
<a name="id729975"></a>
=======
<a name="id722329"></a>
=======
<a name="id745804"></a>
=======
<a name="id734334"></a>
=======
<a name="id731057"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -77,8 +160,33 @@
</tr></tbody> </tr></tbody>
</table></div> </table></div>
<a name="fusion.container.conversion.metafunctions.as_map.expression_semantics"></a><h6> <a name="fusion.container.conversion.metafunctions.as_map.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id517108"></a> <a name="id517108"></a>
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.expression_semantics">Expression <a href="as_map.html#fusion.container.conversion.metafunctions.as_map.expression_semantics">Expression
=======
<a name="id768881"></a>
=======
<a name="id730065"></a>
=======
<a name="id722419"></a>
=======
<a name="id745894"></a>
=======
<a name="id734424"></a>
=======
<a name="id731147"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_map</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">;</span> <pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_map</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">;</span>
@ -97,15 +205,65 @@
There may be no duplicate <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a> key types. There may be no duplicate <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a> key types.
</p> </p>
<a name="fusion.container.conversion.metafunctions.as_map.header"></a><h6> <a name="fusion.container.conversion.metafunctions.as_map.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id517307"></a> <a name="id517307"></a>
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.header">Header</a> <a href="as_map.html#fusion.container.conversion.metafunctions.as_map.header">Header</a>
=======
<a name="id769008"></a>
=======
<a name="id730192"></a>
=======
<a name="id722546"></a>
=======
<a name="id746022"></a>
=======
<a name="id734551"></a>
=======
<a name="id731275"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">map</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">map</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.conversion.metafunctions.as_map.example"></a><h6> <a name="fusion.container.conversion.metafunctions.as_map.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id517474"></a> <a name="id517474"></a>
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.example">Example</a> <a href="as_map.html#fusion.container.conversion.metafunctions.as_map.example">Example</a>
=======
<a name="id769126"></a>
=======
<a name="id730310"></a>
=======
<a name="id722664"></a>
=======
<a name="id746139"></a>
=======
<a name="id734669"></a>
=======
<a name="id731392"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_map</span><span class="special">&lt;</span><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span> <pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_map</span><span class="special">&lt;</span><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span>
<a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;</span>
@ -114,7 +272,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>as_set</title> <title>as_set</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="as_vector.html" title="as_vector"> <link rel="previous" href="as_vector.html" title="as_vector">
<link rel="next" href="as_map.html" title="as_map"> <link rel="next" href="as_map.html" title="as_map">
@ -30,22 +38,97 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.conversion.metafunctions.as_set.description"></a><h6> <a name="fusion.container.conversion.metafunctions.as_set.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id516171"></a> <a name="id516171"></a>
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.description">Description</a> <a href="as_set.html#fusion.container.conversion.metafunctions.as_set.description">Description</a>
=======
<a name="id766442"></a>
=======
<a name="id729402"></a>
=======
<a name="id721756"></a>
=======
<a name="id745231"></a>
=======
<a name="id733761"></a>
=======
<a name="id730484"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/as_set.html" title="as_set"><tt class="computeroutput"><span class="identifier">as_set</span></tt></a>. Returns the result type of <a href="../functions/as_set.html" title="as_set"><tt class="computeroutput"><span class="identifier">as_set</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.metafunctions.as_set.synopsis"></a><h6> <a name="fusion.container.conversion.metafunctions.as_set.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id516219"></a> <a name="id516219"></a>
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.synopsis">Synopsis</a> <a href="as_set.html#fusion.container.conversion.metafunctions.as_set.synopsis">Synopsis</a>
=======
<a name="id768248"></a>
=======
<a name="id729433"></a>
=======
<a name="id721787"></a>
=======
<a name="id745262"></a>
=======
<a name="id733792"></a>
=======
<a name="id730515"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">as_set</span><span class="special">;</span> <span class="keyword">struct</span> <span class="identifier">as_set</span><span class="special">;</span>
</pre> </pre>
<a name="fusion.container.conversion.metafunctions.as_set.parameters"></a><h6> <a name="fusion.container.conversion.metafunctions.as_set.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id516297"></a> <a name="id516297"></a>
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.parameters">Parameters</a> <a href="as_set.html#fusion.container.conversion.metafunctions.as_set.parameters">Parameters</a>
=======
<a name="id768305"></a>
=======
<a name="id729489"></a>
=======
<a name="id721843"></a>
=======
<a name="id745318"></a>
=======
<a name="id733848"></a>
=======
<a name="id730571"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -77,8 +160,33 @@
</tr></tbody> </tr></tbody>
</table></div> </table></div>
<a name="fusion.container.conversion.metafunctions.as_set.expression_semantics"></a><h6> <a name="fusion.container.conversion.metafunctions.as_set.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id516412"></a> <a name="id516412"></a>
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.expression_semantics">Expression <a href="as_set.html#fusion.container.conversion.metafunctions.as_set.expression_semantics">Expression
=======
<a name="id768395"></a>
=======
<a name="id729579"></a>
=======
<a name="id721933"></a>
=======
<a name="id745408"></a>
=======
<a name="id733938"></a>
=======
<a name="id730661"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">;</span> <pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">;</span>
@ -96,22 +204,72 @@
key types. key types.
</p> </p>
<a name="fusion.container.conversion.metafunctions.as_set.header"></a><h6> <a name="fusion.container.conversion.metafunctions.as_set.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id516578"></a> <a name="id516578"></a>
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.header">Header</a> <a href="as_set.html#fusion.container.conversion.metafunctions.as_set.header">Header</a>
=======
<a name="id768502"></a>
=======
<a name="id729686"></a>
=======
<a name="id722040"></a>
=======
<a name="id745515"></a>
=======
<a name="id734045"></a>
=======
<a name="id730768"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">set</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">set</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.conversion.metafunctions.as_set.example"></a><h6> <a name="fusion.container.conversion.metafunctions.as_set.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id516744"></a> <a name="id516744"></a>
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.example">Example</a> <a href="as_set.html#fusion.container.conversion.metafunctions.as_set.example">Example</a>
=======
<a name="id768619"></a>
=======
<a name="id729804"></a>
=======
<a name="id722158"></a>
=======
<a name="id745633"></a>
=======
<a name="id734163"></a>
=======
<a name="id730886"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special">&lt;</span><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special">&lt;</span><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>as_vector</title> <title>as_vector</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions"> <link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="as_list.html" title="as_list"> <link rel="previous" href="as_list.html" title="as_list">
<link rel="next" href="as_set.html" title="as_set"> <link rel="next" href="as_set.html" title="as_set">
@ -30,22 +38,97 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.conversion.metafunctions.as_vector.description"></a><h6> <a name="fusion.container.conversion.metafunctions.as_vector.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id515486"></a> <a name="id515486"></a>
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.description">Description</a> <a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.description">Description</a>
=======
<a name="id765960"></a>
=======
<a name="id728237"></a>
=======
<a name="id720591"></a>
=======
<a name="id743998"></a>
=======
<a name="id731640"></a>
=======
<a name="id728364"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Returns the result type of <a href="../functions/as_vector.html" title="as_vector"><tt class="computeroutput"><span class="identifier">as_vector</span></tt></a>. Returns the result type of <a href="../functions/as_vector.html" title="as_vector"><tt class="computeroutput"><span class="identifier">as_vector</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.metafunctions.as_vector.synopsis"></a><h6> <a name="fusion.container.conversion.metafunctions.as_vector.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id515533"></a> <a name="id515533"></a>
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.synopsis">Synopsis</a> <a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.synopsis">Synopsis</a>
=======
<a name="id765992"></a>
=======
<a name="id728268"></a>
=======
<a name="id720622"></a>
=======
<a name="id744029"></a>
=======
<a name="id731672"></a>
=======
<a name="id728395"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">as_vector</span><span class="special">;</span> <span class="keyword">struct</span> <span class="identifier">as_vector</span><span class="special">;</span>
</pre> </pre>
<a name="fusion.container.conversion.metafunctions.as_vector.parameters"></a><h6> <a name="fusion.container.conversion.metafunctions.as_vector.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id515612"></a> <a name="id515612"></a>
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.parameters">Parameters</a> <a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.parameters">Parameters</a>
=======
<a name="id766048"></a>
=======
<a name="id728325"></a>
=======
<a name="id720679"></a>
=======
<a name="id744086"></a>
=======
<a name="id731728"></a>
=======
<a name="id728451"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -77,8 +160,33 @@
</tr></tbody> </tr></tbody>
</table></div> </table></div>
<a name="fusion.container.conversion.metafunctions.as_vector.expression_semantics"></a><h6> <a name="fusion.container.conversion.metafunctions.as_vector.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id515724"></a> <a name="id515724"></a>
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.expression_semantics">Expression <a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.expression_semantics">Expression
=======
<a name="id766138"></a>
=======
<a name="id728415"></a>
=======
<a name="id720769"></a>
=======
<a name="id744176"></a>
=======
<a name="id731818"></a>
=======
<a name="id728541"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_vector</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">;</span> <pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_vector</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">;</span>
@ -92,22 +200,72 @@
<tt class="computeroutput"><span class="identifier">Sequence</span></tt>, to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>. <tt class="computeroutput"><span class="identifier">Sequence</span></tt>, to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>.
</p> </p>
<a name="fusion.container.conversion.metafunctions.as_vector.header"></a><h6> <a name="fusion.container.conversion.metafunctions.as_vector.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id515879"></a> <a name="id515879"></a>
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.header">Header</a> <a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.header">Header</a>
=======
<a name="id766238"></a>
=======
<a name="id728514"></a>
=======
<a name="id720868"></a>
=======
<a name="id745027"></a>
=======
<a name="id733557"></a>
=======
<a name="id730280"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">vector</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">vector</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.conversion.metafunctions.as_vector.example"></a><h6> <a name="fusion.container.conversion.metafunctions.as_vector.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id516046"></a> <a name="id516046"></a>
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.example">Example</a> <a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.example">Example</a>
=======
<a name="id766358"></a>
=======
<a name="id729318"></a>
=======
<a name="id721672"></a>
=======
<a name="id745147"></a>
=======
<a name="id733677"></a>
=======
<a name="id730400"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_vector</span><span class="special">&lt;</span><a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_vector</span><span class="special">&lt;</span><a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span>
</pre> </pre>
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Generation</title> <title>Generation</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../container.html" title="Container"> <link rel="up" href="../container.html" title="Container">
<link rel="previous" href="map.html" title="map"> <link rel="previous" href="map.html" title="map">
@ -36,10 +40,17 @@
<p> <p>
These are the functions that you can use to generate various forms of <a href="../container.html" title="Container">Container</a> from elemental values. These are the functions that you can use to generate various forms of <a href="../container.html" title="Container">Container</a> from elemental values.
</p> </p>
<<<<<<< .working
<a name="fusion.container.generation.header"></a><h4> <a name="fusion.container.generation.header"></a><h4>
<a name="id488901"></a> <a name="id488901"></a>
<a href="generation.html#fusion.container.generation.header">Header</a> <a href="generation.html#fusion.container.generation.header">Header</a>
</h4> </h4>
=======
<a name="fusion.container.generation.header"></a><h5>
<a name="id695384"></a>
<a class="link" href="generation.html#fusion.container.generation.header">Header</a>
</h5>
>>>>>>> .merge-right.r57125
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">generation</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">generation</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>

View File

@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Functions</title> <title>Functions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../generation.html" title="Generation"> <link rel="up" href="../generation.html" title="Generation">
<link rel="previous" href="../generation.html" title="Generation"> <link rel="previous" href="../generation.html" title="Generation">

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>list_tie</title> <title>list_tie</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="tiers.html" title="Tiers"> <link rel="previous" href="tiers.html" title="Tiers">
<link rel="next" href="vector_tie.html" title="vector_tie"> <link rel="next" href="vector_tie.html" title="vector_tie">
@ -30,15 +38,65 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.generation.functions.list_tie.description"></a><h6> <a name="fusion.container.generation.functions.list_tie.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id495882"></a> <a name="id495882"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.description">Description</a> <a href="list_tie.html#fusion.container.generation.functions.list_tie.description">Description</a>
=======
<a name="id747130"></a>
=======
<a name="id709543"></a>
=======
<a name="id701897"></a>
=======
<a name="id723167"></a>
=======
<a name="id712942"></a>
=======
<a name="id709666"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Constructs a tie using a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> sequence. Constructs a tie using a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> sequence.
</p> </p>
<a name="fusion.container.generation.functions.list_tie.synopsis"></a><h6> <a name="fusion.container.generation.functions.list_tie.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id495928"></a> <a name="id495928"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.synopsis">Synopsis</a> <a href="list_tie.html#fusion.container.generation.functions.list_tie.synopsis">Synopsis</a>
=======
<a name="id747159"></a>
=======
<a name="id709572"></a>
=======
<a name="id701926"></a>
=======
<a name="id723196"></a>
=======
<a name="id719018"></a>
=======
<a name="id715741"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">TN</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">TN</span><span class="special">&gt;</span>
<a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special">&lt;</span><span class="identifier">T0</span><span class="special">&amp;,</span> <span class="identifier">T1</span><span class="special">&amp;,...</span> <span class="identifier">TN</span><span class="special">&amp;&gt;</span> <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special">&lt;</span><span class="identifier">T0</span><span class="special">&amp;,</span> <span class="identifier">T1</span><span class="special">&amp;,...</span> <span class="identifier">TN</span><span class="special">&amp;&gt;</span>
@ -55,8 +113,33 @@
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span> <pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span>
</pre> </pre>
<a name="fusion.container.generation.functions.list_tie.parameters"></a><h6> <a name="fusion.container.generation.functions.list_tie.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id496242"></a> <a name="id496242"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.parameters">Parameters</a> <a href="list_tie.html#fusion.container.generation.functions.list_tie.parameters">Parameters</a>
=======
<a name="id747378"></a>
=======
<a name="id714742"></a>
=======
<a name="id707096"></a>
=======
<a name="id730571"></a>
=======
<a name="id719238"></a>
=======
<a name="id715961"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -90,8 +173,33 @@
</tr></tbody> </tr></tbody>
</table></div> </table></div>
<a name="fusion.container.generation.functions.list_tie.expression_semantics"></a><h6> <a name="fusion.container.generation.functions.list_tie.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id496416"></a> <a name="id496416"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.expression_semantics">Expression <a href="list_tie.html#fusion.container.generation.functions.list_tie.expression_semantics">Expression
=======
<a name="id748878"></a>
=======
<a name="id714875"></a>
=======
<a name="id707229"></a>
=======
<a name="id730705"></a>
=======
<a name="id719371"></a>
=======
<a name="id716094"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">list_tie</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">list_tie</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
@ -104,15 +212,65 @@
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>. <span class="bold"><b>Semantics</b></span>: Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>.
</p> </p>
<a name="fusion.container.generation.functions.list_tie.header"></a><h6> <a name="fusion.container.generation.functions.list_tie.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id496583"></a> <a name="id496583"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.header">Header</a> <a href="list_tie.html#fusion.container.generation.functions.list_tie.header">Header</a>
=======
<a name="id748987"></a>
=======
<a name="id714984"></a>
=======
<a name="id707339"></a>
=======
<a name="id730814"></a>
=======
<a name="id719480"></a>
=======
<a name="id716203"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">list_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">list_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">list_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">list_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.generation.functions.list_tie.example"></a><h6> <a name="fusion.container.generation.functions.list_tie.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id496750"></a> <a name="id496750"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.example">Example</a> <a href="list_tie.html#fusion.container.generation.functions.list_tie.example">Example</a>
=======
<a name="id749102"></a>
=======
<a name="id715100"></a>
=======
<a name="id707454"></a>
=======
<a name="id730929"></a>
=======
<a name="id719595"></a>
=======
<a name="id716318"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">123</span><span class="special">;</span> <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">123</span><span class="special">;</span>
<span class="keyword">double</span> <span class="identifier">d</span> <span class="special">=</span> <span class="number">123.456</span><span class="special">;</span> <span class="keyword">double</span> <span class="identifier">d</span> <span class="special">=</span> <span class="number">123.456</span><span class="special">;</span>
@ -121,7 +279,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>make_cons</title> <title>make_cons</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="make_list.html" title="make_list"> <link rel="previous" href="make_list.html" title="make_list">
<link rel="next" href="make_vector.html" title="make_vector"> <link rel="next" href="make_vector.html" title="make_vector">
@ -30,8 +38,33 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.generation.functions.make_cons.description"></a><h6> <a name="fusion.container.generation.functions.make_cons.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490215"></a> <a name="id490215"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.description">Description</a> <a href="make_cons.html#fusion.container.generation.functions.make_cons.description">Description</a>
=======
<a name="id741938"></a>
=======
<a name="id703942"></a>
=======
<a name="id696296"></a>
=======
<a name="id718658"></a>
=======
<a name="id708433"></a>
=======
<a name="id705156"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Create a <a href="../../cons.html" title="cons"><tt class="computeroutput"><span class="identifier">cons</span></tt></a> Create a <a href="../../cons.html" title="cons"><tt class="computeroutput"><span class="identifier">cons</span></tt></a>
@ -39,8 +72,33 @@
and optional <tt class="computeroutput"><span class="identifier">cdr</span></tt> (<span class="emphasis"><em>tail</em></span>). and optional <tt class="computeroutput"><span class="identifier">cdr</span></tt> (<span class="emphasis"><em>tail</em></span>).
</p> </p>
<a name="fusion.container.generation.functions.make_cons.synopsis"></a><h6> <a name="fusion.container.generation.functions.make_cons.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490293"></a> <a name="id490293"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.synopsis">Synopsis</a> <a href="make_cons.html#fusion.container.generation.functions.make_cons.synopsis">Synopsis</a>
=======
<a name="id741991"></a>
=======
<a name="id703995"></a>
=======
<a name="id696349"></a>
=======
<a name="id718710"></a>
=======
<a name="id708486"></a>
=======
<a name="id705209"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Car</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Car</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/make_cons.html" title="make_cons"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span></tt></a><span class="special">&lt;</span><span class="identifier">Car</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="keyword">typename</span> <a href="../metafunctions/make_cons.html" title="make_cons"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span></tt></a><span class="special">&lt;</span><span class="identifier">Car</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -51,8 +109,33 @@
<span class="identifier">make_cons</span><span class="special">(</span><span class="identifier">Car</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">car</span><span class="special">,</span> <span class="identifier">Cdr</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">cdr</span><span class="special">);</span> <span class="identifier">make_cons</span><span class="special">(</span><span class="identifier">Car</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">car</span><span class="special">,</span> <span class="identifier">Cdr</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">cdr</span><span class="special">);</span>
</pre> </pre>
<a name="fusion.container.generation.functions.make_cons.parameters"></a><h6> <a name="fusion.container.generation.functions.make_cons.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490624"></a> <a name="id490624"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.parameters">Parameters</a> <a href="make_cons.html#fusion.container.generation.functions.make_cons.parameters">Parameters</a>
=======
<a name="id742229"></a>
=======
<a name="id704232"></a>
=======
<a name="id696586"></a>
=======
<a name="id718948"></a>
=======
<a name="id708724"></a>
=======
<a name="id705447"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -97,8 +180,33 @@
</tbody> </tbody>
</table></div> </table></div>
<a name="fusion.container.generation.functions.make_cons.expression_semantics"></a><h6> <a name="fusion.container.generation.functions.make_cons.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490788"></a> <a name="id490788"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.expression_semantics">Expression <a href="make_cons.html#fusion.container.generation.functions.make_cons.expression_semantics">Expression
=======
<a name="id742358"></a>
=======
<a name="id704362"></a>
=======
<a name="id696716"></a>
=======
<a name="id719078"></a>
=======
<a name="id708853"></a>
=======
<a name="id705576"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">make_cons</span><span class="special">(</span><span class="identifier">car</span><span class="special">,</span> <span class="identifier">cdr</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">make_cons</span><span class="special">(</span><span class="identifier">car</span><span class="special">,</span> <span class="identifier">cdr</span><span class="special">);</span>
@ -112,21 +220,96 @@
(<span class="emphasis"><em>tail</em></span>). (<span class="emphasis"><em>tail</em></span>).
</p> </p>
<a name="fusion.container.generation.functions.make_cons.header"></a><h6> <a name="fusion.container.generation.functions.make_cons.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id491040"></a> <a name="id491040"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.header">Header</a> <a href="make_cons.html#fusion.container.generation.functions.make_cons.header">Header</a>
=======
<a name="id742523"></a>
=======
<a name="id704526"></a>
=======
<a name="id696880"></a>
=======
<a name="id719242"></a>
=======
<a name="id709018"></a>
=======
<a name="id705741"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">make_cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">make_cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">make_cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">make_cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.generation.functions.make_cons.example"></a><h6> <a name="fusion.container.generation.functions.make_cons.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id491206"></a> <a name="id491206"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.example">Example</a> <a href="make_cons.html#fusion.container.generation.functions.make_cons.example">Example</a>
=======
<a name="id742638"></a>
=======
<a name="id704642"></a>
=======
<a name="id696996"></a>
=======
<a name="id719357"></a>
=======
<a name="id709133"></a>
=======
<a name="id705856"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">make_cons</span><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="identifier">make_cons</span><span class="special">(</span><span class="number">123</span><span class="special">))</span> <pre class="programlisting"><span class="identifier">make_cons</span><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="identifier">make_cons</span><span class="special">(</span><span class="number">123</span><span class="special">))</span>
</pre> </pre>
<a name="fusion.container.generation.functions.make_cons.see_also"></a><h6> <a name="fusion.container.generation.functions.make_cons.see_also"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id491279"></a> <a name="id491279"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.see_also">See <a href="make_cons.html#fusion.container.generation.functions.make_cons.see_also">See
=======
<a name="id742688"></a>
=======
<a name="id704692"></a>
=======
<a name="id697046"></a>
=======
<a name="id719408"></a>
=======
<a name="id709183"></a>
=======
<a name="id705906"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.see_also">See
>>>>>>> .merge-right.r57125
also</a> also</a>
</h6> </h6>
<p> <p>
@ -135,7 +318,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

View File

@ -1,10 +1,18 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>make_list</title> <title>make_list</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css"> <link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> <meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0"> <link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions"> <link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="../functions.html" title="Functions"> <link rel="previous" href="../functions.html" title="Functions">
<link rel="next" href="make_cons.html" title="make_cons"> <link rel="next" href="make_cons.html" title="make_cons">
@ -30,16 +38,66 @@
<div></div> <div></div>
</div> </div>
<a name="fusion.container.generation.functions.make_list.description"></a><h6> <a name="fusion.container.generation.functions.make_list.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id489095"></a> <a name="id489095"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.description">Description</a> <a href="make_list.html#fusion.container.generation.functions.make_list.description">Description</a>
=======
<a name="id741155"></a>
=======
<a name="id703159"></a>
=======
<a name="id695513"></a>
=======
<a name="id717875"></a>
=======
<a name="id707646"></a>
=======
<a name="id704369"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.description">Description</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<p> <p>
Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>
from one or more values. from one or more values.
</p> </p>
<a name="fusion.container.generation.functions.make_list.synopsis"></a><h6> <a name="fusion.container.generation.functions.make_list.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id489141"></a> <a name="id489141"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.synopsis">Synopsis</a> <a href="make_list.html#fusion.container.generation.functions.make_list.synopsis">Synopsis</a>
=======
<a name="id741187"></a>
=======
<a name="id703190"></a>
=======
<a name="id695544"></a>
=======
<a name="id717906"></a>
=======
<a name="id707677"></a>
=======
<a name="id704400"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">TN</span><span class="special">&gt;</span> <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">T0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">TN</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_list</span></tt></a><span class="special">&lt;</span><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="keyword">typename</span> <a href="../metafunctions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_list</span></tt></a><span class="special">&lt;</span><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -56,8 +114,33 @@
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span> <pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span>
</pre> </pre>
<a name="fusion.container.generation.functions.make_list.parameters"></a><h6> <a name="fusion.container.generation.functions.make_list.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id489503"></a> <a name="id489503"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.parameters">Parameters</a> <a href="make_list.html#fusion.container.generation.functions.make_list.parameters">Parameters</a>
=======
<a name="id741439"></a>
=======
<a name="id703442"></a>
=======
<a name="id695796"></a>
=======
<a name="id718158"></a>
=======
<a name="id707929"></a>
=======
<a name="id704652"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<div class="informaltable"><table class="table"> <div class="informaltable"><table class="table">
<colgroup> <colgroup>
@ -91,8 +174,33 @@
</tr></tbody> </tr></tbody>
</table></div> </table></div>
<a name="fusion.container.generation.functions.make_list.expression_semantics"></a><h6> <a name="fusion.container.generation.functions.make_list.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id489676"></a> <a name="id489676"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.expression_semantics">Expression <a href="make_list.html#fusion.container.generation.functions.make_list.expression_semantics">Expression
=======
<a name="id741572"></a>
=======
<a name="id703575"></a>
=======
<a name="id695930"></a>
=======
<a name="id718291"></a>
=======
<a name="id708067"></a>
=======
<a name="id704790"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a> Semantics</a>
</h6> </h6>
<pre class="programlisting"><span class="identifier">make_list</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span> <pre class="programlisting"><span class="identifier">make_list</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
@ -104,21 +212,96 @@
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>. <span class="bold"><b>Semantics</b></span>: Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>.
</p> </p>
<a name="fusion.container.generation.functions.make_list.header"></a><h6> <a name="fusion.container.generation.functions.make_list.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id489899"></a> <a name="id489899"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.header">Header</a> <a href="make_list.html#fusion.container.generation.functions.make_list.header">Header</a>
=======
<a name="id741722"></a>
=======
<a name="id703726"></a>
=======
<a name="id696080"></a>
=======
<a name="id718442"></a>
=======
<a name="id708217"></a>
=======
<a name="id704940"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.header">Header</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">make_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">make_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">make_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">make_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre> </pre>
<a name="fusion.container.generation.functions.make_list.example"></a><h6> <a name="fusion.container.generation.functions.make_list.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490065"></a> <a name="id490065"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.example">Example</a> <a href="make_list.html#fusion.container.generation.functions.make_list.example">Example</a>
=======
<a name="id741837"></a>
=======
<a name="id703841"></a>
=======
<a name="id696195"></a>
=======
<a name="id718557"></a>
=======
<a name="id708332"></a>
=======
<a name="id705056"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.example">Example</a>
>>>>>>> .merge-right.r57125
</h6> </h6>
<pre class="programlisting"><span class="identifier">make_list</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">,</span> <span class="number">12.5</span><span class="special">)</span> <pre class="programlisting"><span class="identifier">make_list</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">,</span> <span class="number">12.5</span><span class="special">)</span>
</pre> </pre>
<a name="fusion.container.generation.functions.make_list.see_also"></a><h6> <a name="fusion.container.generation.functions.make_list.see_also"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490139"></a> <a name="id490139"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.see_also">See <a href="make_list.html#fusion.container.generation.functions.make_list.see_also">See
=======
<a name="id741889"></a>
=======
<a name="id703893"></a>
=======
<a name="id696247"></a>
=======
<a name="id718608"></a>
=======
<a name="id708384"></a>
=======
<a name="id705107"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.see_also">See
>>>>>>> .merge-right.r57125
also</a> also</a>
</h6> </h6>
<p> <p>
@ -127,7 +310,7 @@
</div> </div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td> <td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p> Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)

Some files were not shown because too many files have changed in this diff Show More