From f1994724589fbcef2d60da9b785c982d266aebba Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Thu, 20 Dec 2007 23:28:26 +0000 Subject: [PATCH] Removing fusion variant adapter [SVN r42224] --- doc/adapted.qbk | 115 +++++++++++++--- doc/changelog.qbk | 15 ++- doc/extension.qbk | 119 +--------------- doc/html/fusion/adapted.html | 9 +- doc/html/fusion/adapted/adapt_assoc.html | 123 +++++++++++++++++ doc/html/fusion/adapted/adapt_struct.html | 110 +++++++++++++++ doc/html/fusion/adapted/boost__array.html | 8 +- doc/html/fusion/adapted/boost__tuple.html | 14 +- doc/html/fusion/adapted/boost__variant.html | 84 ------------ doc/html/fusion/adapted/mpl_sequence.html | 8 +- doc/html/fusion/adapted/std__pair.html | 8 +- doc/html/fusion/algorithm.html | 12 +- doc/html/fusion/algorithm/iteration.html | 2 +- .../iteration/functions/accumulate.html | 14 +- .../algorithm/iteration/functions/fold.html | 14 +- .../iteration/functions/for_each.html | 14 +- .../iteration/metafunctions/accumulate.html | 12 +- .../iteration/metafunctions/fold.html | 12 +- .../iteration/metafunctions/for_each.html | 12 +- doc/html/fusion/algorithm/query.html | 2 +- .../fusion/algorithm/query/functions/all.html | 14 +- .../fusion/algorithm/query/functions/any.html | 14 +- .../algorithm/query/functions/count.html | 14 +- .../algorithm/query/functions/count_if.html | 14 +- .../algorithm/query/functions/find.html | 14 +- .../algorithm/query/functions/find_if.html | 12 +- .../algorithm/query/functions/none.html | 14 +- .../algorithm/query/metafunctions/all.html | 12 +- .../algorithm/query/metafunctions/any.html | 12 +- .../algorithm/query/metafunctions/count.html | 12 +- .../query/metafunctions/count_if.html | 12 +- .../algorithm/query/metafunctions/find.html | 12 +- .../query/metafunctions/find_if.html | 12 +- .../algorithm/query/metafunctions/none.html | 12 +- doc/html/fusion/algorithm/transformation.html | 2 +- .../transformation/functions/clear.html | 14 +- .../transformation/functions/erase.html | 14 +- .../transformation/functions/erase_key.html | 14 +- .../transformation/functions/filter.html | 14 +- .../transformation/functions/filter_if.html | 14 +- .../transformation/functions/insert.html | 14 +- .../functions/insert_range.html | 14 +- .../transformation/functions/join.html | 14 +- .../transformation/functions/pop_back.html | 14 +- .../transformation/functions/pop_front.html | 14 +- .../transformation/functions/push_back.html | 14 +- .../transformation/functions/push_front.html | 14 +- .../transformation/functions/remove.html | 14 +- .../transformation/functions/remove_if.html | 14 +- .../transformation/functions/replace.html | 14 +- .../transformation/functions/replace_if.html | 14 +- .../transformation/functions/reverse.html | 14 +- .../transformation/functions/transform.html | 18 +-- .../transformation/functions/zip.html | 14 +- .../transformation/metafunctions/clear.html | 12 +- .../transformation/metafunctions/erase.html | 12 +- .../metafunctions/erase_key.html | 12 +- .../transformation/metafunctions/filter.html | 12 +- .../metafunctions/filter_if.html | 12 +- .../transformation/metafunctions/insert.html | 12 +- .../metafunctions/insert_range.html | 12 +- .../transformation/metafunctions/join.html | 10 +- .../metafunctions/pop_back.html | 12 +- .../metafunctions/pop_front.html | 10 +- .../metafunctions/push_back.html | 10 +- .../metafunctions/push_front.html | 10 +- .../transformation/metafunctions/remove.html | 12 +- .../metafunctions/remove_if.html | 12 +- .../transformation/metafunctions/replace.html | 12 +- .../metafunctions/replace_if.html | 12 +- .../transformation/metafunctions/reverse.html | 12 +- .../metafunctions/transform.html | 18 +-- .../transformation/metafunctions/zip.html | 10 +- doc/html/fusion/change_log.html | 21 ++- doc/html/fusion/extension.html | 5 - doc/html/fusion/extension/ext_full.html | 16 +-- .../fusion/extension/iterator_facade.html | 22 +-- .../fusion/extension/macros/adapt_assoc.html | 127 ------------------ .../fusion/extension/macros/adapt_struct.html | 113 ---------------- .../fusion/extension/sequence_facade.html | 16 +-- doc/html/fusion/functional.html | 12 +- .../fusion/functional/adapters/fused.html | 14 +- .../adapters/fused_function_object.html | 14 +- .../functional/adapters/fused_procedure.html | 14 +- .../functional/adapters/unfused_generic.html | 14 +- .../adapters/unfused_lvalue_args.html | 14 +- .../adapters/unfused_rvalue_args.html | 14 +- .../functional/adapters/unfused_typed.html | 14 +- .../fusion/functional/concepts/callable.html | 6 +- .../functional/concepts/def_callable.html | 10 +- doc/html/fusion/functional/concepts/poly.html | 10 +- .../functional/concepts/reg_callable.html | 10 +- .../generation/functions/mk_fused.html | 14 +- .../generation/functions/mk_fused_fobj.html | 14 +- .../generation/functions/mk_fused_proc.html | 14 +- .../functions/mk_unfused_genrc.html | 14 +- .../functions/mk_unfused_lvargs.html | 14 +- .../functions/mk_unfused_rvargs.html | 14 +- .../generation/metafunctions/mk_fused.html | 8 +- .../metafunctions/mk_fused_fobj.html | 8 +- .../metafunctions/mk_fused_proc.html | 8 +- .../metafunctions/mk_unfused_genrc.html | 8 +- .../metafunctions/mk_unfused_lvargs.html | 8 +- .../metafunctions/mk_unfused_rvargs.html | 8 +- .../invocation/functions/invoke.html | 12 +- .../invocation/functions/invoke_fobj.html | 12 +- .../invocation/functions/invoke_proc.html | 12 +- .../invocation/metafunctions/invoke.html | 6 +- .../invocation/metafunctions/invoke_fobj.html | 6 +- .../invocation/metafunctions/invoke_proc.html | 6 +- doc/html/fusion/notes.html | 16 +-- .../fusion/tuple/class_template_tuple.html | 2 +- .../class_template_tuple/construction.html | 4 +- .../class_template_tuple/element_access.html | 4 +- .../relational_operators.html | 4 +- .../tuple_creation_functions.html | 4 +- .../tuple_helper_classes.html | 4 +- doc/html/fusion/tuple/pairs.html | 4 +- doc/html/index.html | 10 +- test/Jamfile | 1 - test/sequence/variant.cpp | 56 -------- todo.txt | 7 + 122 files changed, 997 insertions(+), 1154 deletions(-) create mode 100644 doc/html/fusion/adapted/adapt_assoc.html create mode 100644 doc/html/fusion/adapted/adapt_struct.html delete mode 100644 doc/html/fusion/adapted/boost__variant.html delete mode 100644 doc/html/fusion/extension/macros/adapt_assoc.html delete mode 100644 doc/html/fusion/extension/macros/adapt_struct.html delete mode 100644 test/sequence/variant.cpp diff --git a/doc/adapted.qbk b/doc/adapted.qbk index 3645fcc9..991918c9 100644 --- a/doc/adapted.qbk +++ b/doc/adapted.qbk @@ -16,6 +16,9 @@ they will be regarded as first-class, fully conforming fusion sequences sequences (see __intrinsics__). That way, we can have 2-way adaptation to and from __mpl__ and Fusion]. +Fusion also provides various schemes to make it easy for the user to adapt +various data structures, non-intrusively, as full fledged Fusion sequences. + [heading Header] #include @@ -136,32 +139,108 @@ __boost_tuple_library__ [endsect] -[section boost::variant] -This module provides adapters for `boost::variant`. Including the module -header makes `boost::variant` a fully conforming __forward_sequence__. -The variant acts as a sequence of the types that can be contained in the variant. -Accessing types not currently stored int the variant will lead to the variant -being populated with a default constructed value of that type. +[section:adapt_struct BOOST_FUSION_ADAPT_STRUCT] + +[heading Description] +BOOST_FUSION_ADAPT_STRUCT is a macro that can be used to generate all the +necessary boilerplate to make an arbitrary struct into a __random_access_sequence__. + +[heading Synopsis] + BOOST_FUSION_ADAPT_STRUCT( + struct_name + (member_type0, member_name0) + (member_type1, member_name1) + ... + ) + +[heading Semantics] + +The above macro generates the necessary code to adapt `struct_name` +as a model of __random_access_sequence__. The sequence of `(member_typeN, member_nameN)` +pairs declare the type and names of each of the struct members that will be +part of the sequence. + +The macro should be used at global scope, and `struct_name` should be the fully +namespace qualified name of the struct to be converted. [heading Header] - #include - #include - -[heading Model of] - -* __forward_sequence__ + #include + #include [heading Example] + namespace demo + { + struct employee + { + std::string name; + int age; + }; + } - boost::variant example_variant = 101; - std::cout << example_variant << '\n'; - *boost::fusion::find(example_variant) = "hello"; - std::cout << example_variant << '\n'; + // demo::employee is now a Fusion sequence + BOOST_FUSION_ADAPT_STRUCT( + demo::employee + (std::string, name) + (int, age)) -[heading See also] +[endsect] + +[section:adapt_assoc BOOST_FUSION_ADAPT_ASSOC_STRUCT] + +[heading Description] +BOOST_FUSION_ADAPT_ASSOC_STRUCT is a macro that can be used to generate all the +necessary boilerplate to make an arbitrary struct into a model of __random_access_sequence__ +and __associative_sequence__. + +[heading Synopsis] + BOOST_FUSION_ADAPT_ASSOC_STRUCT( + struct_name + (member_type0, member_name0, key_type0) + (member_type1, member_name1, key_type1) + ... + ) + +[heading Semantics] + +The above macro generates the necessary code to adapt `struct_name` +as a model of __random_access_sequence__ and __associative_sequence__. +The sequence of `(member_typeN, member_nameN, key_typeN)` +triples declare the type, name and key type of each of the struct members +that will be part of the sequence. + +The macro should be used at global scope, and `struct_name` should be the fully +namespace qualified name of the struct to be converted. + +[heading Header] + + #include + #include + +[heading Example] + namespace demo + { + struct employee + { + std::string name; + int age; + }; + } + + namespace keys + { + struct name; + struct age; + } + + // demo::employee is now a Fusion sequence + // It is also an associative sequence with + // keys keys::name and keys::age present. + BOOST_FUSION_ADAPT_ASSOC_STRUCT( + demo::employee + (std::string, name, keys::name) + (int, age, keys::age)) -__boost_variant_library__ [endsect] diff --git a/doc/changelog.qbk b/doc/changelog.qbk index c7da9f07..d3e953ce 100644 --- a/doc/changelog.qbk +++ b/doc/changelog.qbk @@ -9,8 +9,17 @@ This section summarizes significant changes to the Fusion library. -* Sep 27, 2006: Added `boost::tuple` support. -* Nov 17, 2006: Added `boost::variant` support. -* Feb 15, 2007: Added functional module. +* Sep 27, 2006: Added `boost::tuple` support. (Joel de Guzman) +* Nov 17, 2006: Added `boost::variant` support. (Joel de Guzman) +* Feb 15, 2007: Added functional module. (Tobias Schwinger) +* APRIL 2, 2007: Added struct adapter. (Joel de Guzman) +* May 8, 2007: Added associative struct adapter. (Dan Marsden) +* Dec 20, 2007: Removed `boost::variant` support. After thorough + investigation, I think now that the move to make variant a + fusion sequence is rather quirky. A variant will always + have a size==1 regardless of the number of types it can contain + and there's no way to know at compile time what it contains. + Iterating over its types is simply wrong. All these imply that + the variant is *not* a fusion sequence. (Joel de Guzman) [endsect] diff --git a/doc/extension.qbk b/doc/extension.qbk index c10dc273..b840259f 100644 --- a/doc/extension.qbk +++ b/doc/extension.qbk @@ -426,7 +426,7 @@ The user must the implement the key expressions required by their sequence type. #include [heading Example] -A full worked example using __sequence_facade__ is provided in triple.cpp in the extension examples. +A full working example using __sequence_facade__ is provided in triple.cpp in the extension examples. [endsect] @@ -475,122 +475,7 @@ The user must the implement the key expressions required by their iterator type. #include [heading Example] -A full worked example using __iterator_facade__ is provided in triple.cpp in the extension examples. - -[endsect] - -[section Macros] - -[section:adapt_struct BOOST_FUSION_ADAPT_STRUCT] - -[heading Description] -BOOST_FUSION_ADAPT_STRUCT is a macro that can be used to generate all the -necessary boilerplate to make an arbitrary struct into a __random_access_sequence__. - -[heading Synopsis] - BOOST_FUSION_ADAPT_STRUCT( - struct_name - (member_type0, member_name0) - (member_type1, member_name1) - ... - ) - -[heading Semantics] - BOOST_FUSION_ADAPT_STRUCT( - struct_name, - (member_type0, member_name0) - (member_type1, member_name1) - ... - ) - -The above macro generates the necessary code to adapt `struct_name` -as a model of __random_access_sequence__. The sequence of `(member_typeN, member_nameN)` -pairs declare the type and names of each of the struct members that will be -part of the sequence. - -The macro should be used at global scope, and `struct_name` should be the fully -namespace qualified name of the struct to be converted. - -/adapted/struct/adapt_struct.hpp> - -[heading Example] - namespace demo - { - struct employee - { - std::string name; - int age; - }; - } - - // demo::employee is now a Fusion sequence - BOOST_FUSION_ADAPT_STRUCT( - demo::employee - (std::string, name) - (int, age)) - -[endsect] - -[section:adapt_assoc BOOST_FUSION_ADAPT_ASSOC_STRUCT] - -[heading Description] -BOOST_FUSION_ADAPT_ASSOC_STRUCT is a macro that can be used to generate all the -necessary boilerplate to make an arbitrary struct into a model of __random_access_sequence__ -and __associative_sequence__. - -[heading Synopsis] - BOOST_FUSION_ADAPT_ASSOC_STRUCT( - struct_name - (member_type0, member_name0, key_type0) - (member_type1, member_name1, key_type1) - ... - ) - -[heading Semantics] - BOOST_FUSION_ADAPT_ASSOC_STRUCT( - struct_name - (member_type0, member_name0, key_type0) - (member_type1, member_name1, key_type1) - ... - ) - -The above macro generates the necessary code to adapt `struct_name` -as a model of __random_access_sequence__ and __associative_sequence__. -The sequence of `(member_typeN, member_nameN, key_typeN)` -triples declare the type, name and key type of each of the struct members -that will be part of the sequence. - -The macro should be used at global scope, and `struct_name` should be the fully -namespace qualified name of the struct to be converted. - -/adapted/struct/adapt_assoc_struct.hpp> - -[heading Example] - namespace demo - { - struct employee - { - std::string name; - int age; - }; - } - - namespace keys - { - struct name; - struct age; - } - - // demo::employee is now a Fusion sequence - // It is also an associative sequence with - // keys keys::name and keys::age present. - BOOST_FUSION_ADAPT_ASSOC_STRUCT( - demo::employee - (std::string, name, keys::name) - (int, age, keys::age)) - - -[endsect] +A full working example using __iterator_facade__ is provided in triple.cpp in the extension examples. [endsect] diff --git a/doc/html/fusion/adapted.html b/doc/html/fusion/adapted.html index 364ff796..2d5c7a20 100644 --- a/doc/html/fusion/adapted.html +++ b/doc/html/fusion/adapted.html @@ -30,7 +30,8 @@
mpl sequence
boost::array
boost::tuple
-
boost::variant
+
BOOST_FUSION_ADAPT_STRUCT
+
BOOST_FUSION_ADAPT_ASSOC_STRUCT

