From 49a118d2b4473c91135eb31320513d385f44e925 Mon Sep 17 00:00:00 2001 From: Tobias Schwinger Date: Sun, 25 Feb 2007 20:56:47 +0000 Subject: [PATCH] reduces accidentally high TOC level [SVN r37067] --- .../generation/functions/make_fused.html | 129 ------------- .../functions/make_fused_function_object.html | 143 --------------- .../functions/make_fused_procedure.html | 124 ------------- .../functions/make_unfused_generic.html | 155 ---------------- .../functions/make_unfused_lvalue_args.html | 142 -------------- .../functions/make_unfused_rvalue_args.html | 141 -------------- .../generation/metafunctions/make_fused.html | 72 -------- .../make_fused_function_object.html | 72 -------- .../metafunctions/make_fused_procedure.html | 72 -------- .../metafunctions/make_unfused_generic.html | 72 -------- .../make_unfused_lvalue_args.html | 72 -------- .../make_unfused_rvalue_args.html | 72 -------- .../invocation/functions/invoke.html | 160 ---------------- .../functions/invoke_function_object.html | 173 ------------------ .../functions/invoke_procedure.html | 166 ----------------- .../invocation/metafunctions/invoke.html | 75 -------- .../metafunctions/invoke_function_object.html | 75 -------- .../metafunctions/invoke_procedure.html | 75 -------- 18 files changed, 1990 deletions(-) delete mode 100644 doc/html/fusion/functional/generation/functions/make_fused.html delete mode 100644 doc/html/fusion/functional/generation/functions/make_fused_function_object.html delete mode 100644 doc/html/fusion/functional/generation/functions/make_fused_procedure.html delete mode 100644 doc/html/fusion/functional/generation/functions/make_unfused_generic.html delete mode 100644 doc/html/fusion/functional/generation/functions/make_unfused_lvalue_args.html delete mode 100644 doc/html/fusion/functional/generation/functions/make_unfused_rvalue_args.html delete mode 100644 doc/html/fusion/functional/generation/metafunctions/make_fused.html delete mode 100644 doc/html/fusion/functional/generation/metafunctions/make_fused_function_object.html delete mode 100644 doc/html/fusion/functional/generation/metafunctions/make_fused_procedure.html delete mode 100644 doc/html/fusion/functional/generation/metafunctions/make_unfused_generic.html delete mode 100644 doc/html/fusion/functional/generation/metafunctions/make_unfused_lvalue_args.html delete mode 100644 doc/html/fusion/functional/generation/metafunctions/make_unfused_rvalue_args.html delete mode 100644 doc/html/fusion/functional/invocation/functions/invoke.html delete mode 100644 doc/html/fusion/functional/invocation/functions/invoke_function_object.html delete mode 100644 doc/html/fusion/functional/invocation/functions/invoke_procedure.html delete mode 100644 doc/html/fusion/functional/invocation/metafunctions/invoke.html delete mode 100644 doc/html/fusion/functional/invocation/metafunctions/invoke_function_object.html delete mode 100644 doc/html/fusion/functional/invocation/metafunctions/invoke_procedure.html diff --git a/doc/html/fusion/functional/generation/functions/make_fused.html b/doc/html/fusion/functional/generation/functions/make_fused.html deleted file mode 100644 index fa9a972a..00000000 --- a/doc/html/fusion/functional/generation/functions/make_fused.html +++ /dev/null @@ -1,129 +0,0 @@ - - - -make_fused - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Creates a fused adapter for a given Deferred Callable Object. - The usual element - conversion is applied to the target function. -

-
- - Synopsis -
-
-template <typename F>
-inline typename make_fused<F>::type
-make_fused(F const & f);
-
-
- - Parameters -
-
----- - - - - - - - - - - -
ParameterRequirementDescription
fModel - of Deferred - Callable Object -The function to transform.
-
- - Expression - Semantics -
-
-make_fused(f);
-
-

- Return type: A specialization of fused. -

-

