diff --git a/changelist.txt b/changelist.txt
index fb2cb9d0..0ec99b22 100644
--- a/changelist.txt
+++ b/changelist.txt
@@ -5,3 +5,5 @@ Interface Changes
- 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. Fixes
+ Boost Trac Ticket #3473.
diff --git a/doc/algorithm.qbk b/doc/algorithm.qbk
index 8b68343b..d0ab62ca 100644
--- a/doc/algorithm.qbk
+++ b/doc/algorithm.qbk
@@ -583,8 +583,8 @@ or `__end__(seq)` if there is no such element.
[heading Complexity]
Linear. At most `__result_of_size__
#include <boost/fusion/adapted.hpp> diff --git a/doc/html/fusion/adapted/adapt_assoc.html b/doc/html/fusion/adapted/adapt_assoc.html index 7c792cca..18b58de6 100644 --- a/doc/html/fusion/adapted/adapt_assoc.html +++ b/doc/html/fusion/adapted/adapt_assoc.html @@ -27,7 +27,7 @@ BOOST_FUSION_ADAPT_ASSOC_STRUCT- + Description
@@ -37,7 +37,7 @@ Sequence.
- + Synopsis
BOOST_FUSION_ADAPT_ASSOC_STRUCT( @@ -48,7 +48,7 @@ )- + Semantics
@@ -66,14 +66,14 @@ should be the fully namespace qualified name of the struct to be converted.
- + Header
#include <boost/fusion/adapted/struct/adapt_assoc_struct.hpp> #include <boost/fusion/include/adapt_assoc_struct.hpp>- + Example
namespace demo diff --git a/doc/html/fusion/adapted/adapt_struct.html b/doc/html/fusion/adapted/adapt_struct.html index a0e6fb49..ecb8fea6 100644 --- a/doc/html/fusion/adapted/adapt_struct.html +++ b/doc/html/fusion/adapted/adapt_struct.html @@ -27,7 +27,7 @@ BOOST_FUSION_ADAPT_STRUCT- + Description
@@ -36,7 +36,7 @@ Access Sequence.
- + Synopsis
BOOST_FUSION_ADAPT_STRUCT( @@ -47,7 +47,7 @@ )- + Semantics
@@ -63,14 +63,14 @@ should be the fully namespace qualified name of the struct to be converted.
- + Header
#include <boost/fusion/adapted/struct/adapt_struct.hpp> #include <boost/fusion/include/adapt_struct.hpp>- + Example
namespace demo diff --git a/doc/html/fusion/adapted/boost__array.html b/doc/html/fusion/adapted/boost__array.html index 62f1b863..03d3af56 100644 --- a/doc/html/fusion/adapted/boost__array.html +++ b/doc/html/fusion/adapted/boost__array.html @@ -33,20 +33,20 @@ Access Sequence.- + Header
#include <boost/fusion/adapted/array.hpp> #include <boost/fusion/include/array.hpp>- + Model of
- + Example
boost::array<int,3> arr = {{1,2,3}}; @@ -58,7 +58,7 @@ std::cout <<at_c
<2>(arr) << std::endl;- + See also
diff --git a/doc/html/fusion/adapted/boost__tuple.html b/doc/html/fusion/adapted/boost__tuple.html index 27abf9d7..77927116 100644 --- a/doc/html/fusion/adapted/boost__tuple.html +++ b/doc/html/fusion/adapted/boost__tuple.html @@ -33,19 +33,19 @@ Sequence.
- + Header
#include <boost/fusion/adapted/boost_tuple.hpp> #include <boost/fusion/include/boost_tuple.hpp>- + Model of
- + Example
boost::tuple<int,std::string> example_tuple(101, "hello"); @@ -53,7 +53,7 @@ std::cout << *boost::fusion::next(boost::fusion::begin(example_tuple)) << '\n';- + See also
diff --git a/doc/html/fusion/adapted/mpl_sequence.html b/doc/html/fusion/adapted/mpl_sequence.html index 3258ab23..abb17037 100644 --- a/doc/html/fusion/adapted/mpl_sequence.html +++ b/doc/html/fusion/adapted/mpl_sequence.html @@ -32,14 +32,14 @@ sequences fully conforming fusion sequences.
- + Header
#include <boost/fusion/adapted/mpl.hpp> #include <boost/fusion/include/mpl.hpp>- + Model of
@@ -60,7 +60,7 @@
- + Example
mpl::vector_c<int, 123, 456> vec_c; @@ -73,7 +73,7 @@ std::cout <<at_c
<1>(v) << std::endl;- + See also
diff --git a/doc/html/fusion/adapted/std__pair.html b/doc/html/fusion/adapted/std__pair.html index ac3bef8f..b5a1d1a1 100644 --- a/doc/html/fusion/adapted/std__pair.html +++ b/doc/html/fusion/adapted/std__pair.html @@ -33,20 +33,20 @@ Access Sequence.
- + Header
#include <boost/fusion/adapted/std_pair.hpp> #include <boost/fusion/include/std_pair.hpp>- + Model of
- + Example
std::pair<int, std::string> p(123, "Hola!!!"); @@ -55,7 +55,7 @@ std::cout << p << std::endl;- + See also
diff --git a/doc/html/fusion/algorithm.html b/doc/html/fusion/algorithm.html index 56ead030..3faa3782 100644 --- a/doc/html/fusion/algorithm.html +++ b/doc/html/fusion/algorithm.html @@ -44,7 +44,7 @@
- + Lazy Evaluation
@@ -67,7 +67,7 @@ as we want without incurring a high runtime penalty.
- + Sequence Extension
@@ -90,7 +90,7 @@ functions to convert back to the original sequence type.
- + Header
#include <boost/fusion/algorithm.hpp> diff --git a/doc/html/fusion/algorithm/iteration.html b/doc/html/fusion/algorithm/iteration.html index f7d44766..610b0261 100644 --- a/doc/html/fusion/algorithm/iteration.html +++ b/doc/html/fusion/algorithm/iteration.html @@ -35,7 +35,7 @@ a sequence repeatedly applying an operation to its elements.- + Header
#include <boost/fusion/algorithm/iteration.hpp> diff --git a/doc/html/fusion/algorithm/iteration/functions/accumulate.html b/doc/html/fusion/algorithm/iteration/functions/accumulate.html index c7fda069..211daf32 100644 --- a/doc/html/fusion/algorithm/iteration/functions/accumulate.html +++ b/doc/html/fusion/algorithm/iteration/functions/accumulate.html @@ -27,7 +27,7 @@ accumulate- + Description
@@ -41,7 +41,7 @@ the first call) and each element of
seq
.- + Synopsis
template< @@ -53,7 +53,7 @@ Sequence& seq, State const& initial_state, F const& f);- + Expression Semantics
@@ -156,21 +156,21 @@ are the elements ofseq
.- + Complexity
Linear, exactly
applications of
result_of::size
<Sequence>::valuef
.- + Header
#include <boost/fusion/algorithm/iteration/accumulate.hpp> #include <boost/fusion/include/accumulate.hpp>- + Example
struct make_string diff --git a/doc/html/fusion/algorithm/iteration/functions/fold.html b/doc/html/fusion/algorithm/iteration/functions/fold.html index c10ea7bc..a5dc5922 100644 --- a/doc/html/fusion/algorithm/iteration/functions/fold.html +++ b/doc/html/fusion/algorithm/iteration/functions/fold.html @@ -27,7 +27,7 @@ fold- + Description
@@ -38,7 +38,7 @@ if it is the first call) and each element of
seq
.- + Synopsis
template< @@ -50,7 +50,7 @@ Sequence& seq, State const& initial_state, F const& f);- + Expression Semantics
@@ -153,21 +153,21 @@ are the elements ofseq
.- + Complexity
Linear, exactly
applications of
result_of::size
<Sequence>::valuef
.- + Header
#include <boost/fusion/algorithm/iteration/fold.hpp> #include <boost/fusion/include/fold.hpp>- + Example
struct make_string diff --git a/doc/html/fusion/algorithm/iteration/functions/for_each.html b/doc/html/fusion/algorithm/iteration/functions/for_each.html index 55e7f5b0..21f5afea 100644 --- a/doc/html/fusion/algorithm/iteration/functions/for_each.html +++ b/doc/html/fusion/algorithm/iteration/functions/for_each.html @@ -27,14 +27,14 @@ for_each- + Description
Applies a unary function object to each element of a sequence.
- + Synopsis
template< @@ -45,7 +45,7 @@ Sequence& seq, F const& f);- + Expression Semantics
@@ -126,21 +126,21 @@ inseq
.- + Complexity
Linear, exactly
applications of
result_of::size
<Sequence>::valuef
.- + Header
#include <boost/fusion/algorithm/iteration/for_each.hpp> #include <boost/fusion/include/for_each.hpp>- + Example
struct increment diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html b/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html index b888c1fa..62c43ef6 100644 --- a/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html +++ b/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html @@ -27,14 +27,14 @@ accumulate- + Description
Returns the result type of
accumulate
.- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -149,14 +149,14 @@ and binary function object or function pointer of typeF
.- + Complexity
Linear, exactly
applications of
result_of::size
<Sequence>::valueF
.- + Header
#include <boost/fusion/algorithm/iteration/accumulate.hpp> diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/fold.html b/doc/html/fusion/algorithm/iteration/metafunctions/fold.html index 12be554b..fa65a293 100644 --- a/doc/html/fusion/algorithm/iteration/metafunctions/fold.html +++ b/doc/html/fusion/algorithm/iteration/metafunctions/fold.html @@ -27,14 +27,14 @@ fold- + Description
Returns the result type of
fold
.- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -149,14 +149,14 @@ and binary function object or function pointer of typeF
.- + Complexity
Linear, exactly
applications of
result_of::size
<Sequence>::valueF
.- + Header
#include <boost/fusion/algorithm/iteration/fold.hpp> diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html b/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html index fbfe8143..d15bcd05 100644 --- a/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html +++ b/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html @@ -31,11 +31,11 @@ return type offor_each
is alwaysvoid
.- + Description
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -129,14 +129,14 @@ return type is alwaysvoid
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/iteration/for_each.hpp> diff --git a/doc/html/fusion/algorithm/query.html b/doc/html/fusion/algorithm/query.html index d2443b8e..b8aa272a 100644 --- a/doc/html/fusion/algorithm/query.html +++ b/doc/html/fusion/algorithm/query.html @@ -34,7 +34,7 @@ The query algorithms provide support for searching and analyzing sequences.- + Header
#include <boost/fusion/algorithm/query.hpp> diff --git a/doc/html/fusion/algorithm/query/functions/all.html b/doc/html/fusion/algorithm/query/functions/all.html index a10464e3..ffaf6be6 100644 --- a/doc/html/fusion/algorithm/query/functions/all.html +++ b/doc/html/fusion/algorithm/query/functions/all.html @@ -27,7 +27,7 @@ all- + Description
@@ -38,7 +38,7 @@ element of
seq
.- + Synopsis
template< @@ -49,7 +49,7 @@ Sequence const& seq, F f);- + Expression Semantics
@@ -131,21 +131,21 @@ elemente
inseq
.- + Complexity
Linear. At most
comparisons.
result_of::size
<Sequence>::value- + Header
#include <boost/fusion/algorithm/query/all.hpp> #include <boost/fusion/include/all.hpp>- + Example
struct odd diff --git a/doc/html/fusion/algorithm/query/functions/any.html b/doc/html/fusion/algorithm/query/functions/any.html index 0f8adb33..80045c83 100644 --- a/doc/html/fusion/algorithm/query/functions/any.html +++ b/doc/html/fusion/algorithm/query/functions/any.html @@ -27,7 +27,7 @@ any- + Description
@@ -38,7 +38,7 @@ least one element of
seq
.- + Synopsis
template< @@ -49,7 +49,7 @@ Sequence const& seq, F f);- + Expression semantics
@@ -131,21 +131,21 @@ elemente
inseq
.- + Complexity
Linear. At most
comparisons.
result_of::size
<Sequence>::value- + Header
#include <boost/fusion/algorithm/query/any.hpp> #include <boost/fusion/include/any.hpp>- + Example
struct odd diff --git a/doc/html/fusion/algorithm/query/functions/count.html b/doc/html/fusion/algorithm/query/functions/count.html index 82e45462..6cc902d2 100644 --- a/doc/html/fusion/algorithm/query/functions/count.html +++ b/doc/html/fusion/algorithm/query/functions/count.html @@ -27,14 +27,14 @@ count- + Description
Returns the number of elements of a given type within a sequence.
- + Synopsis
template< @@ -45,7 +45,7 @@ Sequence const& seq, T const& t);- + Expression Semantics
@@ -127,21 +127,21 @@t
inseq
.- + Complexity
Linear. At most
comparisons.
result_of::size
<Sequence>::value- + Header
#include <boost/fusion/algorithm/query/count.hpp> #include <boost/fusion/include/count.hpp>- + Example
constvector
<double,int,int> vec(1.0,2,3); diff --git a/doc/html/fusion/algorithm/query/functions/count_if.html b/doc/html/fusion/algorithm/query/functions/count_if.html index 39b582ff..c62990f1 100644 --- a/doc/html/fusion/algorithm/query/functions/count_if.html +++ b/doc/html/fusion/algorithm/query/functions/count_if.html @@ -27,7 +27,7 @@ count_if- + Description
@@ -35,7 +35,7 @@ a given unary function object evaluates to
true
.- + Synopsis
template< @@ -46,7 +46,7 @@ Sequence const& seq, F f);- + Expression Semantics
@@ -126,21 +126,21 @@ inseq
wheref
evaluates totrue
.- + Complexity
Linear. At most
comparisons.
result_of::size
<Sequence>::value- + Header
#include <boost/fusion/algorithm/query/count_if.hpp> #include <boost/fusion/include/count_if.hpp>- + Example
constvector
<int,int,int> vec(1,2,3); diff --git a/doc/html/fusion/algorithm/query/functions/find.html b/doc/html/fusion/algorithm/query/functions/find.html index 7dedfef1..f1cebaa2 100644 --- a/doc/html/fusion/algorithm/query/functions/find.html +++ b/doc/html/fusion/algorithm/query/functions/find.html @@ -27,14 +27,14 @@ find- + Description
Finds the first element of a given type within a sequence.
- + Synopsis
template< @@ -50,7 +50,7 @@ unspecified find(Sequence& seq);- + Expression Semantics
@@ -131,21 +131,21 @@ to
find_if
<boost::is_same<_, T> >(seq)- + Complexity
Linear. At most
comparisons.
result_of::size
<Sequence>::value- + Header
#include <boost/fusion/algorithm/query/find.hpp> #include <boost/fusion/include/find.hpp>- + Example
constvector
<char,int> vec('a','0'); diff --git a/doc/html/fusion/algorithm/query/functions/find_if.html b/doc/html/fusion/algorithm/query/functions/find_if.html index a13da9ed..ea894ebd 100644 --- a/doc/html/fusion/algorithm/query/functions/find_if.html +++ b/doc/html/fusion/algorithm/query/functions/find_if.html @@ -32,11 +32,11 @@ Lambda Expression evaluates toboost::mpl::true_
.- + Description
- + Synopsis
template< @@ -52,7 +52,7 @@ unspecified find_if(Sequence& seq);- + Expression Semantics
@@ -135,17 +135,22 @@ if there is no such element.- + Complexity
Linear. At most
-comparisons.
result_of::size
<Sequence>::value- /algorithm/query/find_if.hpp> -
++
- + include <boost/fusion/algorithm/query/find_if.hpp> +
+- + include <boost/fusion/include/find_if.hpp> +
+- + Example
constvector
<double,int> vec(1.0,2); diff --git a/doc/html/fusion/algorithm/query/functions/none.html b/doc/html/fusion/algorithm/query/functions/none.html index 668cbd72..6ff7f23a 100644 --- a/doc/html/fusion/algorithm/query/functions/none.html +++ b/doc/html/fusion/algorithm/query/functions/none.html @@ -27,7 +27,7 @@ none- + Description
@@ -38,7 +38,7 @@ element of
seq
.- + Synopsis
template< @@ -49,7 +49,7 @@ Sequence const& seq, F f);- + Expression Semantics
@@ -131,21 +131,21 @@ elemente
inseq
. Result equivalent to!any(seq, f)
.- + Complexity
Linear. At most
comparisons.
result_of::size
<Sequence>::value- + Header
#include <boost/fusion/algorithm/query/none.hpp> #include <boost/fusion/include/none.hpp>- + Example
struct odd diff --git a/doc/html/fusion/algorithm/query/metafunctions/all.html b/doc/html/fusion/algorithm/query/metafunctions/all.html index cf345642..c932cb14 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/all.html +++ b/doc/html/fusion/algorithm/query/metafunctions/all.html @@ -27,14 +27,14 @@ all- + Description
A metafunction returning the result type of
all
.- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -130,14 +130,14 @@ The return type is alwaysbool
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/query/all.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/any.html b/doc/html/fusion/algorithm/query/metafunctions/any.html index 4a7a8932..0076de8f 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/any.html +++ b/doc/html/fusion/algorithm/query/metafunctions/any.html @@ -27,14 +27,14 @@ any- + Description
A metafunction returning the result type of
any
.- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -130,14 +130,14 @@ The return type is alwaysbool
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/query/any.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/count.html b/doc/html/fusion/algorithm/query/metafunctions/count.html index 67750074..f3ffb484 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/count.html +++ b/doc/html/fusion/algorithm/query/metafunctions/count.html @@ -27,7 +27,7 @@ count- + Description
@@ -35,7 +35,7 @@ given the sequence and search types.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -127,14 +127,14 @@int
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/query/count.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/count_if.html b/doc/html/fusion/algorithm/query/metafunctions/count_if.html index 5f2208aa..88d3dcfb 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/count_if.html +++ b/doc/html/fusion/algorithm/query/metafunctions/count_if.html @@ -27,7 +27,7 @@ count_if- + Description
@@ -35,7 +35,7 @@ given the sequence and predicate types.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -127,14 +127,14 @@ alwaysint
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/query/count_if.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/find.html b/doc/html/fusion/algorithm/query/metafunctions/find.html index 775c2c37..f03ccdd6 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/find.html +++ b/doc/html/fusion/algorithm/query/metafunctions/find.html @@ -27,15 +27,15 @@ find- + Description
- Returns the result type of
find
, - given the sequence and search types. + Returns the result type offind
, given the sequence and + search types.- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -129,14 +129,14 @@ if there is no such element.- + Complexity
Linear, at most
comparisons.
result_of::size
<Sequence>::value- + Header
#include <boost/fusion/algorithm/query/find.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/find_if.html b/doc/html/fusion/algorithm/query/metafunctions/find_if.html index b0a87bf1..f53e68f9 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/find_if.html +++ b/doc/html/fusion/algorithm/query/metafunctions/find_if.html @@ -27,15 +27,15 @@ find_if- + Description
- Returns the result type of
find_if
- given the sequence and predicate types. + Returns the result type offind_if
given the sequence and + predicate types.- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -130,14 +130,14 @@ to true. Returnsif there is no such element.
result_of::end
<Sequence>::type- + Complexity
Linear. At most
comparisons.
result_of::size
<Sequence>::value- + Header
#include <boost/fusion/algorithm/query/find_if.hpp> diff --git a/doc/html/fusion/algorithm/query/metafunctions/none.html b/doc/html/fusion/algorithm/query/metafunctions/none.html index 3146a46d..821d967e 100644 --- a/doc/html/fusion/algorithm/query/metafunctions/none.html +++ b/doc/html/fusion/algorithm/query/metafunctions/none.html @@ -27,14 +27,14 @@ none- + Description
A metafunction returning the result type of
none
.- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -130,14 +130,14 @@ The return type is alwaysbool
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/query/none.hpp> diff --git a/doc/html/fusion/algorithm/transformation.html b/doc/html/fusion/algorithm/transformation.html index 5be2503f..7cb55c08 100644 --- a/doc/html/fusion/algorithm/transformation.html +++ b/doc/html/fusion/algorithm/transformation.html @@ -47,7 +47,7 @@- + Header
#include <boost/fusion/algorithm/transformation.hpp> diff --git a/doc/html/fusion/algorithm/transformation/functions/clear.html b/doc/html/fusion/algorithm/transformation/functions/clear.html index da109a5d..0d1ad10b 100644 --- a/doc/html/fusion/algorithm/transformation/functions/clear.html +++ b/doc/html/fusion/algorithm/transformation/functions/clear.html @@ -27,14 +27,14 @@ clear- + Description
clear
returns an empty sequence.- + Synposis
template< @@ -43,7 +43,7 @@ typenameresult_of::clear
<Sequence const>::type clear(Sequence const& seq);- + Expression Semantics
@@ -103,21 +103,21 @@ with no elements.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/clear.hpp> #include <boost/fusion/include/clear.hpp>- + Example
assert(clear
(make_vector
(1,2,3)) ==make_vector
()); diff --git a/doc/html/fusion/algorithm/transformation/functions/erase.html b/doc/html/fusion/algorithm/transformation/functions/erase.html index 9f705b7c..4c190ab2 100644 --- a/doc/html/fusion/algorithm/transformation/functions/erase.html +++ b/doc/html/fusion/algorithm/transformation/functions/erase.html @@ -27,7 +27,7 @@ erase- + Description
@@ -35,7 +35,7 @@ those at a specified iterator, or between two iterators.
- + Synposis
template< @@ -54,7 +54,7 @@ Sequence const& seq, First const& it1, Last const& it2);- + Expression Semantics
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
@@ -156,30 +167,41 @@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 in the range [first
,last
).- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/erase.hpp> #include <boost/fusion/include/erase.hpp>- + Example
constvector
<int, double, char> vec(1, 2.0, 'c'); diff --git a/doc/html/fusion/algorithm/transformation/functions/erase_key.html b/doc/html/fusion/algorithm/transformation/functions/erase_key.html index 5597f11e..10a93363 100644 --- a/doc/html/fusion/algorithm/transformation/functions/erase_key.html +++ b/doc/html/fusion/algorithm/transformation/functions/erase_key.html @@ -27,28 +27,29 @@ erase_key- + Description
- For an Associative - Sequence
seq
, - returns a Forward - Sequence containing all the elements of the original except those - with a given key. + For an associative] + Forward Sequence +seq
, returns a associative] + Forward Sequence + containing all the elements of the original except those with a given + key.- + Synposis
template< typename Key, typename Sequence > -typename result_of::erase_key<Sequence const, Key>::type erase_key(Sequence const& seq); +typenameresult_of::erase_key
<Sequence const, Key>::type erase_key(Sequence const& seq);-Table 1.64. Parameters
+Table 1.68. Parameters
@@ -81,7 +82,8 @@ @@ -112,7 +114,7 @@ - A model of Associative + A model of Forward + Sequence and Associative Sequence
- + Expression Semantics
@@ -120,6 +122,7 @@Return type: A model of Forward + Sequence and Associative Sequence.
@@ -128,21 +131,21 @@ except those with key
Key
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/erase_key.hpp> #include <boost/fusion/include/erase_key.hpp>- + Example
assert(erase_key
<int>(make_map
<int, long>('a', 'b')) ==make_map
<long>('b')); diff --git a/doc/html/fusion/algorithm/transformation/functions/filter.html b/doc/html/fusion/algorithm/transformation/functions/filter.html index f7c61012..e940298d 100644 --- a/doc/html/fusion/algorithm/transformation/functions/filter.html +++ b/doc/html/fusion/algorithm/transformation/functions/filter.html @@ -27,7 +27,7 @@ filter- + Description
@@ -35,7 +35,7 @@ the elements of a specified type.
- + Synopsis
template< @@ -45,7 +45,7 @@ typenameresult_of::filter
<Sequence const, T>::type filter(Sequence const& seq);- + Expression Semantics
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
@@ -126,21 +137,21 @@ to.
filter_if
<boost::same_type<_, T> >(seq)- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/filter.hpp> #include <boost/fusion/include/filter.hpp>- + Example
constvector
<int,int,long,long> vec(1,2,3,4); diff --git a/doc/html/fusion/algorithm/transformation/functions/filter_if.html b/doc/html/fusion/algorithm/transformation/functions/filter_if.html index 7e116090..6f3b9d56 100644 --- a/doc/html/fusion/algorithm/transformation/functions/filter_if.html +++ b/doc/html/fusion/algorithm/transformation/functions/filter_if.html @@ -27,7 +27,7 @@ filter_if- + Description
@@ -36,7 +36,7 @@ Lambda Expression evaluates to
boost::mpl::true_
.- + Synopsis
template< @@ -46,7 +46,7 @@ typenameresult_of::filter_if
<Sequence const, Pred>::type filter_if(Sequence const& seq);- + Expression Semantics
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
@@ -129,21 +140,21 @@ is the same as in the original sequence.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/filter_if.hpp> #include <boost/fusion/include/filter_if.hpp>- + Example
constvector
<int,int,double,double> vec(1,2,3.0,4.0); diff --git a/doc/html/fusion/algorithm/transformation/functions/insert.html b/doc/html/fusion/algorithm/transformation/functions/insert.html index 611f2903..57107705 100644 --- a/doc/html/fusion/algorithm/transformation/functions/insert.html +++ b/doc/html/fusion/algorithm/transformation/functions/insert.html @@ -27,7 +27,7 @@ insert- + Description
@@ -35,7 +35,7 @@ element inserted the position described by a given iterator.
- + Synposis
template< @@ -43,10 +43,11 @@ typename Pos, typename T > -unspecified insert(Sequence const& seq, Pos const& pos, T const& t); +typenameresult_of::insert
<Sequence const, Pos, T>::type insert( + Sequence const& seq, Pos const& pos, T const& t);- + Expression Semantics
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
, @@ -146,21 +158,21 @@pos
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/insert.hpp> #include <boost/fusion/include/insert.hpp>- + Example
constvector
<int,int> vec(1,2); diff --git a/doc/html/fusion/algorithm/transformation/functions/insert_range.html b/doc/html/fusion/algorithm/transformation/functions/insert_range.html index 80182ca2..0f066d8b 100644 --- a/doc/html/fusion/algorithm/transformation/functions/insert_range.html +++ b/doc/html/fusion/algorithm/transformation/functions/insert_range.html @@ -27,7 +27,7 @@ insert_range- + Description
@@ -35,7 +35,7 @@ iterator.
- + Synposis
template< @@ -47,7 +47,7 @@ Sequence const& seq, Pos const& pos, Range const& range);- + Expression Semantics
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
, @@ -148,21 +159,21 @@ All elements retaining their ordering from the orignal sequences.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/insert_range.hpp> #include <boost/fusion/include/insert_range.hpp>- + Example
constvector
<int,int> vec(1,2); diff --git a/doc/html/fusion/algorithm/transformation/functions/join.html b/doc/html/fusion/algorithm/transformation/functions/join.html index 7fafdc6b..c72655d4 100644 --- a/doc/html/fusion/algorithm/transformation/functions/join.html +++ b/doc/html/fusion/algorithm/transformation/functions/join.html @@ -27,7 +27,7 @@ join- + Description
@@ -35,7 +35,7 @@ first followed by the elements of the second.
- + Synopsis
template< @@ -44,7 +44,7 @@ typenameresult_of::join
<LhSequence, RhSequence>::type join(LhSequence const& lhs, RhSequence const& rhs);- + Expression Semantics
join
(lhs, rhs);- Return type: A model of Forward - Sequence. + Return type:
++
- + A model of Forward + Sequence. +
+- + A model of Associative + Sequence if
+lhs
+ andrhs
implement the + Associative + Sequence model. +Semantics: Returns a sequence containing all the elements of
lhs
followed by all the elements ofrhs
. - The order of th elements is preserved. + The order of the elements is preserved.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/join.hpp> #include <boost/fusion/include/join.hpp>- + Example
vector
<int,char> v1(1, 'a'); diff --git a/doc/html/fusion/algorithm/transformation/functions/pop_back.html b/doc/html/fusion/algorithm/transformation/functions/pop_back.html index aa16c821..cf2f5dd2 100644 --- a/doc/html/fusion/algorithm/transformation/functions/pop_back.html +++ b/doc/html/fusion/algorithm/transformation/functions/pop_back.html @@ -27,14 +27,14 @@ pop_back- + Description
Returns a new sequence, with the last element of the original removed.
- + Synopsis
template< @@ -43,7 +43,7 @@ typenameresult_of::pop_back
<Sequence const>::type pop_back(Sequence const& seq);- + Expression Semantics
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
, @@ -105,21 +116,21 @@ same order as they were inseq
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/pop_back.hpp> #include <boost/fusion/include/pop_back.hpp>- + Example
assert(___pop_back__(make_vector
(1,2,3)) ==make_vector
(1,2)); diff --git a/doc/html/fusion/algorithm/transformation/functions/pop_front.html b/doc/html/fusion/algorithm/transformation/functions/pop_front.html index 16659b70..685a4a95 100644 --- a/doc/html/fusion/algorithm/transformation/functions/pop_front.html +++ b/doc/html/fusion/algorithm/transformation/functions/pop_front.html @@ -27,14 +27,14 @@ pop_front- + Description
Returns a new sequence, with the first element of the original removed.
- + Synopsis
template< @@ -43,7 +43,7 @@ typenameresult_of::pop_front
<Sequence const>::type pop_front(Sequence const& seq);- + Expression Semantics
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
, @@ -105,21 +116,21 @@ same order as they were inseq
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/pop_front.hpp> #include <boost/fusion/include/pop_front.hpp>- + Example
assert(pop_front
(make_vector
(1,2,3)) ==make_vector
(2,3)); diff --git a/doc/html/fusion/algorithm/transformation/functions/push_back.html b/doc/html/fusion/algorithm/transformation/functions/push_back.html index 42b0cf19..7e2327d2 100644 --- a/doc/html/fusion/algorithm/transformation/functions/push_back.html +++ b/doc/html/fusion/algorithm/transformation/functions/push_back.html @@ -27,14 +27,14 @@ push_back- + Description
Returns a new sequence with an element added at the end.
- + Synopsis
template< @@ -45,7 +45,7 @@ Sequence const& seq, T const& t);- + Expression Semantics
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
, @@ -126,21 +137,21 @@ to the end. The elements are in the same order as they were inseq
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/push_back.hpp> #include <boost/fusion/include/push_back.hpp>- + Example
assert(push_back
(make_vector
(1,2,3),4) ==make_vector
(1,2,3,4)); diff --git a/doc/html/fusion/algorithm/transformation/functions/push_front.html b/doc/html/fusion/algorithm/transformation/functions/push_front.html index f75945d2..8df4815d 100644 --- a/doc/html/fusion/algorithm/transformation/functions/push_front.html +++ b/doc/html/fusion/algorithm/transformation/functions/push_front.html @@ -27,14 +27,14 @@ push_front- + Description
Returns a new sequence with an element added at the beginning.
- + Synopsis
template< @@ -45,7 +45,7 @@ Sequence const& seq, T const& t);- + Expression Semantics
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
, @@ -127,21 +138,21 @@seq
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/push_front.hpp> #include <boost/fusion/include/push_front.hpp>- + Example
assert(push_front
(make_vector
(1,2,3),0) ==make_vector
(0,1,2,3)); diff --git a/doc/html/fusion/algorithm/transformation/functions/remove.html b/doc/html/fusion/algorithm/transformation/functions/remove.html index 1fac6734..50200f29 100644 --- a/doc/html/fusion/algorithm/transformation/functions/remove.html +++ b/doc/html/fusion/algorithm/transformation/functions/remove.html @@ -27,7 +27,7 @@ remove- + Description
@@ -35,7 +35,7 @@ except those of a given type.
- + Synopsis
template< @@ -45,7 +45,7 @@ typenameresult_of::remove
<Sequence const, T>::type replace(Sequence const& seq);- + Expression Semantics
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
, @@ -126,21 +137,21 @@ Equivalent to.
remove_if
<boost::is_same<_,T> >(seq)- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/remove.hpp> #include <boost/fusion/include/remove.hpp>- + Example
constvector
<int,double> vec(1,2.0); diff --git a/doc/html/fusion/algorithm/transformation/functions/remove_if.html b/doc/html/fusion/algorithm/transformation/functions/remove_if.html index 6c5d3176..99fbb05b 100644 --- a/doc/html/fusion/algorithm/transformation/functions/remove_if.html +++ b/doc/html/fusion/algorithm/transformation/functions/remove_if.html @@ -27,7 +27,7 @@ remove_if- + Description
@@ -35,7 +35,7 @@ those where a given unary function object evaluates to
true
.- + Synopsis
template< @@ -45,7 +45,7 @@ typenameresult_of::remove_if
<Sequence const, Pred>::type remove_if(Sequence const& seq);- + Expression Semantics
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
, @@ -128,21 +139,21 @@ >(seq).- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/remove_if.hpp> #include <boost/fusion/include/remove_if.hpp>- + Example
constvector
<int,double> vec(1,2.0); diff --git a/doc/html/fusion/algorithm/transformation/functions/replace.html b/doc/html/fusion/algorithm/transformation/functions/replace.html index dbc52bbc..3d8f2df2 100644 --- a/doc/html/fusion/algorithm/transformation/functions/replace.html +++ b/doc/html/fusion/algorithm/transformation/functions/replace.html @@ -27,7 +27,7 @@ replace- + Description
@@ -35,7 +35,7 @@ a new value.
- + Synopsis
template< @@ -46,7 +46,7 @@ Sequence const& seq, T const& old_value, T const& new_value);- + Expression Semantics
@@ -148,21 +148,21 @@ to elements with the same type and equal toold_value
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/replace.hpp> #include <boost/fusion/include/replace.hpp>- + Example
assert(replace
(make_vector
(1,2), 2, 3) ==make_vector
(1,3)); diff --git a/doc/html/fusion/algorithm/transformation/functions/replace_if.html b/doc/html/fusion/algorithm/transformation/functions/replace_if.html index 09332470..060777b0 100644 --- a/doc/html/fusion/algorithm/transformation/functions/replace_if.html +++ b/doc/html/fusion/algorithm/transformation/functions/replace_if.html @@ -27,7 +27,7 @@ replace_if- + Description
@@ -36,7 +36,7 @@ replaced with a new value.
- + Synopsis
template< @@ -47,7 +47,7 @@ Sequence const& seq, F f, T const& new_value);- + Expression Semantics
@@ -148,21 +148,21 @@ evaluates totrue
.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/replace_if.hpp> #include <boost/fusion/include/replace_if.hpp>- + Example
struct odd diff --git a/doc/html/fusion/algorithm/transformation/functions/reverse.html b/doc/html/fusion/algorithm/transformation/functions/reverse.html index a2c9ae62..f58a0cb0 100644 --- a/doc/html/fusion/algorithm/transformation/functions/reverse.html +++ b/doc/html/fusion/algorithm/transformation/functions/reverse.html @@ -27,14 +27,14 @@ reverse- + Description
Returns a new sequence with the elements of the original in reverse order.
- + Synposis
template< @@ -43,7 +43,7 @@ typenameresult_of::reverse
<Sequence const>::type reverse(Sequence const& seq);- + Expression Semantics
reverse
(seq);- Return type: A model of Bidirectional - Sequence. + Return type:
++
- + A model of Bidirectional + 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.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/reverse.hpp> #include <boost/fusion/include/reverse.hpp>- + Example
assert(reverse
(make_vector
(1,2,3)) ==make_vector
(3,2,1)); diff --git a/doc/html/fusion/algorithm/transformation/functions/transform.html b/doc/html/fusion/algorithm/transformation/functions/transform.html index 15f8ce13..5c218807 100644 --- a/doc/html/fusion/algorithm/transformation/functions/transform.html +++ b/doc/html/fusion/algorithm/transformation/functions/transform.html @@ -27,7 +27,7 @@ transform- + Description
@@ -38,7 +38,7 @@ of
seq
.- + Unary version synopsis
@@ -50,7 +50,7 @@ Sequence const& seq, F f);- + Expression Semantics
@@ -133,7 +133,7 @@ withinseq
.- + Binary version synopsis
@@ -146,7 +146,7 @@ Sequence1 const& seq1, Sequence2 const& seq2, F f);-Table 1.56. Parameters
+Table 1.60. Parameters
@@ -241,21 +241,21 @@ within seq1
andseq2
respectively.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/transform.hpp> #include <boost/fusion/include/transform.hpp>- + Example
struct triple diff --git a/doc/html/fusion/algorithm/transformation/functions/zip.html b/doc/html/fusion/algorithm/transformation/functions/zip.html index cdbc74c4..8b5dcffe 100644 --- a/doc/html/fusion/algorithm/transformation/functions/zip.html +++ b/doc/html/fusion/algorithm/transformation/functions/zip.html @@ -27,7 +27,7 @@ zip- + Description
@@ -35,7 +35,7 @@ of the members of the component sequences.
- + Synopsis
template< @@ -48,7 +48,7 @@ zip(Sequence1 const& seq1, Sequence2 const& seq2, ... SequenceN const& seqN);- + Expression Semantics
@@ -114,21 +114,21 @@ 'c'))- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/zip.hpp> #include <boost/fusion/include/zip.hpp>- + Example
vector
<int,char> v1(1, 'a'); diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/clear.html b/doc/html/fusion/algorithm/transformation/metafunctions/clear.html index 06726030..92877226 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/clear.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/clear.html @@ -27,7 +27,7 @@ clear- + Description
@@ -35,7 +35,7 @@ type.
- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
@@ -105,14 +105,14 @@ Semantics: Returns an empty sequence.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/clear.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/erase.html b/doc/html/fusion/algorithm/transformation/metafunctions/erase.html index a405f67a..0122d950 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/erase.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/erase.html @@ -31,11 +31,11 @@ and range delimiting iterator types.- + Description
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
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. @@ -157,14 +168,14 @@ andIt2
removed.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/erase.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html b/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html index 057d4da5..fd778beb 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html @@ -27,7 +27,7 @@ erase_key- + Description
@@ -35,7 +35,7 @@ and key types.
- + Synopsis
template< @@ -48,7 +48,7 @@ };-Table 1.84. Parameters
+Table 1.88. Parameters
@@ -81,7 +81,8 @@ @@ -112,14 +113,15 @@ - A model of Associative + A model of Forward + Sequence and Associative Sequence
- + Expression Semantics
result_of::erase_key
<Sequence, Key>::type- Return type: A model of Associative + Return type: A model of Forward + Sequence and Associative Sequence.
@@ -128,14 +130,14 @@ except those with key
Key
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/erase_key.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/filter.html b/doc/html/fusion/algorithm/transformation/metafunctions/filter.html index e9bb9e25..9fd475a7 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/filter.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/filter.html @@ -27,7 +27,7 @@ filter- + Description
@@ -35,7 +35,7 @@ and type to retain.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
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
@@ -130,14 +141,14 @@ boost::is_same<mpl::_, T> >::type.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/filter.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html b/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html index 6977f542..8c286843 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html @@ -27,7 +27,7 @@ filter_if- + Description
@@ -36,7 +36,7 @@ Lambda Expression predicate type.
- + Synopsis
template< @@ -49,7 +49,7 @@ };- + Expression Semantics
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
@@ -131,14 +142,14 @@ toboost::mpl::true_
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/filter_if.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/insert.html b/doc/html/fusion/algorithm/transformation/metafunctions/insert.html index d9cab4a4..461d7a25 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/insert.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/insert.html @@ -27,7 +27,7 @@ insert- + Description
@@ -35,7 +35,7 @@ position iterator and insertion types.
- + Synopsis
template< @@ -49,7 +49,7 @@ };- + Expression Semantics
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 @@ -148,14 +159,14 @@ inSequence
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/insert.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html b/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html index 7f646da6..4c84cc92 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html @@ -27,7 +27,7 @@ insert_range- + Description
@@ -35,7 +35,7 @@ sequence, position iterator and insertion range types.
- + Synopsis
template< @@ -49,7 +49,7 @@ };- + Expression Semantics
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 @@ -149,14 +160,14 @@ intoSequence
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/insert_range.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/join.html b/doc/html/fusion/algorithm/transformation/metafunctions/join.html index d070fa83..90144f25 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/join.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/join.html @@ -27,14 +27,14 @@ join- + Description
Returns the result of joining 2 sequences, given the sequence types.
- + Synopsis
template< @@ -47,16 +47,28 @@ };- + Expression Semantics
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
+ amdRhSequence
implement + the Associative + Sequence model. +Semantics: Returns a sequence containing the elements of
LhSequence
@@ -64,14 +76,14 @@ The order of the elements in the 2 sequences is preserved.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/join.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html b/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html index f81a731d..07126462 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html @@ -27,7 +27,7 @@ pop_back- + Description
@@ -35,7 +35,7 @@ type.
- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
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.- + Complexity
Constant.
- + Header
-#include <boost/fusion/algorithm/tranformation/pop_back.hpp> +#include <boost/fusion/algorithm/transformation/pop_back.hpp> #include <boost/fusion/include/pop_back.hpp>diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html b/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html index 4c24ae2c..35097865 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html @@ -27,7 +27,7 @@ pop_front- + Description
@@ -35,7 +35,7 @@ type.
- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
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.- + Complexity
Constant.
-- /algorithm/transformation/pop_front.hpp> -
++ + Header +
+#include <boost/fusion/algorithm/transformation/pop_front.hpp> +#include <boost/fusion/include/pop_front.hpp> +
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html b/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html index b621b2f1..a3ca9ab8 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html @@ -27,7 +27,7 @@ push_back - + Description
@@ -35,7 +35,7 @@ the input sequence and element to push.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
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
@@ -129,15 +140,19 @@ added to the end.- + Complexity
Constant.
-- /algorithm/transformation/push_back.hpp> -
++ + Header +
+#include <boost/fusion/algorithm/transformation/push_back.hpp> +#include <boost/fusion/include/push_back.hpp> +
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html b/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html index 706e3424..2dc255c6 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html @@ -27,7 +27,7 @@ push_front - + Description
@@ -35,7 +35,7 @@ of the input sequence and element to push.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
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
@@ -129,15 +140,19 @@ added to the beginning.- + Complexity
Constant.
-- /algorithm/transformation/push_front.hpp> -
++ + Header +
+#include <boost/fusion/algorithm/transformation/push_front.hpp> +#include <boost/fusion/include/push_front.hpp> +
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/remove.html b/doc/html/fusion/algorithm/transformation/metafunctions/remove.html index 24c65272..b0c35d55 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/remove.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/remove.html @@ -27,7 +27,7 @@ remove - + Description
@@ -35,7 +35,7 @@ removal types.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
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
@@ -130,14 +141,14 @@ boost::is_same<mpl::_, T> >::type.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/remove.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html b/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html index 78553670..2f7f4c1b 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html @@ -27,7 +27,7 @@ remove_if- + Description
@@ -36,7 +36,7 @@ Lambda Expression predicate types.
- + Synopsis
template< @@ -49,7 +49,7 @@ };- + Expression Semantics
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
@@ -131,14 +142,14 @@ toboost::mpl::false_
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/remove_if.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/replace.html b/doc/html/fusion/algorithm/transformation/metafunctions/replace.html index c8729fa6..6717f02b 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/replace.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/replace.html @@ -27,7 +27,7 @@ replace- + Description
@@ -35,7 +35,7 @@ the input sequence and element to replace.
- + Synopsis
template< @@ -48,7 +48,7 @@ };- + Expression Semantics
@@ -127,14 +127,14 @@replace
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/replace.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html b/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html index 1b0a0d2f..41d17aac 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html @@ -27,7 +27,7 @@ replace_if- + Description
@@ -36,7 +36,7 @@ Function Object predicate and replacement object.
- + Synopsis
template< @@ -49,7 +49,7 @@ };- + Expression Semantics
@@ -146,14 +146,14 @@replace_if
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/replace_if.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html b/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html index e9509e70..25e27171 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html @@ -27,7 +27,7 @@ reverse- + Description
@@ -35,7 +35,7 @@ type.
- + Synopsis
template< @@ -47,7 +47,7 @@ };- + Expression Semantics
result_of::reverse
<Sequence>::type- Return type: A model of Bidirectional - Sequence. + Return type:
++
- + A model of Bidirectional + 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
.- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/reverse.hpp> diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/transform.html b/doc/html/fusion/algorithm/transformation/metafunctions/transform.html index b55b8e7b..10d39493 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/transform.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/transform.html @@ -27,7 +27,7 @@ transform- + Description
@@ -38,7 +38,7 @@ of
seq
.- + Unary version synopsis
@@ -50,7 +50,7 @@ Sequence const& seq, F f);- + Expression Semantics
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 elemente
withinseq
.- + Binary version synopsis
@@ -146,7 +157,7 @@ Sequence1 const& seq1, Sequence2 const& seq2, F f);-Table 1.76. Parameters
+Table 1.80. Parameters
@@ -241,21 +252,21 @@ within seq1
andseq2
respectively.- + Complexity
Constant. Returns a view which is lazily evaluated.
- + Header
#include <boost/fusion/algorithm/transformation/transform.hpp> #include <boost/fusion/include/transform.hpp>- + Example
struct triple diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/zip.html b/doc/html/fusion/algorithm/transformation/metafunctions/zip.html index 9c5afd54..8524320e 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/zip.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/zip.html @@ -27,7 +27,7 @@ zip- + Description
@@ -35,7 +35,7 @@ of the members of the component sequences.
- + Synopsis
template< @@ -50,7 +50,7 @@ };- + Expression Semantics
@@ -72,14 +72,14 @@ 'c'))- + Complexity
Constant.
- + Header
#include <boost/fusion/algorithm/transformation/zip.hpp> diff --git a/doc/html/fusion/container.html b/doc/html/fusion/container.html index 87cf803f..322ae7a9 100644 --- a/doc/html/fusion/container.html +++ b/doc/html/fusion/container.html @@ -49,7 +49,7 @@ These containers are more or less counterparts of those in STL.- + Header
#include <boost/fusion/container.hpp> diff --git a/doc/html/fusion/container/cons.html b/doc/html/fusion/container/cons.html index 3959fb5a..ec018f91 100644 --- a/doc/html/fusion/container/cons.html +++ b/doc/html/fusion/container/cons.html @@ -27,7 +27,7 @@ cons- + Description
@@ -42,21 +42,21 @@ Inlined Functions).
- + Header
#include <boost/fusion/container/list/cons.hpp> #include <boost/fusion/include/cons.hpp>- + Synopsis
template <typename Car, typename Cdr = nil> struct cons;- + Template parameters
@@ -119,7 +119,7 @@
- + Model of
@@ -159,7 +159,7 @@- + Expression Semantics
@@ -292,7 +292,7 @@
- + Example
cons<int, cons<float> > l(12, cons<float>(5.5f)); diff --git a/doc/html/fusion/container/conversion.html b/doc/html/fusion/container/conversion.html index 570bbfb5..74eb030d 100644 --- a/doc/html/fusion/container/conversion.html +++ b/doc/html/fusion/container/conversion.html @@ -35,7 +35,7 @@ types using one of these conversion functions.- + Header
#include <boost/fusion/include/convert.hpp> diff --git a/doc/html/fusion/container/conversion/functions/as_list.html b/doc/html/fusion/container/conversion/functions/as_list.html index e5ad39fe..2982fba6 100644 --- a/doc/html/fusion/container/conversion/functions/as_list.html +++ b/doc/html/fusion/container/conversion/functions/as_list.html @@ -27,14 +27,14 @@ as_list- + Description
Convert a fusion sequence to a
list
.- + Synopsis
template <typename Sequence> @@ -46,7 +46,7 @@ as_list(Sequence const& seq);- + Parameters
@@ -91,7 +91,7 @@
- + Expression Semantics
@@ -105,14 +105,14 @@seq
, to alist
.- + Header
#include <boost/fusion/container/list/convert.hpp> #include <boost/fusion/include/as_list.hpp>- + Example
as_list(make_vector
('x', 123, "hello")) diff --git a/doc/html/fusion/container/conversion/functions/as_map.html b/doc/html/fusion/container/conversion/functions/as_map.html index d935ec13..7b1471cc 100644 --- a/doc/html/fusion/container/conversion/functions/as_map.html +++ b/doc/html/fusion/container/conversion/functions/as_map.html @@ -27,14 +27,14 @@ as_map- + Description
Convert a fusion sequence to a
map
.- + Synopsis
template <typename Sequence> @@ -46,7 +46,7 @@ as_map(Sequence const& seq);- + Parameters
@@ -91,7 +91,7 @@
- + Expression Semantics
@@ -110,14 +110,14 @@ There may be no duplicatefusion::pair
key types.- + Header
#include <boost/fusion/container/map/convert.hpp> #include <boost/fusion/include/as_map.hpp>- + Example
as_map(make_vector
( diff --git a/doc/html/fusion/container/conversion/functions/as_set.html b/doc/html/fusion/container/conversion/functions/as_set.html index 45100478..c53308d9 100644 --- a/doc/html/fusion/container/conversion/functions/as_set.html +++ b/doc/html/fusion/container/conversion/functions/as_set.html @@ -27,14 +27,14 @@ as_set- + Description
Convert a fusion sequence to a
set
.- + Synopsis
template <typename Sequence> @@ -46,7 +46,7 @@ as_set(Sequence const& seq);- + Parameters
@@ -91,7 +91,7 @@
- + Expression Semantics
@@ -109,14 +109,14 @@ key types.- + Header
#include <boost/fusion/container/set/convert.hpp> #include <boost/fusion/include/as_set.hpp>- + Example
as_set(make_vector
('x', 123, "hello")) diff --git a/doc/html/fusion/container/conversion/functions/as_vector.html b/doc/html/fusion/container/conversion/functions/as_vector.html index f935559a..92e4a850 100644 --- a/doc/html/fusion/container/conversion/functions/as_vector.html +++ b/doc/html/fusion/container/conversion/functions/as_vector.html @@ -27,14 +27,14 @@ as_vector- + Description
Convert a fusion sequence to a
vector
.- + Synopsis
template <typename Sequence> @@ -46,7 +46,7 @@ as_vector(Sequence const& seq);- + Parameters
@@ -91,7 +91,7 @@
- + Expression Semantics
@@ -105,14 +105,14 @@seq
, to avector
.- + Header
#include <boost/fusion/container/vector/convert.hpp> #include <boost/fusion/include/as_vector.hpp>- + Example
as_vector(make_list
('x', 123, "hello")) diff --git a/doc/html/fusion/container/conversion/metafunctions/as_list.html b/doc/html/fusion/container/conversion/metafunctions/as_list.html index 9f2908a5..6a394daa 100644 --- a/doc/html/fusion/container/conversion/metafunctions/as_list.html +++ b/doc/html/fusion/container/conversion/metafunctions/as_list.html @@ -27,21 +27,21 @@ as_list- + Description
Returns the result type of
as_list
.- + Synopsis
template <typename Sequence> struct as_list;- + Parameters
@@ -86,7 +86,7 @@
- + Expression Semantics
@@ -101,14 +101,14 @@Sequence
, to alist
.- + Header
#include <boost/fusion/container/list/convert.hpp> #include <boost/fusion/include/as_list.hpp>- + Example
result_of::as_list<vector
<char, int> >::type diff --git a/doc/html/fusion/container/conversion/metafunctions/as_map.html b/doc/html/fusion/container/conversion/metafunctions/as_map.html index 8c2400d6..2edac668 100644 --- a/doc/html/fusion/container/conversion/metafunctions/as_map.html +++ b/doc/html/fusion/container/conversion/metafunctions/as_map.html @@ -27,21 +27,21 @@ as_map- + Description
Returns the result type of
as_map
.- + Synopsis
template <typename Sequence> struct as_map;- + Parameters
@@ -86,7 +86,7 @@
- + Expression Semantics
@@ -106,14 +106,14 @@ There may be no duplicatefusion::pair
key types.- + Header
#include <boost/fusion/container/map/convert.hpp> #include <boost/fusion/include/as_map.hpp>- + Example
result_of::as_map<vector
< diff --git a/doc/html/fusion/container/conversion/metafunctions/as_set.html b/doc/html/fusion/container/conversion/metafunctions/as_set.html index 6451e236..157da053 100644 --- a/doc/html/fusion/container/conversion/metafunctions/as_set.html +++ b/doc/html/fusion/container/conversion/metafunctions/as_set.html @@ -27,21 +27,21 @@ as_set- + Description
Returns the result type of
as_set
.- + Synopsis
template <typename Sequence> struct as_set;- + Parameters
@@ -86,7 +86,7 @@
- + Expression Semantics
@@ -105,14 +105,14 @@ key types.- + Header
#include <boost/fusion/container/set/convert.hpp> #include <boost/fusion/include/as_set.hpp>- + Example
result_of::as_set<vector
<char, int> >::type diff --git a/doc/html/fusion/container/conversion/metafunctions/as_vector.html b/doc/html/fusion/container/conversion/metafunctions/as_vector.html index a233239e..0ef5f318 100644 --- a/doc/html/fusion/container/conversion/metafunctions/as_vector.html +++ b/doc/html/fusion/container/conversion/metafunctions/as_vector.html @@ -27,21 +27,21 @@ as_vector- + Description
Returns the result type of
as_vector
.- + Synopsis
template <typename Sequence> struct as_vector;- + Parameters
@@ -86,7 +86,7 @@
- + Expression Semantics
@@ -101,14 +101,14 @@Sequence
, to avector
.- + Header
#include <boost/fusion/container/vector/convert.hpp> #include <boost/fusion/include/as_vector.hpp>- + Example
result_of::as_vector<list
<char, int> >::type diff --git a/doc/html/fusion/container/generation.html b/doc/html/fusion/container/generation.html index c75fa0d9..12b28ef5 100644 --- a/doc/html/fusion/container/generation.html +++ b/doc/html/fusion/container/generation.html @@ -34,7 +34,7 @@ These are the functions that you can use to generate various forms of Container from elemental values.- + Header
#include <boost/fusion/container/generation.hpp> diff --git a/doc/html/fusion/container/generation/functions/list_tie.html b/doc/html/fusion/container/generation/functions/list_tie.html index 6b051f9f..fc8b14f7 100644 --- a/doc/html/fusion/container/generation/functions/list_tie.html +++ b/doc/html/fusion/container/generation/functions/list_tie.html @@ -27,14 +27,14 @@ list_tie- + Description
Constructs a tie using a
list
sequence.- + Synopsis
template <typename T0, typename T1,... typename TN> @@ -52,7 +52,7 @@#define FUSION_MAX_LIST_SIZE 20- + Parameters
@@ -99,7 +99,7 @@
- + Expression Semantics
@@ -113,14 +113,14 @@ Semantics: Create alist
of references fromx0, x1,... xN
.- + Header
#include <boost/fusion/container/generation/list_tie.hpp> #include <boost/fusion/include/list_tie.hpp>- + Example
int i = 123; diff --git a/doc/html/fusion/container/generation/functions/make_cons.html b/doc/html/fusion/container/generation/functions/make_cons.html index 22edd5b4..107e14cd 100644 --- a/doc/html/fusion/container/generation/functions/make_cons.html +++ b/doc/html/fusion/container/generation/functions/make_cons.html @@ -27,7 +27,7 @@ make_cons- + Description
@@ -36,7 +36,7 @@ and optional
cdr
(tail).- + Synopsis
template <typename Car> @@ -48,7 +48,7 @@ make_cons(Car const& car, Cdr const& cdr);- + Parameters
@@ -112,7 +112,7 @@
- + Expression Semantics
@@ -127,20 +127,20 @@ (tail).- + Header
#include <boost/fusion/container/generation/make_cons.hpp> #include <boost/fusion/include/make_cons.hpp>- + Example
make_cons('x', make_cons(123))- + See also
diff --git a/doc/html/fusion/container/generation/functions/make_list.html b/doc/html/fusion/container/generation/functions/make_list.html index e32a6b83..73814f0d 100644 --- a/doc/html/fusion/container/generation/functions/make_list.html +++ b/doc/html/fusion/container/generation/functions/make_list.html @@ -27,7 +27,7 @@ make_list- + Description
@@ -35,7 +35,7 @@ from one or more values.
- + Synopsis
template <typename T0, typename T1,... typename TN> @@ -53,7 +53,7 @@#define FUSION_MAX_LIST_SIZE 20- + Parameters
@@ -100,7 +100,7 @@
- + Expression Semantics
@@ -113,20 +113,20 @@ Semantics: Create alist
fromx0, x1,... xN
.- + Header
#include <boost/fusion/container/generation/make_list.hpp> #include <boost/fusion/include/make_list.hpp>- + Example
make_list(123, "hello", 12.5)- + See also
diff --git a/doc/html/fusion/container/generation/functions/make_map.html b/doc/html/fusion/container/generation/functions/make_map.html index 6006482e..fe7e4cdd 100644 --- a/doc/html/fusion/container/generation/functions/make_map.html +++ b/doc/html/fusion/container/generation/functions/make_map.html @@ -27,7 +27,7 @@ make_map- + Description
@@ -35,7 +35,7 @@ from one or more key/data pairs.
- + Synopsis
template < @@ -55,7 +55,7 @@#define FUSION_MAX_MAP_SIZE 20- + Parameters
@@ -123,7 +123,7 @@
- + Expression Semantics
@@ -143,20 +143,20 @@ key types.- + Header
#include <boost/fusion/container/generation/make_map.hpp> #include <boost/fusion/include/make_map.hpp>- + Example
make_map<int, double>('X', "Men")- + See also
diff --git a/doc/html/fusion/container/generation/functions/make_set.html b/doc/html/fusion/container/generation/functions/make_set.html index 3f6d8ffb..6e69498a 100644 --- a/doc/html/fusion/container/generation/functions/make_set.html +++ b/doc/html/fusion/container/generation/functions/make_set.html @@ -27,7 +27,7 @@ make_set- + Description
@@ -35,7 +35,7 @@ from one or more values.
- + Synopsis
template <typename T0, typename T1,... typename TN> @@ -53,7 +53,7 @@#define FUSION_MAX_SET_SIZE 20- + Parameters
@@ -100,7 +100,7 @@
- + Expression Semantics
@@ -117,20 +117,20 @@ key types.- + Header
#include <boost/fusion/container/generation/make_set.hpp> #include <boost/fusion/include/make_set.hpp>- + Example
make_set(123, "hello", 12.5)- + See also
diff --git a/doc/html/fusion/container/generation/functions/make_vector.html b/doc/html/fusion/container/generation/functions/make_vector.html index 317b7df2..5f2f1e64 100644 --- a/doc/html/fusion/container/generation/functions/make_vector.html +++ b/doc/html/fusion/container/generation/functions/make_vector.html @@ -27,7 +27,7 @@ make_vector- + Description
@@ -35,7 +35,7 @@ from one or more values.
- + Synopsis
template <typename T0, typename T1,... typename TN> @@ -53,7 +53,7 @@#define FUSION_MAX_VECTOR_SIZE 20- + Parameters
@@ -100,7 +100,7 @@
- + Expression Semantics
@@ -113,20 +113,20 @@ Semantics: Create avector
fromx0, x1,... xN
.- + Header
#include <boost/fusion/container/generation/make_vector.hpp> #include <boost/fusion/include/make_vector.hpp>- + Example
make_vector(123, "hello", 12.5)- + See also
diff --git a/doc/html/fusion/container/generation/functions/map_tie.html b/doc/html/fusion/container/generation/functions/map_tie.html index e3e8abfe..5d7d8c1e 100644 --- a/doc/html/fusion/container/generation/functions/map_tie.html +++ b/doc/html/fusion/container/generation/functions/map_tie.html @@ -27,14 +27,14 @@ map_tie- + Description
Constructs a tie using a
map
sequence.- + Synopsis
template <typename K0, typename K1,... typename KN, typename D0, typename D1,... typename DN> @@ -52,7 +52,7 @@#define FUSION_MAX_MAP_SIZE 20- + Parameters
@@ -121,7 +121,7 @@
- + Expression Semantics
@@ -136,14 +136,14 @@ Semantics: Create amap
of references fromx0, x1,... xN
with keysK0, K1,... KN
- + Header
#include <boost/fusion/container/generation/map_tie.hpp> #include <boost/fusion/include/map_tie.hpp>- + Example
struct int_key; diff --git a/doc/html/fusion/container/generation/functions/tiers.html b/doc/html/fusion/container/generation/functions/tiers.html index 081ad4c9..49949e49 100644 --- a/doc/html/fusion/container/generation/functions/tiers.html +++ b/doc/html/fusion/container/generation/functions/tiers.html @@ -49,7 +49,7 @@ avector
of type. The same result could be achieved with the call
vector
<int&, char&, double&>make_vector
(ref
(i),ref
(c),ref
(a)) - [9] + [9] .@@ -66,7 +66,7 @@ when calling functions which return sequences.
- + Ignore
@@ -80,7 +80,7 @@
-[9] +
diff --git a/doc/html/fusion/container/generation/functions/vector_tie.html b/doc/html/fusion/container/generation/functions/vector_tie.html index 7b036b9e..83a3e051 100644 --- a/doc/html/fusion/container/generation/functions/vector_tie.html +++ b/doc/html/fusion/container/generation/functions/vector_tie.html @@ -27,14 +27,14 @@ vector_tie- + Description
Constructs a tie using a
vector
sequence.- + Synopsis
template <typename T0, typename T1,... typename TN> @@ -52,7 +52,7 @@#define FUSION_MAX_VECTOR_SIZE 20- + Parameters
@@ -99,7 +99,7 @@
- + Expression Semantics
@@ -113,14 +113,14 @@ Semantics: Create avector
of references fromx0, x1,... xN
.- + Header
#include <boost/fusion/container/generation/vector_tie.hpp> #include <boost/fusion/include/vector_tie.hpp>- + Example
int i = 123; diff --git a/doc/html/fusion/container/generation/metafunctions/list_tie.html b/doc/html/fusion/container/generation/metafunctions/list_tie.html index c985177f..76c9daa5 100644 --- a/doc/html/fusion/container/generation/metafunctions/list_tie.html +++ b/doc/html/fusion/container/generation/metafunctions/list_tie.html @@ -27,14 +27,14 @@ list_tie- + Description
Returns the result type of
list_tie
.- + Synopsis
template <typename T0, typename T1,... typename TN> @@ -51,7 +51,7 @@#define FUSION_MAX_LIST_SIZE 20- + Parameters
@@ -98,7 +98,7 @@
- + Expression Semantics
@@ -112,14 +112,14 @@ Semantics: Create alist
of references fromT0, T1,... TN
.- + Header
#include <boost/fusion/container/generation/list_tie.hpp> #include <boost/fusion/include/list_tie.hpp>- + Example
result_of::list_tie<int, double>::type diff --git a/doc/html/fusion/container/generation/metafunctions/make_cons.html b/doc/html/fusion/container/generation/metafunctions/make_cons.html index fd6a3453..e96bab2d 100644 --- a/doc/html/fusion/container/generation/metafunctions/make_cons.html +++ b/doc/html/fusion/container/generation/metafunctions/make_cons.html @@ -27,21 +27,21 @@ make_cons- + Description
Returns the result type of
make_cons
.- + Synopsis
template <typename Car, typename Cdr = nil> struct make_cons;- + Parameters
@@ -105,7 +105,7 @@
- + Expression Semantics
@@ -122,14 +122,14 @@ (tail).- + Header
#include <boost/fusion/container/generation/make_cons.hpp> #include <boost/fusion/include/make_cons.hpp>- + Example
result_of::make_cons<char, result_of::make_cons<int>::type>::type diff --git a/doc/html/fusion/container/generation/metafunctions/make_list.html b/doc/html/fusion/container/generation/metafunctions/make_list.html index 21e33767..b2e62b89 100644 --- a/doc/html/fusion/container/generation/metafunctions/make_list.html +++ b/doc/html/fusion/container/generation/metafunctions/make_list.html @@ -27,14 +27,14 @@ make_list- + Description
Returns the result type of
make_list
.- + Synopsis
template <typename T0, typename T1,... typename TN> @@ -51,7 +51,7 @@#define FUSION_MAX_LIST_SIZE 20- + Parameters
@@ -98,7 +98,7 @@
- + Expression Semantics
@@ -113,14 +113,14 @@ Semantics: Create alist
fromT0, T1,... TN
.- + Header
#include <boost/fusion/container/generation/make_list.hpp> #include <boost/fusion/include/make_list.hpp>- + Example
result_of::make_list<int, const char(&)[7], double>::type diff --git a/doc/html/fusion/container/generation/metafunctions/make_map.html b/doc/html/fusion/container/generation/metafunctions/make_map.html index eef09fb9..615677c7 100644 --- a/doc/html/fusion/container/generation/metafunctions/make_map.html +++ b/doc/html/fusion/container/generation/metafunctions/make_map.html @@ -27,14 +27,14 @@ make_map- + Description
Returns the result type of
make_map
.- + Synopsis
template < @@ -53,7 +53,7 @@#define FUSION_MAX_MAP_SIZE 20- + Parameters
@@ -121,7 +121,7 @@
- + Expression Semantics
@@ -140,20 +140,20 @@ key types.- + Header
#include <boost/fusion/container/generation/make_map.hpp> #include <boost/fusion/include/make_map.hpp>- + Example
result_of::make_map<int, double, char, double>::type- + See also
diff --git a/doc/html/fusion/container/generation/metafunctions/make_set.html b/doc/html/fusion/container/generation/metafunctions/make_set.html index b6a770f2..2ee25d9a 100644 --- a/doc/html/fusion/container/generation/metafunctions/make_set.html +++ b/doc/html/fusion/container/generation/metafunctions/make_set.html @@ -27,14 +27,14 @@ make_set- + Description
Returns the result type of
make_set
.- + Synopsis
template <typename T0, typename T1,... typename TN> @@ -51,7 +51,7 @@#define FUSION_MAX_SET_SIZE 20- + Parameters
@@ -98,7 +98,7 @@
- + Expression Semantics
@@ -117,14 +117,14 @@ key types.- + Header
#include <boost/fusion/container/generation/make_set.hpp> #include <boost/fusion/include/make_set.hpp>- + Example
result_of::make_set<int, char, double>::type diff --git a/doc/html/fusion/container/generation/metafunctions/make_vector.html b/doc/html/fusion/container/generation/metafunctions/make_vector.html index e28161a9..49353a70 100644 --- a/doc/html/fusion/container/generation/metafunctions/make_vector.html +++ b/doc/html/fusion/container/generation/metafunctions/make_vector.html @@ -27,14 +27,14 @@ make_vector- + Description
Returns the result type of
make_vector
.- + Synopsis
template <typename T0, typename T1,... typename TN> @@ -51,7 +51,7 @@#define FUSION_MAX_VECTOR_SIZE 20- + Parameters
@@ -98,7 +98,7 @@
- + Expression Semantics
@@ -113,14 +113,14 @@ Semantics: Create avector
fromT0, T1,... TN
.- + Header
#include <boost/fusion/container/generation/make_list.hpp> #include <boost/fusion/include/make_list.hpp>- + Example
result_of::make_vector<int, const char(&)[7], double>::type diff --git a/doc/html/fusion/container/generation/metafunctions/map_tie.html b/doc/html/fusion/container/generation/metafunctions/map_tie.html index 8bf69960..154f53db 100644 --- a/doc/html/fusion/container/generation/metafunctions/map_tie.html +++ b/doc/html/fusion/container/generation/metafunctions/map_tie.html @@ -27,14 +27,14 @@ map_tie- + Description
Returns the result type of
map_tie
.- + Synopsis
template <typename K0, typename K1,... typename KN, typename D0, typename D1,... typename DN> @@ -51,7 +51,7 @@#define FUSION_MAX_MAP_SIZE 20- + Parameters
@@ -119,7 +119,7 @@
- + Expression Semantics
@@ -134,14 +134,14 @@ Semantics: Create amap
of references fromD0, D1,... DN
with keysK0, K1,... KN
- + Header
#include <boost/fusion/container/generation/map_tie.hpp> #include <boost/fusion/include/map_tie.hpp>- + Example
struct int_key; diff --git a/doc/html/fusion/container/generation/metafunctions/vector_tie.html b/doc/html/fusion/container/generation/metafunctions/vector_tie.html index ebee6e6f..e9e97662 100644 --- a/doc/html/fusion/container/generation/metafunctions/vector_tie.html +++ b/doc/html/fusion/container/generation/metafunctions/vector_tie.html @@ -27,14 +27,14 @@ vector_tie- + Description
Returns the result type of
vector_tie
.- + Synopsis
template <typename T0, typename T1,... typename TN> @@ -51,7 +51,7 @@#define FUSION_MAX_VECTOR_SIZE 20- + Parameters
@@ -98,7 +98,7 @@
- + Expression Semantics
@@ -112,14 +112,14 @@ Semantics: Create avector
of references fromT0, T1,... TN
.- + Header
#include <boost/fusion/container/generation/vector_tie.hpp> #include <boost/fusion/include/vector_tie.hpp>- + Example
result_of::vector_tie<int, double>::type diff --git a/doc/html/fusion/container/list.html b/doc/html/fusion/container/list.html index c805355d..235b5592 100644 --- a/doc/html/fusion/container/list.html +++ b/doc/html/fusion/container/list.html @@ -27,7 +27,7 @@ list- + Description
@@ -38,7 +38,7 @@ runtime cost of access to each element is peculiarly constant (see Recursive Inlined Functions).
- + Header
#include <boost/fusion/container/list.hpp> @@ -47,7 +47,7 @@ #include <boost/fusion/include/list_fwd.hpp>- + Synopsis
template < @@ -75,7 +75,7 @@#define FUSION_MAX_LIST_SIZE 20- + Template parameters
@@ -120,7 +120,7 @@
- + Model of
@@ -151,7 +151,7 @@- + Expression Semantics
@@ -257,7 +257,7 @@
- + Example
list<int, float> l(12, 5.5f); diff --git a/doc/html/fusion/container/map.html b/doc/html/fusion/container/map.html index 370bfcce..941e396b 100644 --- a/doc/html/fusion/container/map.html +++ b/doc/html/fusion/container/map.html @@ -27,7 +27,7 @@ map- + Description
@@ -40,7 +40,7 @@ (see Overloaded Functions).
- + Header
#include <boost/fusion/container/map.hpp> @@ -49,7 +49,7 @@ #include <boost/fusion/include/map_fwd.hpp>- + Synopsis
template < @@ -77,7 +77,7 @@#define FUSION_MAX_MAP_SIZE 20- + Template parameters
@@ -122,7 +122,7 @@
- + Model of
@@ -152,7 +152,7 @@
- + Expression Semantics
@@ -235,7 +235,7 @@
- + Example
typedef map< diff --git a/doc/html/fusion/container/set.html b/doc/html/fusion/container/set.html index de28ce2e..f62bc35f 100644 --- a/doc/html/fusion/container/set.html +++ b/doc/html/fusion/container/set.html @@ -27,7 +27,7 @@ set- + Description
@@ -39,7 +39,7 @@ Functions).
- + Header
#include <boost/fusion/container/set.hpp> @@ -48,7 +48,7 @@ #include <boost/fusion/include/set_fwd.hpp>- + Synopsis
template < @@ -76,7 +76,7 @@#define FUSION_MAX_SET_SIZE 20- + Template parameters
@@ -121,7 +121,7 @@
- + Model of
@@ -151,7 +151,7 @@
- + Expression Semantics
@@ -234,7 +234,7 @@
- + Example
typedef set<int, float> S; diff --git a/doc/html/fusion/container/vector.html b/doc/html/fusion/container/vector.html index 91e34f00..c1bd235f 100644 --- a/doc/html/fusion/container/vector.html +++ b/doc/html/fusion/container/vector.html @@ -27,7 +27,7 @@ vector- + Description
@@ -39,7 +39,7 @@ efficient.
- + Header
#include <boost/fusion/container/vector.hpp> @@ -60,7 +60,7 @@ #include <boost/fusion/include/vector50.hpp>- + Synopsis
@@ -115,7 +115,7 @@
#define FUSION_MAX_VECTOR_SIZE 20- + Template parameters
@@ -160,7 +160,7 @@
- + Model of
- + Expression Semantics
@@ -269,7 +269,7 @@
- + Example
vector<int, float> v(12, 5.5f); diff --git a/doc/html/fusion/extension/ext_full.html b/doc/html/fusion/extension/ext_full.html index 6c8f5760..b23ba503 100644 --- a/doc/html/fusion/extension/ext_full.html +++ b/doc/html/fusion/extension/ext_full.html @@ -49,7 +49,7 @@- + Our example
@@ -79,7 +79,7 @@ Start guide.
- + Enabling Tag Dispatching
@@ -120,7 +120,7 @@ #include <boost/fusion/include/tag_of.hpp>- + Designing a suitable iterator
@@ -182,7 +182,7 @@ clearer as we add features to our implementation.- + A first couple of instructive features
@@ -217,18 +217,17 @@To understand how
value_of_impl
- is used by the library we will look at the implementation ofvalue_of
: + is used by the library we will look at the implementation of __valueof_:template <typename Iterator> -structvalue_of
+struct __value_of__ : extension::value_of_impl<typename detail::tag_of<Iterator>::type>:: template apply<Iterator> {};- So
@@ -296,8 +295,10 @@value_of
- uses tag dispatching - to select an MPL + So __valueof_ uses tag + dispatching to select an MPL Metafunction Class to provide its functionality. You will notice this pattern throughout the implementation of Fusion.So again
result_of::deref
uses tag - dispatching in exactly the same way as thevalue_of
implementation. The runtime - functionality used byderef
is provided by thecall
static function of the selected MPL + dispatching in exactly the same way as the __valueof_ implementation. The runtime functionality + used byderef
+ is provided by thecall
static + function of the selected MPL Metafunction Class.@@ -315,21 +316,22 @@
Although there is a fair amount of left to do to produce a fully fledged - Fusion sequence,
value_of
andderef
illustrate all the signficant - concepts required. The remainder of the process is very repetitive, simply - requiring implementation of a suitablexxxx_impl
- for each featurexxxx
. + Fusion sequence, __valueof_ and +deref
+ illustrate all the signficant concepts required. The remainder of the process + is very repetitive, simply requiring implementation of a suitablexxxx_impl
for each featurexxxx
.- + Implementing the remaining iterator functionality
- Ok, now we have seen the way
value_of
andderef
work, everything else will - work in pretty much the same way. Lets start with forward iteration, by providing - anext_impl
: + Ok, now we have seen the way __valueof_ + andderef
+ work, everything else will work in pretty much the same way. Lets start with + forward iteration, by providing anext_impl
:template<> struct next_impl<example::example_struct_iterator_tag> @@ -373,7 +375,7 @@ are provided in the example code.- + Implementing the intrinsic functions of the sequence
@@ -429,7 +431,7 @@value_at_impl
andat_impl
.- + Enabling our type as an associative container
@@ -496,7 +498,7 @@ ofis_associative_impl
.- + Summary
diff --git a/doc/html/fusion/extension/iterator_facade.html b/doc/html/fusion/extension/iterator_facade.html index 5899320b..47d9d6b4 100644 --- a/doc/html/fusion/extension/iterator_facade.html +++ b/doc/html/fusion/extension/iterator_facade.html @@ -27,7 +27,7 @@ Iterator Facade
- + Description
@@ -36,14 +36,14 @@ iterator.
- + Synopsis
template<typename Derived, typename TravesalTag> struct iterator_facade;- + Usage
@@ -57,7 +57,7 @@ type.
- + Header
#include <boost/fusion/iterator/iterator_facade.hpp> #include <boost/fusion/include/iterator_facade.hpp>- + Example
diff --git a/doc/html/fusion/extension/sequence_facade.html b/doc/html/fusion/extension/sequence_facade.html index 1c2d035d..04d5acad 100644 --- a/doc/html/fusion/extension/sequence_facade.html +++ b/doc/html/fusion/extension/sequence_facade.html @@ -27,7 +27,7 @@ Sequence Facade
- + Description
@@ -36,14 +36,14 @@ iterator.
- + Synopsis
template<typename Derived, typename TravesalTag, typename IsView = mpl::false_> struct sequence_facade;- + Usage
@@ -59,7 +59,7 @@ type.
- + Include
#include <boost/fusion/sequence/sequence_facade.hpp> #include <boost/fusion/include/sequence_facade.hpp>- + Example
diff --git a/doc/html/fusion/functional.html b/doc/html/fusion/functional.html index cdc2347b..2412e1fc 100644 --- a/doc/html/fusion/functional.html +++ b/doc/html/fusion/functional.html @@ -63,13 +63,13 @@ through a function object interface.
- + Header
#include <boost/fusion/functional.hpp>- + Fused and unfused forms
@@ -103,7 +103,7 @@ form off'
.- + Calling functions and function objects
@@ -133,7 +133,7 @@ Constructors can be called applying Boost.Functional/Factory.- + Making Fusion code callable through a function object interface
diff --git a/doc/html/fusion/functional/adapters/fused.html b/doc/html/fusion/functional/adapters/fused.html index 3100beaf..59cef3f5 100644 --- a/doc/html/fusion/functional/adapters/fused.html +++ b/doc/html/fusion/functional/adapters/fused.html @@ -27,7 +27,7 @@ fused- + Description
@@ -54,20 +54,20 @@ and
boost::shared_ptr
).- + Header
#include <boost/fusion/functional/adapter/fused.hpp>- + Synopsis
template <typename Function> class fused;- + Template parameters
@@ -113,7 +113,7 @@- + Model of
@@ -146,7 +146,7 @@
- + Expression Semantics
@@ -210,14 +210,14 @@- + Example
fused<std::plus
<long> > f; assert(f(make_vector
(1,2l)) == 3l);- + See also
diff --git a/doc/html/fusion/functional/adapters/fused_function_object.html b/doc/html/fusion/functional/adapters/fused_function_object.html index 7fd166c8..7b07c053 100644 --- a/doc/html/fusion/functional/adapters/fused_function_object.html +++ b/doc/html/fusion/functional/adapters/fused_function_object.html @@ -27,7 +27,7 @@ fused_function_object
- + Description
@@ -44,20 +44,20 @@ object is held by value, the adapter is const).
- + Header
#include <boost/fusion/functional/adapter/fused_function_object.hpp>- + Synopsis
template <class Function> class fused_function_object;- + Template parameters
@@ -103,7 +103,7 @@- + Model of
@@ -137,7 +137,7 @@- + Expression Semantics
@@ -201,7 +201,7 @@- + Example
template<class SeqOfSeqs, class Func> @@ -238,7 +238,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/adapters/fused_procedure.html b/doc/html/fusion/functional/adapters/fused_procedure.html index f87ffaf8..5e921585 100644 --- a/doc/html/fusion/functional/adapters/fused_procedure.html +++ b/doc/html/fusion/functional/adapters/fused_procedure.html @@ -27,7 +27,7 @@ fused_procedure- + Description
@@ -62,20 +62,20 @@ case is not implemented).
- + Header
#include <boost/fusion/functional/adapter/fused_procedure.hpp>- + Synopsis
template <typename Function> class fused_procedure;- + Template parameters
@@ -121,7 +121,7 @@- + Model of
@@ -155,7 +155,7 @@- + Expression Semantics
@@ -219,7 +219,7 @@- + Example
template<class SequenceOfSequences, class Func> @@ -239,7 +239,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/adapters/limits.html b/doc/html/fusion/functional/adapters/limits.html index 0b781778..8e30bbf7 100644 --- a/doc/html/fusion/functional/adapters/limits.html +++ b/doc/html/fusion/functional/adapters/limits.html @@ -27,13 +27,13 @@ Limits- + Header
#include <boost/fusion/functional/adapter/limits.hpp>- + Macros
diff --git a/doc/html/fusion/functional/adapters/unfused.html b/doc/html/fusion/functional/adapters/unfused.html index 7dac7510..57d74043 100644 --- a/doc/html/fusion/functional/adapters/unfused.html +++ b/doc/html/fusion/functional/adapters/unfused.html @@ -27,7 +27,7 @@ unfused
- + Description
@@ -57,20 +57,20 @@ object is held by value, the adapter is const.
- + Header
#include <boost/fusion/functional/adapter/unfused.hpp>- + Synopsis
template <class Function, bool AllowNullary = true> class unfused;- + Template parameters
@@ -135,7 +135,7 @@- + Model of
@@ -172,7 +172,7 @@
- + Expression Semantics
@@ -236,7 +236,7 @@- + Example
struct fused_incrementer @@ -263,7 +263,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/adapters/unfused_typed.html b/doc/html/fusion/functional/adapters/unfused_typed.html index a14e8e11..dcbb6e46 100644 --- a/doc/html/fusion/functional/adapters/unfused_typed.html +++ b/doc/html/fusion/functional/adapters/unfused_typed.html @@ -27,7 +27,7 @@ unfused_typed
- + Description
@@ -66,20 +66,20 @@
- + Header
#include <boost/fusion/functional/adapter/unfused_typed.hpp>- + Synopsis
template <class Function, class Sequence> class unfused_typed;- + Template parameters
@@ -143,7 +143,7 @@- + Model of
@@ -186,7 +186,7 @@- + Expression Semantics
@@ -252,7 +252,7 @@- + Example
struct add_assign // applies operator+= @@ -320,7 +320,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/concepts/callable.html b/doc/html/fusion/functional/concepts/callable.html index 6ef17732..26afb6c7 100644 --- a/doc/html/fusion/functional/concepts/callable.html +++ b/doc/html/fusion/functional/concepts/callable.html @@ -27,7 +27,7 @@ Callable Object
- + Description
@@ -36,7 +36,7 @@ of a function call operator.
- + Models
@@ -51,7 +51,7 @@
- + Examples
& a_free_function diff --git a/doc/html/fusion/functional/concepts/def_callable.html b/doc/html/fusion/functional/concepts/def_callable.html index 86590b42..93edd73e 100644 --- a/doc/html/fusion/functional/concepts/def_callable.html +++ b/doc/html/fusion/functional/concepts/def_callable.html @@ -28,7 +28,7 @@ Callable Object- + Description
@@ -37,7 +37,7 @@ to determine the result of a call.
- + Refinement of
@@ -80,7 +80,7 @@- + Expression requirements
@@ -118,7 +118,7 @@- + Models
@@ -131,7 +131,7 @@
- + Examples
& a_free_function diff --git a/doc/html/fusion/functional/concepts/poly.html b/doc/html/fusion/functional/concepts/poly.html index c372ef06..56e27bab 100644 --- a/doc/html/fusion/functional/concepts/poly.html +++ b/doc/html/fusion/functional/concepts/poly.html @@ -28,7 +28,7 @@ Object- + Description
@@ -36,7 +36,7 @@ Callable Object type.
- + Refinement of
@@ -78,7 +78,7 @@- + Expression requirements
@@ -127,7 +127,7 @@- + Models
@@ -142,7 +142,7 @@
- + Examples
& a_free_function diff --git a/doc/html/fusion/functional/concepts/reg_callable.html b/doc/html/fusion/functional/concepts/reg_callable.html index 26bce9d2..d62a3079 100644 --- a/doc/html/fusion/functional/concepts/reg_callable.html +++ b/doc/html/fusion/functional/concepts/reg_callable.html @@ -28,7 +28,7 @@ Object- + Description
@@ -37,7 +37,7 @@ can appear immediately to the left of a function call operator.
- + Refinement of
@@ -67,7 +67,7 @@- + Expression requirements
@@ -114,7 +114,7 @@- + Models
@@ -126,7 +126,7 @@
- + Examples
& a_free_function diff --git a/doc/html/fusion/functional/generation/functions/mk_fused.html b/doc/html/fusion/functional/generation/functions/mk_fused.html index b7343db1..71bb87cd 100644 --- a/doc/html/fusion/functional/generation/functions/mk_fused.html +++ b/doc/html/fusion/functional/generation/functions/mk_fused.html @@ -28,7 +28,7 @@ make_fused- + Description
@@ -37,7 +37,7 @@ conversion is applied to the target function.
- + Synopsis
template <typename F> @@ -45,7 +45,7 @@ make_fused(F const & f);- + Parameters
@@ -91,7 +91,7 @@
- + Expression Semantics
@@ -104,14 +104,14 @@ Semantics: Returns afused
adapter forf
.- + Header
#include <boost/fusion/functional/generation/make_fused.hpp> #include <boost/fusion/include/make_fused.hpp>- + Example
float sub(float a, float b) { return a - b; } @@ -126,7 +126,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/functions/mk_fused_fobj.html b/doc/html/fusion/functional/generation/functions/mk_fused_fobj.html index ba003210..97392ab9 100644 --- a/doc/html/fusion/functional/generation/functions/mk_fused_fobj.html +++ b/doc/html/fusion/functional/generation/functions/mk_fused_fobj.html @@ -28,7 +28,7 @@ make_fused_function_object- + Description
@@ -38,7 +38,7 @@ conversion is applied to the target function.
- + Synopsis
template <typename F> @@ -46,7 +46,7 @@ make_fused_function_object(F const & f);- + Parameters
@@ -92,7 +92,7 @@
- + Expression Semantics
@@ -106,14 +106,14 @@ forf
.- + Header
#include <boost/fusion/functional/generation/make_fused_function_object.hpp> #include <boost/fusion/include/make_fused_function_object.hpp>- + Example
struct sub @@ -141,7 +141,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/functions/mk_fused_proc.html b/doc/html/fusion/functional/generation/functions/mk_fused_proc.html index 3fcd3cd2..2a9d4dc4 100644 --- a/doc/html/fusion/functional/generation/functions/mk_fused_proc.html +++ b/doc/html/fusion/functional/generation/functions/mk_fused_proc.html @@ -28,7 +28,7 @@ make_fused_procedure- + Description
@@ -38,7 +38,7 @@ conversion applied to the target function.
- + Synopsis
template <typename F> @@ -46,7 +46,7 @@ make_fused_procedure(F const & f);- + Parameters
@@ -92,7 +92,7 @@
- + Expression Semantics
@@ -106,14 +106,14 @@f
.- + Header
#include <boost/fusion/functional/generation/make_fused_procedure.hpp> #include <boost/fusion/include/make_fused_procedure.hpp>- + Example
vector
<int,int,int> v(1,2,3); @@ -122,7 +122,7 @@ assert(front
(v) == 0);- + See also
diff --git a/doc/html/fusion/functional/generation/functions/mk_unfused.html b/doc/html/fusion/functional/generation/functions/mk_unfused.html index b843ad31..605baed6 100644 --- a/doc/html/fusion/functional/generation/functions/mk_unfused.html +++ b/doc/html/fusion/functional/generation/functions/mk_unfused.html @@ -28,7 +28,7 @@ make_unfused- + Description
@@ -38,7 +38,7 @@ conversion is applied to the target function.
- + Synopsis
template <typename F> @@ -46,7 +46,7 @@ make_unfused(F const & f);- + Parameters
@@ -92,7 +92,7 @@
- + Expression Semantics
@@ -105,14 +105,14 @@ Semantics: Returns aunfused
adapter forf
.- + Header
#include <boost/fusion/functional/generation/make_unfused.hpp> #include <boost/fusion/include/make_unfused.hpp>- + Example
struct fused_incrementer @@ -138,7 +138,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_fused.html b/doc/html/fusion/functional/generation/metafunctions/mk_fused.html index bb60c475..9b2aa132 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_fused.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_fused.html @@ -28,21 +28,21 @@ make_fused- + Description
Returns the result type of
make_fused
.- + Header
#include <boost/fusion/functional/generation/make_fused.hpp> #include <boost/fusion/include/make_fused.hpp>- + Synopsis
namespace result_of @@ -55,7 +55,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_fused_fobj.html b/doc/html/fusion/functional/generation/metafunctions/mk_fused_fobj.html index 9bca4c5b..97cdc013 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_fused_fobj.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_fused_fobj.html @@ -28,21 +28,21 @@ make_fused_function_object- + Description
Returns the result type of
make_fused_function_object
.- + Header
#include <boost/fusion/functional/generation/make_fused_function_object.hpp> #include <boost/fusion/include/make_fused_function_object.hpp>- + Synopsis
namespace result_of @@ -55,7 +55,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_fused_proc.html b/doc/html/fusion/functional/generation/metafunctions/mk_fused_proc.html index aaebc8ba..37cf01be 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_fused_proc.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_fused_proc.html @@ -28,21 +28,21 @@ make_fused_procedure- + Description
Returns the result type of
make_fused_procedure
.- + Header
#include <boost/fusion/functional/generation/make_fused_procedure.hpp> #include <boost/fusion/include/make_fused_procedure.hpp>- + Synopsis
namespace result_of @@ -55,7 +55,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_unfused.html b/doc/html/fusion/functional/generation/metafunctions/mk_unfused.html index ad49bb7f..063d8b42 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_unfused.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_unfused.html @@ -28,21 +28,21 @@ make_unfused- + Description
Returns the result type of
make_unfused
.- + Header
#include <boost/fusion/functional/generation/make_unfused.hpp> #include <boost/fusion/include/make_unfused.hpp>- + Synopsis
namespace result_of @@ -55,7 +55,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/invocation/functions/invoke.html b/doc/html/fusion/functional/invocation/functions/invoke.html index 39a48b79..4911d688 100644 --- a/doc/html/fusion/functional/invocation/functions/invoke.html +++ b/doc/html/fusion/functional/invocation/functions/invoke.html @@ -27,7 +27,7 @@ invoke- + Description
@@ -49,7 +49,7 @@ Constructors can be called applying Boost.Functional/Factory.
- + Synopsis
template< @@ -67,7 +67,7 @@ invoke(Function f, Sequence const & s);- + Parameters
@@ -133,7 +133,7 @@
- + Expression Semantics
@@ -149,20 +149,20 @@ as arguments and returns the result of the call expression.- + Header
#include <boost/fusion/functional/invocation/invoke.hpp>- + Example
std::plus
<int> add; assert(invoke(add,make_vector
(1,1)) == 2);- + See also
diff --git a/doc/html/fusion/functional/invocation/functions/invoke_fobj.html b/doc/html/fusion/functional/invocation/functions/invoke_fobj.html index 6fd28607..feadf6c7 100644 --- a/doc/html/fusion/functional/invocation/functions/invoke_fobj.html +++ b/doc/html/fusion/functional/invocation/functions/invoke_fobj.html @@ -28,7 +28,7 @@ invoke_function_object- + Description
@@ -43,7 +43,7 @@ Constructors can be called applying Boost.Functional/Factory.
- + Synopsis
template< @@ -61,7 +61,7 @@ invoke_function_object(Function f, Sequence const & s);- + Parameters
@@ -127,7 +127,7 @@
- + Expression Semantics
@@ -143,13 +143,13 @@ as arguments and returns the result of the call expression.- + Header
#include <boost/fusion/functional/invocation/invoke_function_object.hpp>- + Example
struct sub @@ -175,7 +175,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/invocation/functions/invoke_proc.html b/doc/html/fusion/functional/invocation/functions/invoke_proc.html index 7cb02502..a38b09b1 100644 --- a/doc/html/fusion/functional/invocation/functions/invoke_proc.html +++ b/doc/html/fusion/functional/invocation/functions/invoke_proc.html @@ -28,7 +28,7 @@ invoke_procedure- + Description
@@ -52,7 +52,7 @@ isn't implemented).
- + Synopsis
template< @@ -70,7 +70,7 @@ invoke_procedure(Function f, Sequence const & s);- + Parameters
@@ -136,7 +136,7 @@
- + Expression Semantics
@@ -151,13 +151,13 @@ as arguments.- + Header
#include <booost/fusion/functional/invocation/invoke_procedure.hpp>- + Example
vector
<int,int> v(1,2); @@ -166,7 +166,7 @@ assert(front
(v) == 3);- + See also
diff --git a/doc/html/fusion/functional/invocation/limits.html b/doc/html/fusion/functional/invocation/limits.html index 31d28911..f12ab8c5 100644 --- a/doc/html/fusion/functional/invocation/limits.html +++ b/doc/html/fusion/functional/invocation/limits.html @@ -27,13 +27,13 @@ Limits- + Header
#include <boost/fusion/functional/invocation/limits.hpp>- + Macros
diff --git a/doc/html/fusion/functional/invocation/metafunctions/invoke.html b/doc/html/fusion/functional/invocation/metafunctions/invoke.html index 9574cbca..a9f367fc 100644 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke.html +++ b/doc/html/fusion/functional/invocation/metafunctions/invoke.html @@ -27,14 +27,14 @@ invoke
- + Description
Returns the result type of
invoke
.- + Synopsis
namespace result_of @@ -50,7 +50,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/invocation/metafunctions/invoke_fobj.html b/doc/html/fusion/functional/invocation/metafunctions/invoke_fobj.html index 7300544a..afbc76de 100644 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke_fobj.html +++ b/doc/html/fusion/functional/invocation/metafunctions/invoke_fobj.html @@ -28,14 +28,14 @@ invoke_function_object- + Description
Returns the result type of
invoke_function_object
.- + Synopsis
namespace result_of @@ -51,7 +51,7 @@ }- + See also
diff --git a/doc/html/fusion/functional/invocation/metafunctions/invoke_proc.html b/doc/html/fusion/functional/invocation/metafunctions/invoke_proc.html index b3b9527d..7daa3477 100644 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke_proc.html +++ b/doc/html/fusion/functional/invocation/metafunctions/invoke_proc.html @@ -28,14 +28,14 @@ invoke_procedure- + Description
Returns the result type of
invoke_procedure
.- + Synopsis
namespace result_of @@ -51,7 +51,7 @@ }- + See also
diff --git a/doc/html/fusion/introduction.html b/doc/html/fusion/introduction.html index e8b177d2..d20f29b6 100644 --- a/doc/html/fusion/introduction.html +++ b/doc/html/fusion/introduction.html @@ -117,7 +117,7 @@ sequences are fully compatible with Fusion. You can work with Fusion sequences on MPL if you wish to work solely on types - [1] + [1] . In MPL, Fusion sequences follow MPL's sequence-type preserving semantics (i.e. algorithms preserve the original sequence @@ -132,7 +132,7 @@
-[1] +
[1] Choose MPL over fusion when doing pure type calculations. Once the static type calculation is finished, you can instantiate a fusion sequence (see Conversion) diff --git a/doc/html/fusion/iterator.html b/doc/html/fusion/iterator.html index 775406c3..dbb42e55 100644 --- a/doc/html/fusion/iterator.html +++ b/doc/html/fusion/iterator.html @@ -35,6 +35,8 @@ Iterator
Random Access Iterator +Associative + Iterator Functions @@ -44,6 +46,7 @@
- distance
- advance
- advance_c
+- deref_data
Operator @@ -64,6 +67,9 @@
- distance
- advance
- advance_c
+- key_of
+- value_of_data
+- deref_data
@@ -75,7 +81,7 @@ Sequence.
- + Header
#include <boost/fusion/iterator.hpp> diff --git a/doc/html/fusion/iterator/concepts.html b/doc/html/fusion/iterator/concepts.html index fa9ccc33..4ea09ff5 100644 --- a/doc/html/fusion/iterator/concepts.html +++ b/doc/html/fusion/iterator/concepts.html @@ -33,6 +33,8 @@ IteratorRandom Access Iterator +Associative + Iterator Fusion iterators are divided into different traversal categories. Forward @@ -40,7 +42,11 @@ Iterator is a refinement of Forward Iterator. Random Access Iterator is a refinement of Bidirectional - Iterator. + Iterator. Associative + Iterator is a refinement of Forward + Iterator, Bidirectional + Iterator or Random + Access Iterator.
![]() |
+Home | +Libraries | +People | +FAQ | +More | +
+ An Associative Iterator provides additional semantics to obtain the properties + of the element of an associative forward, bidirectional or random access + sequence. +
+Notation
+i
+ Associative Iterator +
I
+ Associative Iterator type +
+ Forward Iterator, + Bidirectional + Iterator or Random + Access Iterator +
++ In addition to the requirements defined in Forward + Iterator, Bidirectional + Iterator or Random + Access Iterator the following expressions must be valid: +
+
+ + Expression + + |
+
+ + Return type + + |
+
+ + Runtime Complexity + + |
+
---|---|---|
+
+ |
+
+
+ |
+
+ + Constant + + |
+
+ + Expression + + |
+
+ + Compile Time Complexity + + |
+
---|---|
+
+ |
+
+ + Amortized constant time + + |
+
+
+ |
+
+ + Amortized constant time + + |
+
+
+ |
+
+ + Amortized constant time + + |
+
map
+ iterator
+ set
+ iterator
+ filter_view
+ iterator (where adapted sequence is an Associative
+ Sequence and a Forward
+ Sequence)
+ iterator_range
+ iterator (where adapted iterators are Associative
+ Iterators)
+ joint_view
+ iterator (where adapted sequences are Associative
+ Sequences and Forward
+ Sequences)
+ reverse_view
+ iterator (where adapted sequence is an Associative
+ Sequence and a Bidirectional
+ Sequence)
+ + | + |