Fusion provides a couple of adapters for other sequences such as std::pair, @@ -42,8 +43,12 @@ [13] .

+

+ Fusion also provides various schemes to make it easy for the user to adapt + various data structures, non-intrusively, as full fledged Fusion sequences. +

- + Header

diff --git a/doc/html/fusion/adapted/adapt_assoc.html b/doc/html/fusion/adapted/adapt_assoc.html
new file mode 100644
index 00000000..d5fde8a6
--- /dev/null
+++ b/doc/html/fusion/adapted/adapt_assoc.html
@@ -0,0 +1,123 @@
+
+
+
+ BOOST_FUSION_ADAPT_ASSOC_STRUCT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+
+
+PrevUpHomeNext +
+
+ +

+ + Description +

+

+ BOOST_FUSION_ADAPT_ASSOC_STRUCT is a macro that can be used to generate all + the necessary boilerplate to make an arbitrary struct into a model of Random Access Sequence + and Associative + Sequence. +

+

+ + Synopsis +

+
+BOOST_FUSION_ADAPT_ASSOC_STRUCT(
+    struct_name
+    (member_type0, member_name0, key_type0)
+    (member_type1, member_name1, key_type1)
+    ...
+    )
+
+

+ + Semantics +

+

+ The above macro generates the necessary code to adapt struct_name + as a model of Random + Access Sequence and Associative + Sequence. The sequence of (member_typeN, + member_nameN, + key_typeN) + triples declare the type, name and key type of each of the struct members + that will be part of the sequence. +

+

+ The macro should be used at global scope, and struct_name + 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
+{
+    struct employee
+    {
+        std::string name;
+        int age;
+    };
+}
+
+namespace keys
+{
+    struct name;
+    struct age;
+}
+
+// demo::employee is now a Fusion sequence
+// It is also an associative sequence with
+// keys keys::name and keys::age present.
+BOOST_FUSION_ADAPT_ASSOC_STRUCT(
+    demo::employee
+    (std::string, name, keys::name)
+    (int, age, keys::age))
+
+
+ + + +
+
+
+PrevUpHomeNext +
+ + diff --git a/doc/html/fusion/adapted/adapt_struct.html b/doc/html/fusion/adapted/adapt_struct.html new file mode 100644 index 00000000..640267cf --- /dev/null +++ b/doc/html/fusion/adapted/adapt_struct.html @@ -0,0 +1,110 @@ + + + + BOOST_FUSION_ADAPT_STRUCT + + + + + + + + + + + + + + + +
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+
+
+PrevUpHomeNext +
+
+ +

+ + Description +

+

+ BOOST_FUSION_ADAPT_STRUCT is a macro that can be used to generate all the + necessary boilerplate to make an arbitrary struct into a Random + Access Sequence. +

+

+ + Synopsis +

+
+BOOST_FUSION_ADAPT_STRUCT(
+    struct_name
+    (member_type0, member_name0)
+    (member_type1, member_name1)
+    ...
+    )
+
+

+ + Semantics +

+

+ The above macro generates the necessary code to adapt struct_name + as a model of Random + Access Sequence. The sequence of (member_typeN, + member_nameN) + pairs declare the type and names of each of the struct members that will + be part of the sequence. +

+

+ The macro should be used at global scope, and struct_name + 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
+{
+    struct employee
+    {
+        std::string name;
+        int age;
+    };
+}
+
+// demo::employee is now a Fusion sequence
+BOOST_FUSION_ADAPT_STRUCT(
+    demo::employee
+    (std::string, name)
+    (int, age))
+
+
+ + + +
+
+
+PrevUpHomeNext +
+ + diff --git a/doc/html/fusion/adapted/boost__array.html b/doc/html/fusion/adapted/boost__array.html index b2c94d0d..3925b1b0 100644 --- a/doc/html/fusion/adapted/boost__array.html +++ b/doc/html/fusion/adapted/boost__array.html @@ -33,7 +33,7 @@ Access Sequence.

- + Header

@@ -41,14 +41,14 @@
 #include <boost/fusion/include/array.hpp>
 

- + Model of

- + Example

@@ -61,7 +61,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 554ce913..fb65d1ec 100644 --- a/doc/html/fusion/adapted/boost__tuple.html +++ b/doc/html/fusion/adapted/boost__tuple.html @@ -7,7 +7,7 @@ - + @@ -20,7 +20,7 @@


-PrevUpHomeNext +PrevUpHomeNext

@@ -33,7 +33,7 @@ Sequence.

- + Header

@@ -41,13 +41,13 @@
 #include <boost/fusion/include/boost_tuple.hpp>
 

- + Model of

- + Example

@@ -56,7 +56,7 @@
 std::cout << *boost::fusion::next(boost::fusion::begin(example_tuple)) << '\n';
 

- + See also

@@ -75,7 +75,7 @@


-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/fusion/adapted/boost__variant.html b/doc/html/fusion/adapted/boost__variant.html deleted file mode 100644 index d4acc1e4..00000000 --- a/doc/html/fusion/adapted/boost__variant.html +++ /dev/null @@ -1,84 +0,0 @@ - - - -boost::variant - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -

- This module provides adapters for boost::variant. - Including the module header makes boost::variant - a fully conforming Forward - Sequence. The variant acts as a sequence of the types that can be - contained in the variant. Accessing types not currently stored int the variant - will lead to the variant being populated with a default constructed value - of that type. -

-

- - Header -

-
-#include <boost/fusion/adapted/variant.hpp>
-#include <boost/fusion/include/variant.hpp>
-
-

- - Model of -

- -

- - Example -

-
-boost::variant<int,std::string> example_variant = 101;
-std::cout << example_variant << '\n';
-*boost::fusion::find<std::string>(example_variant) = "hello";
-std::cout << example_variant << '\n';
-
-

- - See also -

-

- Boost.Variant Library -

-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/adapted/mpl_sequence.html b/doc/html/fusion/adapted/mpl_sequence.html index 3ea68f4d..b960669c 100644 --- a/doc/html/fusion/adapted/mpl_sequence.html +++ b/doc/html/fusion/adapted/mpl_sequence.html @@ -31,7 +31,7 @@ sequences fully conforming fusion sequences.

- + Header

@@ -39,7 +39,7 @@
 #include <boost/fusion/include/mpl.hpp>
 

- + Model of

    @@ -63,7 +63,7 @@

- + Example

@@ -77,7 +77,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 51224d39..f3ca5a54 100644 --- a/doc/html/fusion/adapted/std__pair.html +++ b/doc/html/fusion/adapted/std__pair.html @@ -33,7 +33,7 @@ Access Sequence.

- + Header

@@ -41,14 +41,14 @@
 #include <boost/fusion/include/std_pair.hpp>
 

- + Model of

- + Example

@@ -58,7 +58,7 @@
 std::cout << p << std::endl;
 

- + See also

diff --git a/doc/html/fusion/algorithm.html b/doc/html/fusion/algorithm.html index ca3f43a3..ea7053b2 100644 --- a/doc/html/fusion/algorithm.html +++ b/doc/html/fusion/algorithm.html @@ -6,7 +6,7 @@ - + @@ -20,7 +20,7 @@


-PrevUpHomeNext +PrevUpHomeNext

@@ -43,7 +43,7 @@

- + Lazy Evaluation

@@ -66,7 +66,7 @@ as we want without incurring a high runtime penalty.

- + Sequence Extension

@@ -89,7 +89,7 @@ functions to convert back to the original sequence type.

- + Header

@@ -108,7 +108,7 @@
 
 
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/fusion/algorithm/iteration.html b/doc/html/fusion/algorithm/iteration.html index 85ff3286..1ea968a1 100644 --- a/doc/html/fusion/algorithm/iteration.html +++ b/doc/html/fusion/algorithm/iteration.html @@ -34,7 +34,7 @@ a sequence repeatedly applying an operation to its elements.

- + Header

diff --git a/doc/html/fusion/algorithm/iteration/functions/accumulate.html b/doc/html/fusion/algorithm/iteration/functions/accumulate.html
index b0d5bb38..1eb774cf 100644
--- a/doc/html/fusion/algorithm/iteration/functions/accumulate.html
+++ b/doc/html/fusion/algorithm/iteration/functions/accumulate.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -37,7 +37,7 @@ and the previous state.

- + Synopsis
@@ -50,7 +50,7 @@
     Sequence& seq, State const& initial_state, F const& f);
 