- Semantics: Returns a fused adapter for f. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_fused.hpp>
-
-
- - Example -
-
-float sub(float a, float b) { return a - b; }
-
-void try_it()
-{
-    vector<int,float> a(2,2.0f);
-    vector<int,float> b(1,1.5f);
-    vector<float,float> c(1.0f,0.5f);
-    assert(c == transform(zip(a,b), make_fused(& sub)));
-    assert(c == transform(zip(a,b), make_fused(std::minus<float>())));
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/functions/make_fused_function_object.html b/doc/html/fusion/functional/generation/functions/make_fused_function_object.html deleted file mode 100644 index 69f5af66..00000000 --- a/doc/html/fusion/functional/generation/functions/make_fused_function_object.html +++ /dev/null @@ -1,143 +0,0 @@ - - - -make_fused_function_object - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Creates a fused_function_object adapter - for a given Deferred - Callable Object. The usual element - conversion is applied to the target function. -

-
- - Synopsis -
-
-template <typename F>
-inline typename make_fused_function_object<F>::type
-make_fused_function_object(F const & f);
-
-
- - Parameters -
-
----- - - - - - - - - - - -
ParameterRequirementDescription
fModel - of Polymorphic - Function Object -The function to transform.
-
- - Expression - Semantics -
-
-make_fused_function_object(f);
-
-

- Return type: A specialization of fused_function_object. -

-

- Semantics: Returns a fused_function_object adapter - for f. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_fused_function_object.hpp>
-
-
- - Example -
-
-struct sub
-{
-    template<typename T, typename _>
-    struct result
-    {
-        typedef T type;
-    };
-
-    template<typename T>
-    T operator()(T lhs, T rhs) const
-    {
-        return lhs - rhs;
-    }
-};
-
-void try_it()
-{
-    vector<int,float> a(2,2.0f);
-    vector<int,float> b(1,1.5f);
-    vector<int,float> c(1,0.5f);
-    assert(c == transform(zip(a,b), make_fused_function_object(sub())));
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/functions/make_fused_procedure.html b/doc/html/fusion/functional/generation/functions/make_fused_procedure.html deleted file mode 100644 index daf5d285..00000000 --- a/doc/html/fusion/functional/generation/functions/make_fused_procedure.html +++ /dev/null @@ -1,124 +0,0 @@ - - - -make_fused_procedure - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Creates a fused_procedure adapter for - a given Deferred - Callable Object. The usual element - conversion applied to the target function. -

-
- - Synopsis -
-
-template <typename F>
-inline typename make_fused_procedure<F>::type
-make_fused_procedure(F const & f);
-
-
- - Parameters -
-
----- - - - - - - - - - - -
ParameterRequirementDescription
fModel - of Callable - Object -The function to transform.
-
- - Expression - Semantics -
-
-make_fused_procedure(f);
-
-

- Return type: A specialization of fused_procedure. -

-

- Semantics: Returns a fused_procedure adapter for - f. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_fused_procedure.hpp>
-
-
- - Example -
-
-vector<int,int,int> v(1,2,3);
-using namespace boost::lambda;
-make_fused_procedure(_1 += _2 - _3)(v);
-assert(front(v) == 0);
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/functions/make_unfused_generic.html b/doc/html/fusion/functional/generation/functions/make_unfused_generic.html deleted file mode 100644 index cec1f676..00000000 --- a/doc/html/fusion/functional/generation/functions/make_unfused_generic.html +++ /dev/null @@ -1,155 +0,0 @@ - - - -make_unfused_generic - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Creates a unfused_generic adapter for - a given, unary Polymorphic - Function Object. The usual element - conversion is applied to the target function. -

-
- - Synopsis -
-
-template <typename F>
-inline typename make_unfused_generic<F>::type
-make_unfused_generic(F const & f);
-
-
- - Parameters -
-
----- - - - - - - - - - - -
ParameterRequirementDescription
fModel - of Polymorphic - Function Object -The function to transform.
-
- - Expression - Semantics -
-
-make_unfused_generic(f);
-
-

- Return type: A specialization of unfused_generic. -

-

- Semantics: Returns a unfused_generic adapter for - f. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_unfused_generic.hpp>
-
-
- - Example -
-
-struct bottles_song
-{
-    template<class Seq>
-    struct result
-        : mpl::if_< mpl::less< result_of::size<Seq>, mpl::int_<2> >,
-            boost::blank, mpl::identity<void> >::type
-    { };
-
-    template<class Seq> 
-    void operator()(Seq & s) const
-    {
-        typename result_of::at_c<Seq,0>::type n = at_c<0>(s);
-        typename result_of::at_c<Seq,1>::type what = at_c<1>(s);
-
-        std::cout 
-            << n << " bottles of " << what << " on the wall.\n" 
-            << n << " bottles of " << what << "!\n"
-            << "Take one down - pass it around.\n";
-
-        n -= 1; // glug glug...
-
-        std::cout
-            << n << " bottles of " << what << " on the wall.\n" 
-            << std::endl;
-    }
-};
-
-void try_it()
-{
-    unsigned n_milk = 99;
-    for(int i = 0; i < 3; ++i)
-        make_unfused_generic(bottles_song())(n_milk,"milk");
-    // 96 bottles left for me
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/functions/make_unfused_lvalue_args.html b/doc/html/fusion/functional/generation/functions/make_unfused_lvalue_args.html deleted file mode 100644 index d4dccf57..00000000 --- a/doc/html/fusion/functional/generation/functions/make_unfused_lvalue_args.html +++ /dev/null @@ -1,142 +0,0 @@ - - - -make_unfused_lvalue_args - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Creates a unfused_lvalue_args adapter - for a given, unary Polymorphic - Function Object. The usual element - conversion is applied to the target function. -

-
- - Synopsis -
-
-template <typename F>
-inline typename make_unfused_lvalue_args<F>::type
-make_unfused_lvalue_args(F const & f);
-
-
- - Parameters -
-
----- - - - - - - - - - - -
ParameterRequirementDescription
fModel - of Polymorphic - Function Object -The function to transform.
-
- - Expression - Semantics -
-
-make_unfused_lvalue_args(f);
-
-

- Return type: A specialization of unfused_lvalue_args. -

-

- Semantics: Returns a unfused_lvalue_args adapter - for f. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_unfused_lvalue_args.hpp>
-
-
- - Example -
-
-struct fused_incrementer
-{
-    template <class Seq> 
-    struct result 
-    { 
-        typedef void type;
-    };
-
-    template <class Seq>
-    void operator()(Seq const & s) const
-    {
-        for_each(s,++boost::lambda::_1);
-    }
-};
-
-void try_it()
-{
-    int a = 2; char b = 'X';
-    make_unfused_lvalue_args(fused_incrementer())(a,b);
-    assert(a == 3 && b == 'Y');
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/functions/make_unfused_rvalue_args.html b/doc/html/fusion/functional/generation/functions/make_unfused_rvalue_args.html deleted file mode 100644 index 1a674940..00000000 --- a/doc/html/fusion/functional/generation/functions/make_unfused_rvalue_args.html +++ /dev/null @@ -1,141 +0,0 @@ - - - -make_unfused_rvalue_args - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Creates a unfused_rvalue_args adapter - for a given, unary Polymorphic - Function Object. The usual element - conversion is applied to the target function. -

-
- - Synopsis -
-
-template <typename F>
-inline typename make_unfused_rvalue_args<F>::type
-make_unfused_rvalue_args(F const & f);
-
-
- - Parameters -
-
----- - - - - - - - - - - -
ParameterRequirementDescription
fModel - of Polymorphic - Function Object -The function to transform.
-
- - Expression - Semantics -
-
-make_unfused_rvalue_args(f);
-
-

- Return type: A specialization of unfused_rvalue_args. -

-

- Semantics: Returns a unfused_rvalue_args adapter - for f. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_unfused_rvalue_args.hpp>
-
-
- - Example -
-
-struct sequence_printer
-{
-    template <class Seq> 
-    struct result 
-    { 
-        typedef void type;
-    };
-
-    template <class Seq>
-    void operator()(Seq const & s) const
-    {
-        std::cout << s << std::endl;
-    }
-};
-
-void try_it()
-{
-    make_unfused_rvalue_args(sequence_printer())
-        (24,"bottles of beer in",'a',"box.");
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/metafunctions/make_fused.html b/doc/html/fusion/functional/generation/metafunctions/make_fused.html deleted file mode 100644 index 9d7aa0a2..00000000 --- a/doc/html/fusion/functional/generation/metafunctions/make_fused.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -make_fused - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Returns the result type of make_fused. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_fused.hpp>
-
-
- - Synopsis -
-
-namespace result_of
-{
-    template<typename Function>
-    struct make_fused
-    {
-        typedef unspecified type;
-    };
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/metafunctions/make_fused_function_object.html b/doc/html/fusion/functional/generation/metafunctions/make_fused_function_object.html deleted file mode 100644 index 938658f1..00000000 --- a/doc/html/fusion/functional/generation/metafunctions/make_fused_function_object.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -make_fused_function_object - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Returns the result type of make_fused_function_object. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_fused_function_object.hpp>
-
-
- - Synopsis -
-
-namespace result_of
-{
-    template<typename Function>
-    struct make_fused_function_object
-    {
-        typedef unspecified type;
-    };
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/metafunctions/make_fused_procedure.html b/doc/html/fusion/functional/generation/metafunctions/make_fused_procedure.html deleted file mode 100644 index 7134f8df..00000000 --- a/doc/html/fusion/functional/generation/metafunctions/make_fused_procedure.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -make_fused_procedure - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Returns the result type of make_fused_procedure. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_fused_procedure.hpp>
-
-
- - Synopsis -
-
-namespace result_of
-{
-    template<typename Function>
-    struct make_fused_procedure
-    {
-        typedef unspecified type;
-    };
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/metafunctions/make_unfused_generic.html b/doc/html/fusion/functional/generation/metafunctions/make_unfused_generic.html deleted file mode 100644 index b75228e5..00000000 --- a/doc/html/fusion/functional/generation/metafunctions/make_unfused_generic.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -make_unfused_generic - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Returns the result type of make_unfused_generic. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_unfused_generic.hpp>
-
-
- - Synopsis -
-
-namespace result_of
-{
-    template<typename Function>
-    struct make_unfused_generic
-    {
-        typedef unspecified type;
-    };
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/metafunctions/make_unfused_lvalue_args.html b/doc/html/fusion/functional/generation/metafunctions/make_unfused_lvalue_args.html deleted file mode 100644 index e0eddb50..00000000 --- a/doc/html/fusion/functional/generation/metafunctions/make_unfused_lvalue_args.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -make_unfused_lvalue_args - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Returns the result type of make_unfused_lvalue_args. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_unfused_lvalue_args.hpp>
-
-
- - Synopsis -
-
-namespace result_of
-{
-    template<typename Function>
-    struct make_unfused_lvalue_args
-    {
-        typedef unspecified type;
-    };
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/generation/metafunctions/make_unfused_rvalue_args.html b/doc/html/fusion/functional/generation/metafunctions/make_unfused_rvalue_args.html deleted file mode 100644 index 86f0b445..00000000 --- a/doc/html/fusion/functional/generation/metafunctions/make_unfused_rvalue_args.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -make_unfused_rvalue_args - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Returns the result type of make_unfused_rvalue_args. -

-
- - Header -
-
-#include <boost/fusion/functional/generation/make_unfused_rvalue_args.hpp>
-
-
- - Synopsis -
-
-namespace result_of
-{
-    template<typename Function>
-    struct make_unfused_rvalue_args
-    {
-        typedef unspecified type;
-    };
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/invocation/functions/invoke.html b/doc/html/fusion/functional/invocation/functions/invoke.html deleted file mode 100644 index b6dac72e..00000000 --- a/doc/html/fusion/functional/invocation/functions/invoke.html +++ /dev/null @@ -1,160 +0,0 @@ - - - -invoke - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Calls a Deferred - Callable Object with the arguments from a Sequence. -

-

- The corresponding metafunction, result_of::invoke does not define a type member for target functions of - non-class type whose arity is not satisfied by the size of the sequence. -

-

- The first template parameter can be specialized explicitly to avoid copying - and/or to control the const qualification of a function object. -

-

- If the target function is a pointer to a class members, the corresponding - object can be specified as a reference, pointer, or smart pointer. In - case of the latter, a freestanding get_pointer function - must be defined (Boost provides this function for std::auto_ptr - and boost::shared_ptr). -

-
- - Synopsis -
-
-template<
-    typename Function, 
-    class Sequence
-    >
-typename result_of::invoke<Function, Sequence>::type
-invoke(Function f, Sequence & s);
-
-template<
-    typename Function, 
-    class Sequence
-    >
-typename result_of::invoke<Function, Sequence const>::type 
-invoke(Function f, Sequence const & s);
-
-
- - Parameters -
-
----- - - - - - - - - - - - - - - - - - -
ParameterRequirementDescription
fA - Deferred - Callable Object -The function to call.
sA - Forward - Sequence -The arguments.
-
- - Expression - Semantics -
-
-invoke(f,s);
-
-

- Return type: Return type of f when invoked with the elements in - s as its arguments. -

-

- Semantics: Invokes f - with the elements in s - as arguments and returns the result of the call expression. -

-
- - Header -
-
-#include <boost/fusion/functional/invocation/invoke.hpp>
-
-
- - Example -
-
-std::plus<int> add;
-assert(invoke(add,make_vector(1,1)) == 2);
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/invocation/functions/invoke_function_object.html b/doc/html/fusion/functional/invocation/functions/invoke_function_object.html deleted file mode 100644 index 2ebd1693..00000000 --- a/doc/html/fusion/functional/invocation/functions/invoke_function_object.html +++ /dev/null @@ -1,173 +0,0 @@ - - - -invoke_function_object - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Calls a Polymorphic Function - Object with the arguments from a Sequence. -

-

- The corresponding metafunction, result_of::invoke_function_object, does - not define a type member, - if the nested result - class template of the target function object is empty. -

-

- The first template parameter can be specialized explicitly to avoid copying - and/or to control the const qualification of a function object. -

-
- - Synopsis -
-
-template<
-    typename Function, 
-    class Sequence
-    >
-typename result_of::invoke_function_object<Function, Sequence>::type
-invoke_function_object(Function f, Sequence & s);
-
-template<
-    typename Function, 
-    class Sequence
-    >
-typename result_of::invoke_function_object<Function, Sequence const>::type
-invoke_function_object(Function f, Sequence const & s);
-
-
- - Parameters -
-
----- - - - - - - - - - - - - - - - - - -
ParameterRequirementDescription
fModel - of Polymorphic - Function Object -The function object to call.
sModel - of Forward - Sequence -The arguments.
-
- - Expression - Semantics -
-
-invoke_procedure(f,s);
-
-

- Return type: Return type of f when invoked with the elements in - s as its arguments. -

-

- Semantics: Invokes f - with the elements in s - as arguments and returns the result of the call expression. -

-
- - Header -
-
-#include <boost/fusion/functional/invocation/invoke_function_object.hpp>
-
-
- - Example -
-
-struct sub
-{
-    template<typename T, typename _>
-    struct result
-    {
-        typedef T type;
-    };
-
-    template<typename T>
-    T operator()(T lhs, T rhs) const
-    {
-        return lhs - rhs;
-    }
-};
-
-void try_it()
-{
-    sub f;
-    assert(f(2,1) == invoke_function_object(f,make_vector(2,1)));
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/invocation/functions/invoke_procedure.html b/doc/html/fusion/functional/invocation/functions/invoke_procedure.html deleted file mode 100644 index fc6eefd4..00000000 --- a/doc/html/fusion/functional/invocation/functions/invoke_procedure.html +++ /dev/null @@ -1,166 +0,0 @@ - - - -invoke_procedure - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Calls a Callable - Object with the arguments from a Sequence. - The result of the call is ignored. -

-

- The corresponding metafunction, __result_of_invoke_procedure, does not - define a type member - for target functions of non-class type whose arity is not satisfied by - the size of the sequence. -

-

- The first template parameter can be specialized explicitly to avoid copying - and/or to control the const qualification of a function object. -

-

- For pointers to class members corresponding object can be specified as - a reference, pointer, or smart pointer. In case of the latter, a freestanding - get_pointer function must be defined (Boost provides - this function for std::auto_ptr and boost::shared_ptr). -

-

- The target function must not be a pointer to a member object (dereferencing - such a pointer without returning anything does not make sense, so it - isn't implemented). -

-
- - Synopsis -
-
-template<
-    typename Function, 
-    class Sequence
-    >
-typename result_of::invoke_procedure<Function, Sequence>::type
-invoke_procedure(Function f, Sequence & s);
-
-template<
-    typename Function, 
-    class Sequence
-    >
-typename result_of::invoke_procedure<Function, Sequence const>::type
-invoke_procedure(Function f, Sequence const & s);
-
-
- - Parameters -
-
----- - - - - - - - - - - - - - - - - - -
ParameterRequirementDescription
fModel - of Callable - Object -The function to call.
sModel - of Forward - Sequence -The arguments.
-
- - Expression - Semantics -
-
-invoke_procedure(f,s);
-
-

- Return type: void -

-

- Semantics: Invokes f - with the elements in s - as arguments. -

-
- - Header -
-
-#include <boost/fusion/functional/invocation/invoke_procedure.hpp>
-
-
- - Example -
-
-vector<int,int> v(1,2);
-using namespace boost::lambda;
-invoke_procedure(_1 += _2, v);
-assert(front(v) == 3);
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/invocation/metafunctions/invoke.html b/doc/html/fusion/functional/invocation/metafunctions/invoke.html deleted file mode 100644 index 78c4606c..00000000 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke.html +++ /dev/null @@ -1,75 +0,0 @@ - - - -invoke - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Returns the result type of invoke. -

-

- Empty for non-class target function types whose arity is not satisfied - by the size of the sequence. -

-
- - Synopsis -
-
-namespace result_of
-{
-    template<
-        typename Function, 
-        class Sequence
-        > 
-    struct invoke
-    {
-        typedef unspecified type;
-    };
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/invocation/metafunctions/invoke_function_object.html b/doc/html/fusion/functional/invocation/metafunctions/invoke_function_object.html deleted file mode 100644 index 66c4954a..00000000 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke_function_object.html +++ /dev/null @@ -1,75 +0,0 @@ - - - -invoke_function_object - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Returns the result type of invoke_function_object. -

-

- Empty if the target function's nested result - class template is empty. -

-
- - Synopsis -
-
-namespace result_of
-{
-    template<
-        class Function, 
-        class Sequence
-        > 
-    struct invoke_function_object
-    {
-        typedef unspecified type;
-    };
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- - diff --git a/doc/html/fusion/functional/invocation/metafunctions/invoke_procedure.html b/doc/html/fusion/functional/invocation/metafunctions/invoke_procedure.html deleted file mode 100644 index c7fee8c1..00000000 --- a/doc/html/fusion/functional/invocation/metafunctions/invoke_procedure.html +++ /dev/null @@ -1,75 +0,0 @@ - - - -invoke_procedure - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
- - Description -
-

- Returns the result type of invoke_procedure. -

-

- Empty for non-class target function types whose arity is not satisfied - by the size of the sequence. -

-
- - Synopsis -
-
-namespace result_of
-{
-    template<
-        typename Function, 
-        class Sequence
-        > 
-    struct invoke_procedure
-    {
-        typedef unspecified type;
-    };
-}
-
-
- - See - also -
- -
- - - -
Copyright © 2001-2005 Joel de Guzman, Dan Marsden
-
-
-PrevUpHomeNext -
- -