-

Table 1.34. Parameters

+

Table 1.34. Parameters

@@ -137,7 +137,7 @@
- + Expression Semantics
@@ -152,14 +152,14 @@ where e1 ...eN are the elements of seq.

- + Complexity

Linear, exactly result_of::size<Sequence>::value applications of f.

- + Header
@@ -167,7 +167,7 @@
 #include <boost/fusion/include/accumulate.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/iteration/functions/fold.html b/doc/html/fusion/algorithm/iteration/functions/fold.html
index bfdc1ada..c1e05d1d 100644
--- a/doc/html/fusion/algorithm/iteration/functions/fold.html
+++ b/doc/html/fusion/algorithm/iteration/functions/fold.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -37,7 +37,7 @@ and the previous state.

- + Synopsis
@@ -50,7 +50,7 @@
     Sequence& seq, State const& initial_state, F const& f);
 
-

Table 1.33. Parameters

+

Table 1.33. Parameters

@@ -137,7 +137,7 @@
- + Expression Semantics
@@ -152,14 +152,14 @@ where e1 ...eN are the elements of seq.

- + Complexity

Linear, exactly result_of::size<Sequence>::value applications of f.

- + Header
@@ -167,7 +167,7 @@
 #include <boost/fusion/include/fold.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/iteration/functions/for_each.html b/doc/html/fusion/algorithm/iteration/functions/for_each.html
index bb1b9b02..4b6265b3 100644
--- a/doc/html/fusion/algorithm/iteration/functions/for_each.html
+++ b/doc/html/fusion/algorithm/iteration/functions/for_each.html
@@ -26,14 +26,14 @@
 
 
- + Description

Applies a unary function object to each element of a sequence.

- + Synopsis
@@ -45,7 +45,7 @@
     Sequence& seq, F const& f);
 
-

Table 1.35. Parameters

+

Table 1.35. Parameters

@@ -114,7 +114,7 @@
- + Expression Semantics
@@ -129,14 +129,14 @@ in seq.

- + Complexity

Linear, exactly result_of::size<Sequence>::value applications of f.

- + Header
@@ -144,7 +144,7 @@
 #include <boost/fusion/include/for_each.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html b/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html
index 08f2d482..6a74d790 100644
--- a/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html
+++ b/doc/html/fusion/algorithm/iteration/metafunctions/accumulate.html
@@ -26,14 +26,14 @@
 
 
- + Description

Returns the result type of accumulate.

- + Synopsis
@@ -47,7 +47,7 @@
 };
 
-

Table 1.37. Parameters

+

Table 1.37. Parameters

@@ -131,7 +131,7 @@
- + Expression Semantics
@@ -149,14 +149,14 @@ and binary function object or function pointer of type F.

- + Complexity

Linear, exactly result_of::size<Sequence>::value applications of F.

- + Header
diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/fold.html b/doc/html/fusion/algorithm/iteration/metafunctions/fold.html
index c664960e..c79e8b6d 100644
--- a/doc/html/fusion/algorithm/iteration/metafunctions/fold.html
+++ b/doc/html/fusion/algorithm/iteration/metafunctions/fold.html
@@ -26,14 +26,14 @@
 
 
- + Description

Returns the result type of fold.

- + Synopsis
@@ -47,7 +47,7 @@
 };
 
-

Table 1.36. Parameters

+

Table 1.36. Parameters

@@ -131,7 +131,7 @@
- + Expression Semantics
@@ -149,14 +149,14 @@ and binary function object or function pointer of type F.

- + Complexity

Linear, exactly result_of::size<Sequence>::value applications of F.

- + Header
diff --git a/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html b/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html
index d017cd87..1cedc9bb 100644
--- a/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html
+++ b/doc/html/fusion/algorithm/iteration/metafunctions/for_each.html
@@ -30,11 +30,11 @@
             return type of for_each is always void.
           

- + Description
- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.38. Parameters

+

Table 1.38. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -131,14 +131,14 @@ return type is always void.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/query.html b/doc/html/fusion/algorithm/query.html
index 0edebd7f..83d1b667 100644
--- a/doc/html/fusion/algorithm/query.html
+++ b/doc/html/fusion/algorithm/query.html
@@ -33,7 +33,7 @@
         The query algorithms provide support for searching and analyzing sequences.
       

- + Header

diff --git a/doc/html/fusion/algorithm/query/functions/all.html b/doc/html/fusion/algorithm/query/functions/all.html
index 8816c715..5370bcb3 100644
--- a/doc/html/fusion/algorithm/query/functions/all.html
+++ b/doc/html/fusion/algorithm/query/functions/all.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -37,7 +37,7 @@ element of seq.

- + Synopsis
@@ -49,7 +49,7 @@
     Sequence const& seq, F f);
 
-

Table 1.40. Parameters

+

Table 1.40. Parameters

@@ -116,7 +116,7 @@
- + Expression Semantics
@@ -133,14 +133,14 @@ element e in seq.

- + Complexity

Linear. At most result_of::size<Sequence>::value comparisons.

- + Header
@@ -148,7 +148,7 @@
 #include <boost/fusion/include/all.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/query/functions/any.html b/doc/html/fusion/algorithm/query/functions/any.html
index cf29b6d6..9766fb16 100644
--- a/doc/html/fusion/algorithm/query/functions/any.html
+++ b/doc/html/fusion/algorithm/query/functions/any.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -37,7 +37,7 @@ least one element of seq.

- + Synopsis
@@ -49,7 +49,7 @@
     Sequence const& seq, F f);
 
-

Table 1.39. Parameters

+

Table 1.39. Parameters

@@ -116,7 +116,7 @@
- + Expression semantics
@@ -133,14 +133,14 @@ element e in seq.

- + Complexity

Linear. At most result_of::size<Sequence>::value comparisons.

- + Header
@@ -148,7 +148,7 @@
 #include <boost/fusion/include/any.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/query/functions/count.html b/doc/html/fusion/algorithm/query/functions/count.html
index b8b8956f..2a276254 100644
--- a/doc/html/fusion/algorithm/query/functions/count.html
+++ b/doc/html/fusion/algorithm/query/functions/count.html
@@ -26,14 +26,14 @@
 
 
- + Description

Returns the number of elements of a given type within a sequence.

- + Synopsis
@@ -45,7 +45,7 @@
     Sequence const& seq, T const& t);
 
-

Table 1.44. Parameters

+

Table 1.44. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -129,14 +129,14 @@ t in seq.

- + Complexity

Linear. At most result_of::size<Sequence>::value comparisons.

- + Header
@@ -144,7 +144,7 @@
 #include <boost/fusion/include/count.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/query/functions/count_if.html b/doc/html/fusion/algorithm/query/functions/count_if.html
index 3783faa8..ffa0422d 100644
--- a/doc/html/fusion/algorithm/query/functions/count_if.html
+++ b/doc/html/fusion/algorithm/query/functions/count_if.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ a given unary function object evaluates to true.

- + Synopsis
@@ -46,7 +46,7 @@
     Sequence const& seq, F f);
 
-

Table 1.45. Parameters

+

Table 1.45. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -128,14 +128,14 @@ in seq where f evaluates to true.

- + Complexity

Linear. At most result_of::size<Sequence>::value comparisons.

- + Header
@@ -143,7 +143,7 @@
 #include <boost/fusion/include/count_if.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/query/functions/find.html b/doc/html/fusion/algorithm/query/functions/find.html
index 3f849675..7c2499ca 100644
--- a/doc/html/fusion/algorithm/query/functions/find.html
+++ b/doc/html/fusion/algorithm/query/functions/find.html
@@ -26,14 +26,14 @@
 
 
- + Description

Finds the first element of a given type within a sequence.

- + Synopsis
@@ -50,7 +50,7 @@
 unspecified find(Sequence& seq);
 
-

Table 1.42. Parameters

+

Table 1.42. Parameters

@@ -115,7 +115,7 @@
- + Expression Semantics
@@ -133,14 +133,14 @@ to find_if<boost::is_same<_, T> >(seq)

- + Complexity

Linear. At most result_of::size<Sequence>::value comparisons.

- + Header
@@ -148,7 +148,7 @@
 #include <boost/fusion/include/find.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/query/functions/find_if.html b/doc/html/fusion/algorithm/query/functions/find_if.html
index d7be6ca2..20b74c2b 100644
--- a/doc/html/fusion/algorithm/query/functions/find_if.html
+++ b/doc/html/fusion/algorithm/query/functions/find_if.html
@@ -31,11 +31,11 @@
             Lambda Expression evaluates to boost::mpl::true_.
           

- + Description
- + Synopsis
@@ -52,7 +52,7 @@
 unspecified find_if(Sequence& seq);
 
-

Table 1.43. Parameters

+

Table 1.43. Parameters

@@ -118,7 +118,7 @@
- + Expression Semantics
@@ -137,7 +137,7 @@ if there is no such element.

- + Complexity

@@ -147,7 +147,7 @@ /algorithm/query/find_if.hpp>

- + Example
diff --git a/doc/html/fusion/algorithm/query/functions/none.html b/doc/html/fusion/algorithm/query/functions/none.html
index 21922a42..9f613a5a 100644
--- a/doc/html/fusion/algorithm/query/functions/none.html
+++ b/doc/html/fusion/algorithm/query/functions/none.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -37,7 +37,7 @@ element of seq.

- + Synopsis
@@ -49,7 +49,7 @@
     Sequence const& seq, F f);
 
-

Table 1.41. Parameters

+

Table 1.41. Parameters

@@ -116,7 +116,7 @@
- + Expression Semantics
@@ -133,14 +133,14 @@ element e in seq. Result equivalent to !any(seq, f).

- + Complexity

Linear. At most result_of::size<Sequence>::value comparisons.

- + Header
@@ -148,7 +148,7 @@
 #include <boost/fusion/include/none.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/query/metafunctions/all.html b/doc/html/fusion/algorithm/query/metafunctions/all.html
index 4716b6ac..bcd98c6a 100644
--- a/doc/html/fusion/algorithm/query/metafunctions/all.html
+++ b/doc/html/fusion/algorithm/query/metafunctions/all.html
@@ -26,14 +26,14 @@
 
 
- + Description

A metafunction returning the result type of all.

- + Synopsis
@@ -47,7 +47,7 @@
 };
 
-

Table 1.47. Parameters

+

Table 1.47. Parameters

@@ -114,7 +114,7 @@
- + Expression Semantics
@@ -134,14 +134,14 @@ The return type is always bool.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/query/metafunctions/any.html b/doc/html/fusion/algorithm/query/metafunctions/any.html
index 69a8f00c..d7eb4548 100644
--- a/doc/html/fusion/algorithm/query/metafunctions/any.html
+++ b/doc/html/fusion/algorithm/query/metafunctions/any.html
@@ -26,14 +26,14 @@
 
 
- + Description

A metafunction returning the result type of any.

- + Synopsis
@@ -47,7 +47,7 @@
 };
 
-

Table 1.46. Parameters

+

Table 1.46. Parameters

@@ -114,7 +114,7 @@
- + Expression Semantics
@@ -134,14 +134,14 @@ The return type is always bool.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/query/metafunctions/count.html b/doc/html/fusion/algorithm/query/metafunctions/count.html
index af8a5f92..8716f4a2 100644
--- a/doc/html/fusion/algorithm/query/metafunctions/count.html
+++ b/doc/html/fusion/algorithm/query/metafunctions/count.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ given the sequence and search types.

- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.51. Parameters

+

Table 1.51. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -129,14 +129,14 @@ int.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/query/metafunctions/count_if.html b/doc/html/fusion/algorithm/query/metafunctions/count_if.html
index 965b44cf..27402618 100644
--- a/doc/html/fusion/algorithm/query/metafunctions/count_if.html
+++ b/doc/html/fusion/algorithm/query/metafunctions/count_if.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ given the sequence and predicate types.

- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.52. Parameters

+

Table 1.52. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -129,14 +129,14 @@ always int.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/query/metafunctions/find.html b/doc/html/fusion/algorithm/query/metafunctions/find.html
index 696ac47c..642f7077 100644
--- a/doc/html/fusion/algorithm/query/metafunctions/find.html
+++ b/doc/html/fusion/algorithm/query/metafunctions/find.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ given the sequence and search types.

- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.49. Parameters

+

Table 1.49. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -131,14 +131,14 @@ if there is no such element.

- + Complexity

Linear, at most result_of::size<Sequence>::value comparisons.

- + Header
diff --git a/doc/html/fusion/algorithm/query/metafunctions/find_if.html b/doc/html/fusion/algorithm/query/metafunctions/find_if.html
index f443ba3a..0883d34c 100644
--- a/doc/html/fusion/algorithm/query/metafunctions/find_if.html
+++ b/doc/html/fusion/algorithm/query/metafunctions/find_if.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ given the sequence and predicate types.

- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.50. Parameters

+

Table 1.50. Parameters

@@ -114,7 +114,7 @@
- + Expression Semantics
@@ -132,14 +132,14 @@ to true. Returns result_of::end<Sequence>::type if there is no such element.

- + Complexity

Linear. At most result_of::size<Sequence>::value comparisons.

- + Header
diff --git a/doc/html/fusion/algorithm/query/metafunctions/none.html b/doc/html/fusion/algorithm/query/metafunctions/none.html
index 94ad3209..775bb347 100644
--- a/doc/html/fusion/algorithm/query/metafunctions/none.html
+++ b/doc/html/fusion/algorithm/query/metafunctions/none.html
@@ -26,14 +26,14 @@
 
 
- + Description

A metafunction returning the result type of none.

- + Synopsis
@@ -47,7 +47,7 @@
 };
 
-

Table 1.48. Parameters

+

Table 1.48. Parameters

@@ -114,7 +114,7 @@
- + Expression Semantics
@@ -134,14 +134,14 @@ The return type is always bool.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation.html b/doc/html/fusion/algorithm/transformation.html
index 44fe6037..3b792522 100644
--- a/doc/html/fusion/algorithm/transformation.html
+++ b/doc/html/fusion/algorithm/transformation.html
@@ -46,7 +46,7 @@
         

- + Header

diff --git a/doc/html/fusion/algorithm/transformation/functions/clear.html b/doc/html/fusion/algorithm/transformation/functions/clear.html
index a7c819ba..6a4b5581 100644
--- a/doc/html/fusion/algorithm/transformation/functions/clear.html
+++ b/doc/html/fusion/algorithm/transformation/functions/clear.html
@@ -26,14 +26,14 @@
 
 
- + Description

clear returns an empty sequence.

- + Synposis
@@ -43,7 +43,7 @@
 typename result_of::clear<Sequence const>::type clear(Sequence const& seq);
 
-

Table 1.62. Parameters

+

Table 1.62. Parameters

@@ -89,7 +89,7 @@
- + Expression Semantics
@@ -106,14 +106,14 @@ with no elements.

- + Complexity

Constant.

- + Header
@@ -121,7 +121,7 @@
 #include <boost/fusion/include/clear.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/erase.html b/doc/html/fusion/algorithm/transformation/functions/erase.html
index ce6fe5d5..cd28e649 100644
--- a/doc/html/fusion/algorithm/transformation/functions/erase.html
+++ b/doc/html/fusion/algorithm/transformation/functions/erase.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ those at a specified iterator, or between two iterators.

- + Synposis
@@ -54,7 +54,7 @@
     Sequence const& seq, First const& it1, Last const& it2);
 
-

Table 1.63. Parameters

+

Table 1.63. Parameters

@@ -141,7 +141,7 @@
- + Expression Semantics
@@ -172,14 +172,14 @@ in their original order, except those in the range [first,last).

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -187,7 +187,7 @@
 #include <boost/fusion/include/erase.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/erase_key.html b/doc/html/fusion/algorithm/transformation/functions/erase_key.html
index e85b75f9..15803534 100644
--- a/doc/html/fusion/algorithm/transformation/functions/erase_key.html
+++ b/doc/html/fusion/algorithm/transformation/functions/erase_key.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -39,7 +39,7 @@ with a given key.

- + Synposis
@@ -50,7 +50,7 @@
 typename result_of::erase_key<Sequence const, Key>::type erase_key(Sequence const& seq);
 
-

Table 1.64. Parameters

+

Table 1.64. Parameters

@@ -115,7 +115,7 @@
- + Expression Semantics
@@ -133,14 +133,14 @@ except those with key Key.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -148,7 +148,7 @@
 #include <boost/fusion/include/erase_key.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/filter.html b/doc/html/fusion/algorithm/transformation/functions/filter.html
index 8a9a3e31..72e7c175 100644
--- a/doc/html/fusion/algorithm/transformation/functions/filter.html
+++ b/doc/html/fusion/algorithm/transformation/functions/filter.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ the elements of a specified type.

- + Synopsis
@@ -45,7 +45,7 @@
 typename result_of::filter<Sequence const, T>::type filter(Sequence const& seq);
 
-

Table 1.53. Parameters

+

Table 1.53. Parameters

@@ -110,7 +110,7 @@
- + Expression Semantics
@@ -129,14 +129,14 @@ to filter_if<boost::same_type<_, T> >(seq).

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -144,7 +144,7 @@
 #include <boost/fusion/include/filter.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/filter_if.html b/doc/html/fusion/algorithm/transformation/functions/filter_if.html
index 705cb9f1..d0c7000f 100644
--- a/doc/html/fusion/algorithm/transformation/functions/filter_if.html
+++ b/doc/html/fusion/algorithm/transformation/functions/filter_if.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -35,7 +35,7 @@ Lambda Expression evaluates to boost::mpl::true_.

- + Synopsis
@@ -46,7 +46,7 @@
 typename result_of::filter_if<Sequence const, Pred>::type filter_if(Sequence const& seq);
 
-

Table 1.54. Parameters

+

Table 1.54. Parameters

@@ -112,7 +112,7 @@
- + Expression Semantics
@@ -132,14 +132,14 @@ is the same as in the original sequence.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -147,7 +147,7 @@
 #include <boost/fusion/include/filter_if.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/insert.html b/doc/html/fusion/algorithm/transformation/functions/insert.html
index 30811c97..ac20b5bc 100644
--- a/doc/html/fusion/algorithm/transformation/functions/insert.html
+++ b/doc/html/fusion/algorithm/transformation/functions/insert.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ element inserted the position described by a given iterator.

- + Synposis
@@ -46,7 +46,7 @@
 unspecified insert(Sequence const& seq, Pos const& pos, T const& t);
 
-

Table 1.65. Parameters

+

Table 1.65. Parameters

@@ -130,7 +130,7 @@
- + Expression Semantics
@@ -150,14 +150,14 @@ pos.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -165,7 +165,7 @@
 #include <boost/fusion/include/insert.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/insert_range.html b/doc/html/fusion/algorithm/transformation/functions/insert_range.html
index 2ad98e76..ed877215 100644
--- a/doc/html/fusion/algorithm/transformation/functions/insert_range.html
+++ b/doc/html/fusion/algorithm/transformation/functions/insert_range.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ iterator.

- + Synposis
@@ -47,7 +47,7 @@
     Sequence const& seq, Pos const& pos, Range const& range);
 
-

Table 1.66. Parameters

+

Table 1.66. Parameters

@@ -133,7 +133,7 @@
- + Expression Semantics
@@ -153,14 +153,14 @@ All elements retaining their ordering from the orignal sequences.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -168,7 +168,7 @@
 #include <boost/fusion/include/insert_range.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/join.html b/doc/html/fusion/algorithm/transformation/functions/join.html
index 8c29be36..52804fef 100644
--- a/doc/html/fusion/algorithm/transformation/functions/join.html
+++ b/doc/html/fusion/algorithm/transformation/functions/join.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ first followed by the elements of the second.

- + Synopsis
@@ -44,7 +44,7 @@
 typename result_of::join<LhSequence, RhSequence>::type join(LhSequence const& lhs, RhSequence const& rhs);
 
-

Table 1.67. Parameters

+

Table 1.67. Parameters

@@ -111,7 +111,7 @@
- + Expression Semantics
@@ -130,14 +130,14 @@ The order of th elements is preserved.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -145,7 +145,7 @@
 #include <boost/fusion/include/join.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/pop_back.html b/doc/html/fusion/algorithm/transformation/functions/pop_back.html
index e6a38ee9..f82f9ed2 100644
--- a/doc/html/fusion/algorithm/transformation/functions/pop_back.html
+++ b/doc/html/fusion/algorithm/transformation/functions/pop_back.html
@@ -26,14 +26,14 @@
 
 
- + Description

Returns a new sequence, with the last element of the original removed.

- + Synopsis
@@ -43,7 +43,7 @@
 typename result_of::pop_back<Sequence const>::type pop_back(Sequence const& seq);
 
-

Table 1.69. Parameters

+

Table 1.69. Parameters

@@ -89,7 +89,7 @@
- + Expression Semantics
@@ -108,14 +108,14 @@ same order as they were in seq.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -123,7 +123,7 @@
 #include <boost/fusion/include/pop_back.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/pop_front.html b/doc/html/fusion/algorithm/transformation/functions/pop_front.html
index 51d0e33c..526e745b 100644
--- a/doc/html/fusion/algorithm/transformation/functions/pop_front.html
+++ b/doc/html/fusion/algorithm/transformation/functions/pop_front.html
@@ -26,14 +26,14 @@
 
 
- + Description

Returns a new sequence, with the first element of the original removed.

- + Synopsis
@@ -43,7 +43,7 @@
 typename result_of::pop_front<Sequence const>::type pop_front(Sequence const& seq);
 
-

Table 1.70. Parameters

+

Table 1.70. Parameters

@@ -89,7 +89,7 @@
- + Expression Semantics
@@ -108,14 +108,14 @@ same order as they were in seq.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -123,7 +123,7 @@
 #include <boost/fusion/include/pop_front.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/push_back.html b/doc/html/fusion/algorithm/transformation/functions/push_back.html
index 470d3694..ea79a915 100644
--- a/doc/html/fusion/algorithm/transformation/functions/push_back.html
+++ b/doc/html/fusion/algorithm/transformation/functions/push_back.html
@@ -26,14 +26,14 @@
 
 
- + Description

Returns a new sequence with an element added at the end.

- + Synopsis
@@ -45,7 +45,7 @@
     Sequence const& seq, T const& t);
 
-

Table 1.71. Parameters

+

Table 1.71. Parameters

@@ -110,7 +110,7 @@
- + Expression Semantics
@@ -129,14 +129,14 @@ to the end. The elements are in the same order as they were in seq.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -144,7 +144,7 @@
 #include <boost/fusion/include/push_back.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/push_front.html b/doc/html/fusion/algorithm/transformation/functions/push_front.html
index 1ae17e21..3528ce78 100644
--- a/doc/html/fusion/algorithm/transformation/functions/push_front.html
+++ b/doc/html/fusion/algorithm/transformation/functions/push_front.html
@@ -26,14 +26,14 @@
 
 
- + Description

Returns a new sequence with an element added at the beginning.

- + Synopsis
@@ -45,7 +45,7 @@
     Sequence const& seq, T const& t);
 
-

Table 1.72. Parameters

+

Table 1.72. Parameters

@@ -110,7 +110,7 @@
- + Expression Semantics
@@ -130,14 +130,14 @@ seq.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -145,7 +145,7 @@
 #include <boost/fusion/include/push_front.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/remove.html b/doc/html/fusion/algorithm/transformation/functions/remove.html
index f960be9b..259c052f 100644
--- a/doc/html/fusion/algorithm/transformation/functions/remove.html
+++ b/doc/html/fusion/algorithm/transformation/functions/remove.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ except those of a given type.

- + Synopsis
@@ -45,7 +45,7 @@
 typename result_of::remove<Sequence const, T>::type replace(Sequence const& seq);
 
-

Table 1.59. Parameters

+

Table 1.59. Parameters

@@ -110,7 +110,7 @@
- + Expression Semantics
@@ -129,14 +129,14 @@ Equivalent to remove_if<boost::is_same<_,T> >(seq).

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -144,7 +144,7 @@
 #include <boost/fusion/include/remove.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/remove_if.html b/doc/html/fusion/algorithm/transformation/functions/remove_if.html
index 4b19b60f..1d875723 100644
--- a/doc/html/fusion/algorithm/transformation/functions/remove_if.html
+++ b/doc/html/fusion/algorithm/transformation/functions/remove_if.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ those where a given unary function object evaluates to true.

- + Synopsis
@@ -45,7 +45,7 @@
 typename result_of::remove_if<Sequence const, Pred>::type remove_if(Sequence const& seq);
 
-

Table 1.60. Parameters

+

Table 1.60. Parameters

@@ -111,7 +111,7 @@
- + Expression Semantics
@@ -131,14 +131,14 @@ >(seq).

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -146,7 +146,7 @@
 #include <boost/fusion/include/remove_if.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/replace.html b/doc/html/fusion/algorithm/transformation/functions/replace.html
index 2ad006c3..a7c7c7e0 100644
--- a/doc/html/fusion/algorithm/transformation/functions/replace.html
+++ b/doc/html/fusion/algorithm/transformation/functions/replace.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ a new value.

- + Synopsis
@@ -46,7 +46,7 @@
     Sequence const& seq, T const& old_value, T const& new_value);
 
-

Table 1.57. Parameters

+

Table 1.57. Parameters

@@ -132,7 +132,7 @@
- + Expression Semantics
@@ -151,14 +151,14 @@ to elements with the same type and equal to old_value.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -166,7 +166,7 @@
 #include <boost/fusion/include/replace.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/replace_if.html b/doc/html/fusion/algorithm/transformation/functions/replace_if.html
index 47abd9b4..2345f1d5 100644
--- a/doc/html/fusion/algorithm/transformation/functions/replace_if.html
+++ b/doc/html/fusion/algorithm/transformation/functions/replace_if.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -35,7 +35,7 @@ replaced with a new value.

- + Synopsis
@@ -47,7 +47,7 @@
     Sequence const& seq, F f, T const& new_value);
 
-

Table 1.58. Parameters

+

Table 1.58. Parameters

@@ -131,7 +131,7 @@
- + Expression Semantics
@@ -151,14 +151,14 @@ evaluates to true.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -166,7 +166,7 @@
 #include <boost/fusion/include/replace_if.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/reverse.html b/doc/html/fusion/algorithm/transformation/functions/reverse.html
index 450949dd..6360f6ae 100644
--- a/doc/html/fusion/algorithm/transformation/functions/reverse.html
+++ b/doc/html/fusion/algorithm/transformation/functions/reverse.html
@@ -26,14 +26,14 @@
 
 
- + Description

Returns a new sequence with the elements of the original in reverse order.

- + Synposis
@@ -43,7 +43,7 @@
 typename result_of::reverse<Sequence const>::type reverse(Sequence const& seq);
 
-

Table 1.61. Parameters

+

Table 1.61. Parameters

@@ -89,7 +89,7 @@
- + Expression Semantics
@@ -107,14 +107,14 @@ in reverse order.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -122,7 +122,7 @@
 #include <boost/fusion/include/reverse.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/transform.html b/doc/html/fusion/algorithm/transformation/functions/transform.html
index 0ed95864..72062220 100644
--- a/doc/html/fusion/algorithm/transformation/functions/transform.html
+++ b/doc/html/fusion/algorithm/transformation/functions/transform.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -37,7 +37,7 @@ of seq.

- + Unary version synopsis
@@ -50,7 +50,7 @@ Sequence const& seq, F f);
-

Table 1.55. Parameters

+

Table 1.55. Parameters

@@ -118,7 +118,7 @@
- + Expression Semantics
@@ -136,7 +136,7 @@ within seq.

- + Binary version synopsis
@@ -150,7 +150,7 @@ Sequence1 const& seq1, Sequence2 const& seq2, F f);
-

Table 1.56. Parameters

+

Table 1.56. Parameters

@@ -248,14 +248,14 @@ within seq1 and seq2 respectively.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -263,7 +263,7 @@
 #include <boost/fusion/include/transform.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/functions/zip.html b/doc/html/fusion/algorithm/transformation/functions/zip.html
index 4942b8d4..ed367e99 100644
--- a/doc/html/fusion/algorithm/transformation/functions/zip.html
+++ b/doc/html/fusion/algorithm/transformation/functions/zip.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ of the members of the component sequences.

- + Synopsis
@@ -48,7 +48,7 @@
 zip(Sequence1 const& seq1, Sequence2 const& seq2, ... SequenceN const& seqN);
 
-

Table 1.68. Parameters

+

Table 1.68. Parameters

@@ -94,7 +94,7 @@
- + Expression Semantics
@@ -117,14 +117,14 @@ 'c'))

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -132,7 +132,7 @@
 #include <boost/fusion/include/zip.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/clear.html b/doc/html/fusion/algorithm/transformation/metafunctions/clear.html
index 262ccbe9..a4487787 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/clear.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/clear.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ type.

- + Synopsis
@@ -47,7 +47,7 @@
 };
 
-

Table 1.82. Parameters

+

Table 1.82. Parameters

@@ -91,7 +91,7 @@
- + Expression Semantics
@@ -107,14 +107,14 @@ Semantics: Returns an empty sequence.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/erase.html b/doc/html/fusion/algorithm/transformation/metafunctions/erase.html
index 6c3d9bc8..b09ce582 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/erase.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/erase.html
@@ -30,11 +30,11 @@
             and range delimiting iterator types.
           

- + Description
- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.83. Parameters

+

Table 1.83. Parameters

@@ -134,7 +134,7 @@
- + Expression Semantics
@@ -164,14 +164,14 @@ and It2 removed.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html b/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html
index 55aebcd4..c063d91f 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/erase_key.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ and key types.

- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.84. Parameters

+

Table 1.84. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -131,14 +131,14 @@ except those with key Key.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/filter.html b/doc/html/fusion/algorithm/transformation/metafunctions/filter.html
index 20e06f7f..22688844 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/filter.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/filter.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ and type to retain.

- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.73. Parameter

+

Table 1.73. Parameter

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -133,14 +133,14 @@ boost::is_same<mpl::_, T> >::type.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html b/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html
index 4a2fba0f..2d696bc8 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/filter_if.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -35,7 +35,7 @@ Lambda Expression predicate type.

- + Synopsis
@@ -49,7 +49,7 @@
 };
 
-

Table 1.74. Parameter

+

Table 1.74. Parameter

@@ -115,7 +115,7 @@
- + Expression Semantics
@@ -134,14 +134,14 @@ to boost::mpl::true_.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/insert.html b/doc/html/fusion/algorithm/transformation/metafunctions/insert.html
index 4862ef96..9f1bc538 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/insert.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/insert.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ position iterator and insertion types.

- + Synopsis
@@ -49,7 +49,7 @@
 };
 
-

Table 1.85. Parameters

+

Table 1.85. Parameters

@@ -133,7 +133,7 @@
- + Expression Semantics
@@ -152,14 +152,14 @@ in Sequence.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html b/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html
index 569edb6c..b70d3a87 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/insert_range.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ sequence, position iterator and insertion range types.

- + Synopsis
@@ -49,7 +49,7 @@
 };
 
-

Table 1.86. Parameters

+

Table 1.86. Parameters

@@ -135,7 +135,7 @@
- + Expression Semantics
@@ -154,14 +154,14 @@ into Sequence.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/join.html b/doc/html/fusion/algorithm/transformation/metafunctions/join.html
index 8b976533..93f693ed 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/join.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/join.html
@@ -26,14 +26,14 @@
 
 
- + Description

Returns the result of joining 2 sequences, given the sequence types.

- + Synopsis
@@ -47,7 +47,7 @@
 };
 
- + Expression Semantics
@@ -66,14 +66,14 @@ The order of the elements in the 2 sequences is preserved.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html b/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html
index 91a428b7..ad364d9c 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/pop_back.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ type.

- + Synopsis
@@ -47,7 +47,7 @@
 };
 
-

Table 1.87. Parameters

+

Table 1.87. Parameters

@@ -93,7 +93,7 @@
- + Expression Semantics
@@ -111,14 +111,14 @@ except the last element.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html b/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html
index fae2fd12..11a37984 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/pop_front.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ type.

- + Synopsis
@@ -47,7 +47,7 @@
 };
 
-

Table 1.88. Parameters

+

Table 1.88. Parameters

@@ -93,7 +93,7 @@
- + Expression Semantics
@@ -111,7 +111,7 @@ except the first element.

- + Complexity

diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html b/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html index dab21804..8e276645 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/push_back.html @@ -26,7 +26,7 @@

- + Description

@@ -34,7 +34,7 @@ the input sequence and element to push.

- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.89. Parameters

+

Table 1.89. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -132,7 +132,7 @@ added to the end.

- + Complexity

diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html b/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html index 07c62af6..ad67daff 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/push_front.html @@ -26,7 +26,7 @@

- + Description

@@ -34,7 +34,7 @@ of the input sequence and element to push.

- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.90. Parameters

+

Table 1.90. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -132,7 +132,7 @@ added to the beginning.

- + Complexity

diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/remove.html b/doc/html/fusion/algorithm/transformation/metafunctions/remove.html index 5905f043..9a3acace 100644 --- a/doc/html/fusion/algorithm/transformation/metafunctions/remove.html +++ b/doc/html/fusion/algorithm/transformation/metafunctions/remove.html @@ -26,7 +26,7 @@

- + Description

@@ -34,7 +34,7 @@ removal types.

- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.79. Parameters

+

Table 1.79. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -133,14 +133,14 @@ boost::is_same<mpl::_, T> >::type.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html b/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html
index a768ad72..44468eb4 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/remove_if.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -35,7 +35,7 @@ Lambda Expression predicate types.

- + Synopsis
@@ -49,7 +49,7 @@
 };
 
-

Table 1.80. Parameters

+

Table 1.80. Parameters

@@ -115,7 +115,7 @@
- + Expression Semantics
@@ -134,14 +134,14 @@ to boost::mpl::false_.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/replace.html b/doc/html/fusion/algorithm/transformation/metafunctions/replace.html
index 4742edf5..af240b9d 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/replace.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/replace.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ the input sequence and element to replace.

- + Synopsis
@@ -48,7 +48,7 @@
 };
 
-

Table 1.77. Parameters

+

Table 1.77. Parameters

@@ -113,7 +113,7 @@
- + Expression Semantics
@@ -130,14 +130,14 @@ replace.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html b/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html
index c4986f49..26ac64bb 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/replace_if.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -36,7 +36,7 @@ Function Object predicate and replacement object.

- + Synopsis
@@ -50,7 +50,7 @@
 };
 
-

Table 1.78. Parameters

+

Table 1.78. Parameters

@@ -134,7 +134,7 @@
- + Expression Semantics
@@ -151,14 +151,14 @@ replace_if.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html b/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html
index 23763336..84a08e9f 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/reverse.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ type.

- + Synopsis
@@ -47,7 +47,7 @@
 };
 
-

Table 1.81. Parameters

+

Table 1.81. Parameters

@@ -93,7 +93,7 @@
- + Expression Semantics
@@ -110,14 +110,14 @@ elements in the reverse order to Sequence.

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/transform.html b/doc/html/fusion/algorithm/transformation/metafunctions/transform.html
index e30b8b3e..9f9c7e0f 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/transform.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/transform.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -37,7 +37,7 @@ of seq.

- + Unary version synopsis
@@ -50,7 +50,7 @@ Sequence const& seq, F f);
-

Table 1.75. Parameters

+

Table 1.75. Parameters

@@ -118,7 +118,7 @@
- + Expression Semantics
@@ -136,7 +136,7 @@ within seq.

- + Binary version synopsis
@@ -150,7 +150,7 @@ Sequence1 const& seq1, Sequence2 const& seq2, F f);
-

Table 1.76. Parameters

+

Table 1.76. Parameters

@@ -248,14 +248,14 @@ within seq1 and seq2 respectively.

- + Complexity

Constant. Returns a view which is lazily evaluated.

- + Header
@@ -263,7 +263,7 @@
 #include <boost/fusion/include/transform.hpp>
 
- + Example
diff --git a/doc/html/fusion/algorithm/transformation/metafunctions/zip.html b/doc/html/fusion/algorithm/transformation/metafunctions/zip.html
index 60ad46cd..2cb12b87 100644
--- a/doc/html/fusion/algorithm/transformation/metafunctions/zip.html
+++ b/doc/html/fusion/algorithm/transformation/metafunctions/zip.html
@@ -26,7 +26,7 @@
 
 
- + Description

@@ -34,7 +34,7 @@ of the members of the component sequences.

- + Synopsis
@@ -50,7 +50,7 @@
 };
 
- + Expression Semantics
@@ -73,14 +73,14 @@ 'c'))

- + Complexity

Constant.

- + Header
diff --git a/doc/html/fusion/change_log.html b/doc/html/fusion/change_log.html
index dda2f704..8c356fee 100644
--- a/doc/html/fusion/change_log.html
+++ b/doc/html/fusion/change_log.html
@@ -31,14 +31,29 @@
 
  • Sep 27, 2006: Added boost::tuple - support. + support. (Joel de Guzman)
  • Nov 17, 2006: Added boost::variant - support. + support. (Joel de Guzman)
  • - Feb 15, 2007: Added functional module. + Feb 15, 2007: Added functional module. (Tobias Schwinger) +
  • +
  • + APRIL 2, 2007: Added struct adapter. (Joel de Guzman) +
  • +
  • + May 8, 2007: Added associative struct adapter. (Dan Marsden) +
  • +
  • + Dec 20, 2007: Removed boost::variant + support. After thorough investigation, I think now that the move to make + variant a fusion sequence is rather quirky. A variant will always have a + size==1 regardless of the number of types it can contain and there's no way + to know at compile time what it contains. Iterating over its types is simply + wrong. All these imply that the variant is not + a fusion sequence. (Joel de Guzman)
diff --git a/doc/html/fusion/extension.html b/doc/html/fusion/extension.html index ec3d1f4e..b7c413cd 100644 --- a/doc/html/fusion/extension.html +++ b/doc/html/fusion/extension.html @@ -29,11 +29,6 @@
The Full Extension Mechanism
Sequence Facade
Iterator Facade
-
Macros
-
-
BOOST_FUSION_ADAPT_STRUCT
-
BOOST_FUSION_ADAPT_ASSOC_STRUCT
-
diff --git a/doc/html/fusion/extension/ext_full.html b/doc/html/fusion/extension/ext_full.html index b3f14671..013c0e10 100644 --- a/doc/html/fusion/extension/ext_full.html +++ b/doc/html/fusion/extension/ext_full.html @@ -48,7 +48,7 @@

- + Our example

@@ -80,7 +80,7 @@ Start guide.

- + Enabling Tag Dispatching

@@ -124,7 +124,7 @@ #include<boost/fusion/include/tag_of.hpp>

- + Designing a suitable iterator

@@ -187,7 +187,7 @@ clearer as we add features to our implementation.

- + A first couple of instructive features

@@ -331,7 +331,7 @@

- + Implementing the remaining iterator functionality

@@ -386,7 +386,7 @@ are provided in the example code.

- + Implementing the intrinsic functions of the sequence

@@ -445,7 +445,7 @@ value_at_impl and at_impl.

- + Enabling our type as an associative container

@@ -513,7 +513,7 @@ of is_associative_impl.

- + Summary

diff --git a/doc/html/fusion/extension/iterator_facade.html b/doc/html/fusion/extension/iterator_facade.html index 5ab56385..3403e178 100644 --- a/doc/html/fusion/extension/iterator_facade.html +++ b/doc/html/fusion/extension/iterator_facade.html @@ -7,7 +7,7 @@ - + @@ -20,13 +20,13 @@


-PrevUpHomeNext +PrevUpHomeNext

- + Description

@@ -35,7 +35,7 @@ iterator.

- + Synopsis

@@ -43,7 +43,7 @@
 struct iterator_facade;
 

- + Usage

@@ -57,7 +57,7 @@ type.

-

Table 1.93. Parameters

+

Table 1.93. Parameters

@@ -106,7 +106,7 @@
-

Table 1.94. Key Expressions

+

Table 1.94. Key Expressions

@@ -365,7 +365,7 @@

- + Header

@@ -373,11 +373,11 @@
 #include <boost/fusion/include/iterator_facade.hpp>
 

- + Example

- A full worked example using iterator_facade is provided in triple.cpp + A full working example using iterator_facade is provided in triple.cpp in the extension examples.

@@ -392,7 +392,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/fusion/extension/macros/adapt_assoc.html b/doc/html/fusion/extension/macros/adapt_assoc.html deleted file mode 100644 index c239b08d..00000000 --- a/doc/html/fusion/extension/macros/adapt_assoc.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - BOOST_FUSION_ADAPT_ASSOC_STRUCT - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- BOOST_FUSION_ADAPT_ASSOC_STRUCT is a macro that can be used to generate - all the necessary boilerplate to make an arbitrary struct into a model - of Random - Access Sequence and Associative - Sequence. -

-
- - Synopsis -
-
-BOOST_FUSION_ADAPT_ASSOC_STRUCT(
-    struct_name
-    (member_type0, member_name0, key_type0)
-    (member_type1, member_name1, key_type1)
-    ...
-    )
-
-
- - Semantics -
-
-BOOST_FUSION_ADAPT_ASSOC_STRUCT(
-    struct_name
-    (member_type0, member_name0, key_type0)
-    (member_type1, member_name1, key_type1)
-    ...
-    )
-
-

- The above macro generates the necessary code to adapt struct_name - as a model of Random - Access Sequence and Associative - Sequence. The sequence of (member_typeN, - member_nameN, - key_typeN) - triples declare the type, name and key type of each of the struct members - that will be part of the sequence. -

-

- The macro should be used at global scope, and struct_name - should be the fully namespace qualified name of the struct to be converted. -

-

- /adapted/struct/adapt_assoc_struct.hpp> -

-
- - Example -
-
-namespace demo
-{
-    struct employee
-    {
-        std::string name;
-        int age;
-    };
-}
-
-namespace keys
-{
-    struct name;
-    struct age;
-}
-
-// demo::employee is now a Fusion sequence
-// It is also an associative sequence with
-// keys keys::name and keys::age present.
-BOOST_FUSION_ADAPT_ASSOC_STRUCT(
-    demo::employee
-    (std::string, name, keys::name)
-    (int, age, keys::age))
-
-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/extension/macros/adapt_struct.html b/doc/html/fusion/extension/macros/adapt_struct.html deleted file mode 100644 index 95330224..00000000 --- a/doc/html/fusion/extension/macros/adapt_struct.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - BOOST_FUSION_ADAPT_STRUCT - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- BOOST_FUSION_ADAPT_STRUCT is a macro that can be used to generate all the - necessary boilerplate to make an arbitrary struct into a Random - Access Sequence. -

-
- - Synopsis -
-
-BOOST_FUSION_ADAPT_STRUCT(
-    struct_name
-    (member_type0, member_name0)
-    (member_type1, member_name1)
-    ...
-    )
-
-
- - Semantics -
-
-BOOST_FUSION_ADAPT_STRUCT(
-    struct_name,
-    (member_type0, member_name0)
-    (member_type1, member_name1)
-    ...
-    )
-
-

- The above macro generates the necessary code to adapt struct_name - as a model of Random - Access Sequence. The sequence of (member_typeN, - member_nameN) - pairs declare the type and names of each of the struct members that will - be part of the sequence. -

-

- The macro should be used at global scope, and struct_name - should be the fully namespace qualified name of the struct to be converted. -

-

- /adapted/struct/adapt_struct.hpp> -

-
- - Example -
-
-namespace demo
-{
-    struct employee
-    {
-        std::string name;
-        int age;
-    };
-}
-
-// demo::employee is now a Fusion sequence
-BOOST_FUSION_ADAPT_STRUCT(
-    demo::employee
-    (std::string, name)
-    (int, age))
-
-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/extension/sequence_facade.html b/doc/html/fusion/extension/sequence_facade.html index e7d5e364..38c49e7d 100644 --- a/doc/html/fusion/extension/sequence_facade.html +++ b/doc/html/fusion/extension/sequence_facade.html @@ -26,7 +26,7 @@

- + Description

@@ -35,7 +35,7 @@ iterator.

- + Synopsis

@@ -43,7 +43,7 @@
 struct sequence_facade;
 

- + Usage

@@ -59,7 +59,7 @@ type.

-

Table 1.91. Parameters

+

Table 1.91. Parameters

@@ -107,7 +107,7 @@
-

Table 1.92. Key Expressions

+

Table 1.92. Key Expressions

@@ -243,7 +243,7 @@

- + Include

@@ -251,11 +251,11 @@
 #include <boost/fusion/include/sequence_facade.hpp>
 

- + Example

- A full worked example using sequence_facade is provided in triple.cpp + A full working example using sequence_facade is provided in triple.cpp in the extension examples.

diff --git a/doc/html/fusion/functional.html b/doc/html/fusion/functional.html index 9eee3843..c71c6ec8 100644 --- a/doc/html/fusion/functional.html +++ b/doc/html/fusion/functional.html @@ -6,7 +6,7 @@ - + @@ -20,7 +20,7 @@
-PrevUpHomeNext +PrevUpHomeNext

@@ -65,7 +65,7 @@ /functional.hpp>

- + Fused and unfused forms

@@ -102,7 +102,7 @@ form of f'.

- + Calling functions and function objects

@@ -130,7 +130,7 @@ instance for the given argument.

- + Making Fusion code callable through a function object interface

@@ -159,7 +159,7 @@
-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/fusion/functional/adapters/fused.html b/doc/html/fusion/functional/adapters/fused.html index 8b812055..28492b6c 100644 --- a/doc/html/fusion/functional/adapters/fused.html +++ b/doc/html/fusion/functional/adapters/fused.html @@ -26,7 +26,7 @@
- + Description

@@ -59,7 +59,7 @@ /functional/adapter/fused.hpp>

- + Synopsis
@@ -67,7 +67,7 @@
 class fused;
 
- + Template parameters
@@ -114,7 +114,7 @@
- + Model of
    @@ -150,7 +150,7 @@
- + Expression Semantics
@@ -214,7 +214,7 @@
- + Example
@@ -222,7 +222,7 @@
 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 44f21f4a..ea01cb4e 100644 --- a/doc/html/fusion/functional/adapters/fused_function_object.html +++ b/doc/html/fusion/functional/adapters/fused_function_object.html @@ -26,7 +26,7 @@
    - + Description

    @@ -49,7 +49,7 @@ /functional/adapter/fused_function_object.hpp>

    - + Synopsis
    @@ -57,7 +57,7 @@
     class fused_function_object;
     
    - + Template parameters
    @@ -104,7 +104,7 @@
- + Model of
@@ -141,7 +141,7 @@
- + Expression Semantics
@@ -205,7 +205,7 @@
- + Example
@@ -243,7 +243,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/adapters/fused_procedure.html b/doc/html/fusion/functional/adapters/fused_procedure.html index e51c32f9..32fa9c5b 100644 --- a/doc/html/fusion/functional/adapters/fused_procedure.html +++ b/doc/html/fusion/functional/adapters/fused_procedure.html @@ -26,7 +26,7 @@
- + Description

@@ -66,7 +66,7 @@ /functional/adapter/fused_procedure.hpp>

- + Synopsis
@@ -74,7 +74,7 @@
 class fused_procedure;
 
- + Template parameters
@@ -120,7 +120,7 @@
- + Model of
@@ -156,7 +156,7 @@
- + Expression Semantics
@@ -220,7 +220,7 @@
- + Example
@@ -241,7 +241,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/adapters/unfused_generic.html b/doc/html/fusion/functional/adapters/unfused_generic.html index af7538c7..2466e19f 100644 --- a/doc/html/fusion/functional/adapters/unfused_generic.html +++ b/doc/html/fusion/functional/adapters/unfused_generic.html @@ -26,7 +26,7 @@
- + Description

@@ -58,7 +58,7 @@ /functional/adapter/unfused_generic.hpp>

- + Synopsis
@@ -66,7 +66,7 @@
 class unfused_generic;
 
- + Template parameters
@@ -113,7 +113,7 @@
- + Model of
@@ -154,7 +154,7 @@
- + Expression Semantics
@@ -218,7 +218,7 @@
- + Example
@@ -269,7 +269,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/adapters/unfused_lvalue_args.html b/doc/html/fusion/functional/adapters/unfused_lvalue_args.html index 37db9d1c..6e2511b5 100644 --- a/doc/html/fusion/functional/adapters/unfused_lvalue_args.html +++ b/doc/html/fusion/functional/adapters/unfused_lvalue_args.html @@ -26,7 +26,7 @@
- + Description

@@ -51,7 +51,7 @@ /functional/adapter/unfused_lvalue_args.hpp>

- + Synopsis
@@ -59,7 +59,7 @@
 class unfused_lvalue_args;
 
- + Template parameters
@@ -106,7 +106,7 @@
- + Model of
@@ -147,7 +147,7 @@
- + Expression Semantics
@@ -211,7 +211,7 @@
- + Example
@@ -239,7 +239,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/adapters/unfused_rvalue_args.html b/doc/html/fusion/functional/adapters/unfused_rvalue_args.html index c95ab68f..b43863b9 100644 --- a/doc/html/fusion/functional/adapters/unfused_rvalue_args.html +++ b/doc/html/fusion/functional/adapters/unfused_rvalue_args.html @@ -26,7 +26,7 @@
- + Description

@@ -51,7 +51,7 @@ /functional/adapter/unfused_rvalue_args.hpp>

- + Synopsis
@@ -59,7 +59,7 @@
 class unfused_rvalue_args;
 
- + Template parameters
@@ -106,7 +106,7 @@
- + Model of
@@ -147,7 +147,7 @@
- + Expression Semantics
@@ -211,7 +211,7 @@
- + Example
@@ -237,7 +237,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/adapters/unfused_typed.html b/doc/html/fusion/functional/adapters/unfused_typed.html index 28ed729f..d7e4e349 100644 --- a/doc/html/fusion/functional/adapters/unfused_typed.html +++ b/doc/html/fusion/functional/adapters/unfused_typed.html @@ -26,7 +26,7 @@
- + Description

@@ -65,7 +65,7 @@ /functional/adapter/unfused_typed.hpp>

- + Synopsis
@@ -73,7 +73,7 @@
 class unfused_typed;
 
- + Template parameters
@@ -138,7 +138,7 @@
- + Model of
@@ -184,7 +184,7 @@
- + Expression Semantics
@@ -250,7 +250,7 @@
- + Example
@@ -319,7 +319,7 @@
 }
 
- + See also
    diff --git a/doc/html/fusion/functional/concepts/callable.html b/doc/html/fusion/functional/concepts/callable.html index 571d5b30..eba6689d 100644 --- a/doc/html/fusion/functional/concepts/callable.html +++ b/doc/html/fusion/functional/concepts/callable.html @@ -27,7 +27,7 @@
    - + Description

    @@ -36,7 +36,7 @@ of a function call operator.

    - + Models
      @@ -51,7 +51,7 @@
    - + Examples
    diff --git a/doc/html/fusion/functional/concepts/def_callable.html b/doc/html/fusion/functional/concepts/def_callable.html
    index 857ea2a2..0e8e17e9 100644
    --- a/doc/html/fusion/functional/concepts/def_callable.html
    +++ b/doc/html/fusion/functional/concepts/def_callable.html
    @@ -31,7 +31,7 @@
             Callable Object"> Deferred
             Callable Object
- + Description

@@ -40,7 +40,7 @@ to determine the result of a call.

- + Refinement of
@@ -81,7 +81,7 @@
- + Expression requirements
@@ -119,7 +119,7 @@
- + Models
    @@ -133,7 +133,7 @@
- + Examples
diff --git a/doc/html/fusion/functional/concepts/poly.html b/doc/html/fusion/functional/concepts/poly.html
index b9bc9ca9..3f79e4e7 100644
--- a/doc/html/fusion/functional/concepts/poly.html
+++ b/doc/html/fusion/functional/concepts/poly.html
@@ -30,7 +30,7 @@
         Object"> Polymorphic Function
         Object
 
- + Description

@@ -39,7 +39,7 @@ Callable Object type.

- + Refinement of
@@ -83,7 +83,7 @@
- + Expression requirements
@@ -132,7 +132,7 @@
- + Models
    @@ -147,7 +147,7 @@
- + Examples
diff --git a/doc/html/fusion/functional/concepts/reg_callable.html b/doc/html/fusion/functional/concepts/reg_callable.html
index 2ce51076..d0273cb5 100644
--- a/doc/html/fusion/functional/concepts/reg_callable.html
+++ b/doc/html/fusion/functional/concepts/reg_callable.html
@@ -30,7 +30,7 @@
         Object"> Regular Callable
         Object
 
- + Description

@@ -39,7 +39,7 @@ can appear immediately to the left of a function call operator.

- + Refinement of
@@ -69,7 +69,7 @@
- + Expression requirements
@@ -116,7 +116,7 @@
- + Models
    @@ -128,7 +128,7 @@
- + Examples
diff --git a/doc/html/fusion/functional/generation/functions/mk_fused.html b/doc/html/fusion/functional/generation/functions/mk_fused.html
index 1d586044..899edc04 100644
--- a/doc/html/fusion/functional/generation/functions/mk_fused.html
+++ b/doc/html/fusion/functional/generation/functions/mk_fused.html
@@ -30,7 +30,7 @@
           make_fused">
           make_fused
 
- + Description

@@ -40,7 +40,7 @@ conversion is applied to the target function.

- + Synopsis
@@ -50,7 +50,7 @@
 make_fused(F const & f);
 
- + Parameters
@@ -97,7 +97,7 @@
- + Expression Semantics
@@ -111,7 +111,7 @@ Semantics: Returns a fused adapter for f.

- + Header
@@ -119,7 +119,7 @@
 #include <boost/fusion/include/make_fused.hpp>
 
- + Example
@@ -135,7 +135,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 eed32116..136548c9 100644 --- a/doc/html/fusion/functional/generation/functions/mk_fused_fobj.html +++ b/doc/html/fusion/functional/generation/functions/mk_fused_fobj.html @@ -31,7 +31,7 @@ make_fused_function_object"> make_fused_function_object
- + Description

@@ -42,7 +42,7 @@ conversion is applied to the target function.

- + Synopsis
@@ -52,7 +52,7 @@
 make_fused_function_object(F const & f);
 
- + Parameters
@@ -99,7 +99,7 @@
- + Expression Semantics
@@ -114,7 +114,7 @@ for f.

- + Header
@@ -122,7 +122,7 @@
 #include <boost/fusion/include/make_fused_function_object.hpp>
 
- + Example
@@ -151,7 +151,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 058a7ae6..44ae9d6c 100644 --- a/doc/html/fusion/functional/generation/functions/mk_fused_proc.html +++ b/doc/html/fusion/functional/generation/functions/mk_fused_proc.html @@ -31,7 +31,7 @@ make_fused_procedure"> make_fused_procedure
- + Description

@@ -42,7 +42,7 @@ conversion applied to the target function.

- + Synopsis
@@ -52,7 +52,7 @@
 make_fused_procedure(F const & f);
 
- + Parameters
@@ -98,7 +98,7 @@
- + Expression Semantics
@@ -113,7 +113,7 @@ f.

- + Header
@@ -121,7 +121,7 @@
 #include <boost/fusion/include/make_fused_procedure.hpp>
 
- + Example
@@ -131,7 +131,7 @@
 assert(front(v) == 0);
 
- + See also
diff --git a/doc/html/fusion/functional/generation/functions/mk_unfused_genrc.html b/doc/html/fusion/functional/generation/functions/mk_unfused_genrc.html index dd72fb05..f11a9d87 100644 --- a/doc/html/fusion/functional/generation/functions/mk_unfused_genrc.html +++ b/doc/html/fusion/functional/generation/functions/mk_unfused_genrc.html @@ -31,7 +31,7 @@ make_unfused_generic"> make_unfused_generic
- + Description

@@ -42,7 +42,7 @@ conversion is applied to the target function.

- + Synopsis
@@ -52,7 +52,7 @@
 make_unfused_generic(F const & f);
 
- + Parameters
@@ -99,7 +99,7 @@
- + Expression Semantics
@@ -114,7 +114,7 @@ f.

- + Header
@@ -122,7 +122,7 @@
 #include <boost/fusion/include/make_unfused_generic.hpp>
 
- + Example
@@ -158,7 +158,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/generation/functions/mk_unfused_lvargs.html b/doc/html/fusion/functional/generation/functions/mk_unfused_lvargs.html index 2b7186eb..82876105 100644 --- a/doc/html/fusion/functional/generation/functions/mk_unfused_lvargs.html +++ b/doc/html/fusion/functional/generation/functions/mk_unfused_lvargs.html @@ -31,7 +31,7 @@ make_unfused_lvalue_args"> make_unfused_lvalue_args
- + Description

@@ -42,7 +42,7 @@ conversion is applied to the target function.

- + Synopsis
@@ -52,7 +52,7 @@
 make_unfused_lvalue_args(F const & f);
 
- + Parameters
@@ -99,7 +99,7 @@
- + Expression Semantics
@@ -114,7 +114,7 @@ for f.

- + Header
@@ -122,7 +122,7 @@
 #include <boost/fusion/include/make_unfused_lvalue_args.hpp>
 
- + Example
@@ -149,7 +149,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/generation/functions/mk_unfused_rvargs.html b/doc/html/fusion/functional/generation/functions/mk_unfused_rvargs.html index f572b658..138b6e7b 100644 --- a/doc/html/fusion/functional/generation/functions/mk_unfused_rvargs.html +++ b/doc/html/fusion/functional/generation/functions/mk_unfused_rvargs.html @@ -30,7 +30,7 @@ make_unfused_rvalue_args"> make_unfused_rvalue_args
- + Description

@@ -41,7 +41,7 @@ conversion is applied to the target function.

- + Synopsis
@@ -51,7 +51,7 @@
 make_unfused_rvalue_args(F const & f);
 
- + Parameters
@@ -98,7 +98,7 @@
- + Expression Semantics
@@ -113,7 +113,7 @@ for f.

- + Header
@@ -121,7 +121,7 @@
 #include <boost/fusion/include/make_unfused_rvalue_args.hpp>
 
- + Example
@@ -147,7 +147,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 070fcfd0..d31f3854 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_fused.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_fused.html @@ -30,7 +30,7 @@ make_fused"> make_fused
- + Description

@@ -38,7 +38,7 @@ make_fused">make_fused.

- + Header
@@ -46,7 +46,7 @@
 #include <boost/fusion/include/make_fused.hpp>
 
- + Synopsis
@@ -60,7 +60,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 8072e925..dde99913 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_fused_fobj.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_fused_fobj.html @@ -31,7 +31,7 @@ make_fused_function_object"> make_fused_function_object
- + Description

@@ -39,7 +39,7 @@ make_fused_function_object">make_fused_function_object.

- + Header
@@ -47,7 +47,7 @@
 #include <boost/fusion/include/make_fused_function_object.hpp>
 
- + Synopsis
@@ -61,7 +61,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 c979200d..bed50f2f 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_fused_proc.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_fused_proc.html @@ -31,7 +31,7 @@ make_fused_procedure"> make_fused_procedure
- + Description

@@ -39,7 +39,7 @@ make_fused_procedure">make_fused_procedure.

- + Header
@@ -47,7 +47,7 @@
 #include <boost/fusion/include/make_fused_procedure.hpp>
 
- + Synopsis
@@ -61,7 +61,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_unfused_genrc.html b/doc/html/fusion/functional/generation/metafunctions/mk_unfused_genrc.html index f06398b1..f065e18d 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_unfused_genrc.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_unfused_genrc.html @@ -31,7 +31,7 @@ make_unfused_generic"> make_unfused_generic
- + Description

@@ -39,7 +39,7 @@ make_unfused_generic">make_unfused_generic.

- + Header
@@ -47,7 +47,7 @@
 #include <boost/fusion/include/make_unfused_generic.hpp>
 
- + Synopsis
@@ -61,7 +61,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_unfused_lvargs.html b/doc/html/fusion/functional/generation/metafunctions/mk_unfused_lvargs.html index b510214a..77172343 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_unfused_lvargs.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_unfused_lvargs.html @@ -31,7 +31,7 @@ make_unfused_lvalue_args"> make_unfused_lvalue_args
- + Description

@@ -39,7 +39,7 @@ make_unfused_lvalue_args">make_unfused_lvalue_args.

- + Header
@@ -47,7 +47,7 @@
 #include <boost/fusion/include/make_unfused_lvalue_args.hpp>
 
- + Synopsis
@@ -61,7 +61,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/generation/metafunctions/mk_unfused_rvargs.html b/doc/html/fusion/functional/generation/metafunctions/mk_unfused_rvargs.html index be9fa2b8..90d1841a 100644 --- a/doc/html/fusion/functional/generation/metafunctions/mk_unfused_rvargs.html +++ b/doc/html/fusion/functional/generation/metafunctions/mk_unfused_rvargs.html @@ -30,7 +30,7 @@ make_unfused_rvalue_args"> make_unfused_rvalue_args
- + Description

@@ -38,7 +38,7 @@ make_unfused_rvalue_args">make_unfused_rvalue_args.

- + Header
@@ -46,7 +46,7 @@
 #include <boost/fusion/include/make_unfused_rvalue_args.hpp>
 
- + Synopsis
@@ -60,7 +60,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/functional/invocation/functions/invoke.html b/doc/html/fusion/functional/invocation/functions/invoke.html index a89c8a5c..e16842b1 100644 --- a/doc/html/fusion/functional/invocation/functions/invoke.html +++ b/doc/html/fusion/functional/invocation/functions/invoke.html @@ -27,7 +27,7 @@
- + Description

@@ -47,7 +47,7 @@ and boost::shared_ptr).

- + Synopsis
@@ -66,7 +66,7 @@
 invoke(Function f, Sequence const & s);
 
- + Parameters
@@ -134,7 +134,7 @@
- + Expression Semantics
@@ -154,7 +154,7 @@ /functional/invocation/invoke.hpp>

- + Example
@@ -162,7 +162,7 @@
 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 397dffef..f58d50cd 100644 --- a/doc/html/fusion/functional/invocation/functions/invoke_fobj.html +++ b/doc/html/fusion/functional/invocation/functions/invoke_fobj.html @@ -30,7 +30,7 @@ invoke_function_object"> invoke_function_object
- + Description

@@ -43,7 +43,7 @@ and/or to control the const qualification of a function object.

- + Synopsis
@@ -64,7 +64,7 @@
 invoke_function_object(Function f, Sequence const & s);
 
- + Parameters
@@ -132,7 +132,7 @@
- + Expression Semantics
@@ -152,7 +152,7 @@ /functional/invocation/invoke_function_object.hpp>

- + Example
@@ -179,7 +179,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 83917989..04dd70b2 100644 --- a/doc/html/fusion/functional/invocation/functions/invoke_proc.html +++ b/doc/html/fusion/functional/invocation/functions/invoke_proc.html @@ -30,7 +30,7 @@ invoke_procedure"> invoke_procedure
- + Description

@@ -54,7 +54,7 @@ isn't implemented).

- + Synopsis
@@ -75,7 +75,7 @@
 invoke_procedure(Function f, Sequence const & s);
 
- + Parameters
@@ -142,7 +142,7 @@
- + Expression Semantics
@@ -161,7 +161,7 @@ /functional/invocation/invoke_procedure.hpp>

- + Example
@@ -171,7 +171,7 @@
 assert(front(v) == 3);
 
- + See also
diff --git a/doc/html/fusion/functional/invocation/metafunctions/invoke.html b/doc/html/fusion/functional/invocation/metafunctions/invoke.html index fcfe5d82..f91eb6d2 100644 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke.html +++ b/doc/html/fusion/functional/invocation/metafunctions/invoke.html @@ -27,14 +27,14 @@
- + Description

Returns the result type of invoke.

- + Synopsis
@@ -51,7 +51,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 056d74bc..f63eb321 100644 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke_fobj.html +++ b/doc/html/fusion/functional/invocation/metafunctions/invoke_fobj.html @@ -30,7 +30,7 @@ invoke_function_object"> invoke_function_object
- + Description

@@ -38,7 +38,7 @@ invoke_function_object">invoke_function_object.

- + Synopsis
@@ -55,7 +55,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 9fe1d204..54452d8d 100644 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke_proc.html +++ b/doc/html/fusion/functional/invocation/metafunctions/invoke_proc.html @@ -30,7 +30,7 @@ invoke_procedure"> invoke_procedure
- + Description

@@ -38,7 +38,7 @@ invoke_procedure">invoke_procedure.

- + Synopsis
@@ -55,7 +55,7 @@
 }
 
- + See also
diff --git a/doc/html/fusion/notes.html b/doc/html/fusion/notes.html index 75f2a3fa..6633e462 100644 --- a/doc/html/fusion/notes.html +++ b/doc/html/fusion/notes.html @@ -27,7 +27,7 @@

- + Recursive Inlined Functions

@@ -41,7 +41,7 @@ remains linear.

- + Overloaded Functions

@@ -51,7 +51,7 @@ given a key, k.

- + Tag Dispatching

@@ -103,7 +103,7 @@

- + Extensibility

@@ -138,7 +138,7 @@ it very cheap to pass around.

- + Element Conversion

@@ -161,7 +161,7 @@

Array arguments are deduced to reference to const types. For example - [14] + [14] :

@@ -194,7 +194,7 @@
 list<void (*)(int)>
 

- + boost::ref

@@ -237,7 +237,7 @@



-

[14] +

[14] Note that the type of a string literal is an array of const characters, not const char*. To get make_list to create a list with an element of a non-const array type one must use the ref diff --git a/doc/html/fusion/tuple/class_template_tuple.html b/doc/html/fusion/tuple/class_template_tuple.html index 04eafe94..64119b29 100644 --- a/doc/html/fusion/tuple/class_template_tuple.html +++ b/doc/html/fusion/tuple/class_template_tuple.html @@ -48,7 +48,7 @@ in future releases of fusion.

- + Synopsis

diff --git a/doc/html/fusion/tuple/class_template_tuple/construction.html b/doc/html/fusion/tuple/class_template_tuple/construction.html
index 59ce06cc..9b1cb593 100644
--- a/doc/html/fusion/tuple/class_template_tuple/construction.html
+++ b/doc/html/fusion/tuple/class_template_tuple/construction.html
@@ -27,7 +27,7 @@
 
 
- + Description

@@ -38,7 +38,7 @@ in this section.

- + Specification
diff --git a/doc/html/fusion/tuple/class_template_tuple/element_access.html b/doc/html/fusion/tuple/class_template_tuple/element_access.html index d51a832e..450afe7c 100644 --- a/doc/html/fusion/tuple/class_template_tuple/element_access.html +++ b/doc/html/fusion/tuple/class_template_tuple/element_access.html @@ -31,7 +31,7 @@ access">Element access
- + Description

@@ -40,7 +40,7 @@ function to provide access to it's elements by zero based numeric index.

- + Specification
diff --git a/doc/html/fusion/tuple/class_template_tuple/relational_operators.html b/doc/html/fusion/tuple/class_template_tuple/relational_operators.html
index 5d9c64e7..c0ae67bd 100644
--- a/doc/html/fusion/tuple/class_template_tuple/relational_operators.html
+++ b/doc/html/fusion/tuple/class_template_tuple/relational_operators.html
@@ -30,7 +30,7 @@
         operators">Relational
         operators
- + Description

@@ -38,7 +38,7 @@ Tuple provides the standard boolean relational operators.

- + Specification
diff --git a/doc/html/fusion/tuple/class_template_tuple/tuple_creation_functions.html b/doc/html/fusion/tuple/class_template_tuple/tuple_creation_functions.html index 755b4d80..d9dccb61 100644 --- a/doc/html/fusion/tuple/class_template_tuple/tuple_creation_functions.html +++ b/doc/html/fusion/tuple/class_template_tuple/tuple_creation_functions.html @@ -30,7 +30,7 @@ creation functions">Tuple creation functions
- + Description

@@ -40,7 +40,7 @@ functions are described in this section.

- + Specification
diff --git a/doc/html/fusion/tuple/class_template_tuple/tuple_helper_classes.html b/doc/html/fusion/tuple/class_template_tuple/tuple_helper_classes.html
index 503aadf3..0b7368bc 100644
--- a/doc/html/fusion/tuple/class_template_tuple/tuple_helper_classes.html
+++ b/doc/html/fusion/tuple/class_template_tuple/tuple_helper_classes.html
@@ -31,7 +31,7 @@
         helper classes">Tuple
         helper classes
 
- + Description

@@ -40,7 +40,7 @@ tuple size, and the element types.

- + Specification
diff --git a/doc/html/fusion/tuple/pairs.html b/doc/html/fusion/tuple/pairs.html
index 7ad73ace..9e5d1283 100644
--- a/doc/html/fusion/tuple/pairs.html
+++ b/doc/html/fusion/tuple/pairs.html
@@ -27,7 +27,7 @@
 
 

- + Description

@@ -36,7 +36,7 @@ as if it were a 2 element tuple.

- + Specification

diff --git a/doc/html/index.html b/doc/html/index.html
index be6c2de3..2cfc827a 100644
--- a/doc/html/index.html
+++ b/doc/html/index.html
@@ -156,7 +156,8 @@
 
mpl sequence
boost::array
boost::tuple
-
boost::variant
+
BOOST_FUSION_ADAPT_STRUCT
+
BOOST_FUSION_ADAPT_ASSOC_STRUCT
Algorithm
@@ -197,11 +198,6 @@
The Full Extension Mechanism
Sequence Facade
Iterator Facade
-
Macros
-
-
BOOST_FUSION_ADAPT_STRUCT
-
BOOST_FUSION_ADAPT_ASSOC_STRUCT
-
Functional
@@ -244,7 +240,7 @@ - +

Last revised: December 17, 2007 at 09:22:31 GMT

Last revised: December 20, 2007 at 05:09:32 GMT


diff --git a/test/Jamfile b/test/Jamfile index f70629b8..b6101e3d 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -81,7 +81,6 @@ import testing ; [ run sequence/single_view.cpp : : : : ] [ run sequence/std_pair.cpp : : : : ] [ run sequence/array.cpp : : : : ] - [ run sequence/variant.cpp : : : : ] [ run sequence/tuple_comparison.cpp : : : : ] [ run sequence/tuple_construction.cpp : : : : ] [ run sequence/tuple_copy.cpp : : : : ] diff --git a/test/sequence/variant.cpp b/test/sequence/variant.cpp deleted file mode 100644 index bfbf6fd3..00000000 --- a/test/sequence/variant.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2006 Joel de Guzman - Copyright (c) 2005-2006 Dan Marsden - - Distributed under the Boost Software License, Version 1.0. (See accompanying - file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -==============================================================================*/ - -#include - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#include - -#include - -#include - -int main() -{ - namespace fusion = boost::fusion; - typedef boost::variant var_type; - var_type var = "hello"; - - BOOST_MPL_ASSERT((fusion::traits::is_sequence)); - BOOST_MPL_ASSERT_NOT((fusion::traits::is_view)); - BOOST_MPL_ASSERT((boost::is_same< - fusion::traits::category_of::type, - fusion::forward_traversal_tag>)); - - BOOST_TEST(fusion::size(var) == 2); - BOOST_TEST(fusion::distance(fusion::begin(var), fusion::end(var)) == 2); - BOOST_TEST(*fusion::next(fusion::begin(var)) == "hello"); - BOOST_TEST(fusion::next(fusion::next(fusion::begin(var))) == fusion::end(var)); - BOOST_MPL_ASSERT((boost::is_same< - fusion::result_of::value_of::type>::type, - double>)); - BOOST_MPL_ASSERT((boost::is_same< - fusion::result_of::value_of::type>::type>::type, - std::string>)); - return boost::report_errors(); -} diff --git a/todo.txt b/todo.txt index 8d6d4748..e4f49f61 100644 --- a/todo.txt +++ b/todo.txt @@ -6,6 +6,13 @@ License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================== +* Provide macros for adapting classes, similar to BOOST_FUSION_ADAPT_STRUCT + and BOOST_FUSION_ADAPT_ASSOC_STRUCT, but with with user control over + member accessors (e.g. get and set free functions). + +* Document extension::struct_size, extension::struct_member and + extension::struct_assoc_member in extension section. + * Document rationale behind at and value_at and how to choose which to use.