|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74886 - trunk/libs/fusion/doc
From: joel_at_[hidden]
Date: 2011-10-10 06:37:56
Author: djowel
Date: 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
New Revision: 74886
URL: http://svn.boost.org/trac/boost/changeset/74886
Log:
Wrong version. Should be 2.2 + fixed copyright notices and dates
Text files modified:
trunk/libs/fusion/doc/acknowledgements.qbk | 3
trunk/libs/fusion/doc/adapted.qbk | 123 ++++++++++++++++++++-------------------
trunk/libs/fusion/doc/algorithm.qbk | 3
trunk/libs/fusion/doc/changelog.qbk | 19 ++++-
trunk/libs/fusion/doc/container.qbk | 5
trunk/libs/fusion/doc/extension.qbk | 3
trunk/libs/fusion/doc/functional.qbk | 10 +-
trunk/libs/fusion/doc/fusion.qbk | 3
trunk/libs/fusion/doc/introduction.qbk | 3
trunk/libs/fusion/doc/iterator.qbk | 11 +-
trunk/libs/fusion/doc/notes.qbk | 11 +-
trunk/libs/fusion/doc/organization.qbk | 3
trunk/libs/fusion/doc/preface.qbk | 3
trunk/libs/fusion/doc/quick_start.qbk | 3
trunk/libs/fusion/doc/references.qbk | 3
trunk/libs/fusion/doc/sequence.qbk | 3
trunk/libs/fusion/doc/support.qbk | 3
trunk/libs/fusion/doc/tuple.qbk | 3
trunk/libs/fusion/doc/view.qbk | 11 +-
19 files changed, 125 insertions(+), 101 deletions(-)
Modified: trunk/libs/fusion/doc/acknowledgements.qbk
==============================================================================
--- trunk/libs/fusion/doc/acknowledgements.qbk (original)
+++ trunk/libs/fusion/doc/acknowledgements.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: trunk/libs/fusion/doc/adapted.qbk
==============================================================================
--- trunk/libs/fusion/doc/adapted.qbk (original)
+++ trunk/libs/fusion/doc/adapted.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Copyright (C) 2010 Christopher Schmidt
Use, modification and distribution is subject to the Boost Software
@@ -243,7 +244,7 @@
[heading Semantics]
-The above macro generates the necessary code to adapt `struct_name` or an
+The above macro generates the necessary code to adapt `struct_name` or an
arbitrary specialization of `struct_name` as a model of
__random_access_sequence__.
The sequence `(template_param0)(template_param1)...` declares the names of
@@ -286,9 +287,9 @@
[section:adapt_struct_named BOOST_FUSION_ADAPT_STRUCT_NAMED]
[heading Description]
-BOOST_FUSION_ADAPT_STRUCT_NAMED and BOOST_FUSION_ADAPT_STRUCT_NAMED_NS are
-macros that can be used to generate all the necessary boilerplate to make an
-arbitrary struct a model of __random_access_sequence__. The given struct is
+BOOST_FUSION_ADAPT_STRUCT_NAMED and BOOST_FUSION_ADAPT_STRUCT_NAMED_NS are
+macros that can be used to generate all the necessary boilerplate to make an
+arbitrary struct a model of __random_access_sequence__. The given struct is
adapted using the given name.
[heading Synopsis]
@@ -311,7 +312,7 @@
[heading Semantics]
The above macros generate the necessary code to adapt `struct_name`
-as a model of __random_access_sequence__ while using `adapted_name` as the
+as a model of __random_access_sequence__ while using `adapted_name` as the
name of the adapted struct.
The sequence `(namespace0)(namespace1)...` declares the namespace
for `adapted_name`. It yields to a fully qualified name for `adapted_name` of
@@ -426,7 +427,7 @@
[heading Semantics]
-The above macro generates the necessary code to adapt `struct_name` or an
+The above macro generates the necessary code to adapt `struct_name` or an
arbitrary specialization of `struct_name` as a model of
__random_access_sequence__ and __associative_sequence__.
The sequence `(template_param0)(template_param1)...` declares the names of
@@ -462,7 +463,7 @@
struct name;
struct age;
}
-
+
// Any instantiated demo::employee is now a Fusion sequence.
// It is also an associative sequence with
// keys keys::name and keys::age present.
@@ -477,8 +478,8 @@
[section:adapt_assoc_struct_named BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED]
[heading Description]
-BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED and BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED_NS are
-macros that can be used to generate all the necessary boilerplate to make an
+BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED and BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED_NS are
+macros that can be used to generate all the necessary boilerplate to make an
arbitrary struct a model of __random_access_sequence__ and
__associative_sequence__. The given struct is adapted using the given name.
@@ -538,7 +539,7 @@
struct name;
struct age;
}
-
+
// boost::fusion::adapted::adapted_employee is now a Fusion sequence
// referring to demo::employee
BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED(
@@ -566,7 +567,7 @@
[heading Expression Semantics]
The above macro generates the necessary code to adapt `type_name`
-as a model of __random_access_sequence__.
+as a model of __random_access_sequence__.
The sequence of
[^(attribute_type['N], attribute_const_type['N], get_expr['N], set_expr['N])]
quadruples declares the types, const types, get-expressions and set-expressions
@@ -599,7 +600,7 @@
#include <boost/fusion/adapted/adt/adapt_adt.hpp>
#include <boost/fusion/include/adapt_adt.hpp>
-
+
[heading Example]
namespace demo
{
@@ -608,41 +609,41 @@
private:
std::string name;
int age;
-
+
public:
void set_name(std::string const& n)
{
name=n;
}
-
+
void set_age(int a)
{
age=a;
}
-
+
std::string const& get_name()const
{
return name;
}
-
+
int get_age()const
{
return age;
}
};
}
-
+
BOOST_FUSION_ADAPT_ADT(
demo::employee,
(std::string const&, std::string const&, obj.get_name(), obj.set_name(val))
(int, int, obj.get_age(), obj.set_age(val)))
-
+
demo::employee e;
front(e)="Edward Norton";
back(e)=41;
//Prints 'Edward Norton is 41 years old'
std::cout << e.get_name() << " is " << e.get_age() << " years old" << std::endl;
-
+
[heading See also]
__adt_attribute_proxy__
@@ -669,7 +670,7 @@
The above macro generates the necessary code to adapt `type_name`
or an arbitrary specialization of `type_name`
-as a model of __random_access_sequence__.
+as a model of __random_access_sequence__.
The sequence `(template_param0)(template_param1)...` declares the names of
the template type parameters used.
The sequence `(specialization_param0)(specialization_param1)...`
@@ -707,40 +708,40 @@
#include <boost/fusion/adapted/adt/adapt_adt.hpp>
#include <boost/fusion/include/adapt_adt.hpp>
-
+
[heading Example]
namespace demo
- {
+ {
template<typename Name, typename Age>
struct employee
{
private:
Name name;
Age age;
-
+
public:
void set_name(Name const& n)
{
name=n;
}
-
+
void set_age(Age const& a)
{
age=a;
}
-
+
Name const& get_name()const
{
return name;
}
-
+
Age const& get_age()const
{
return age;
}
};
}
-
+
BOOST_FUSION_ADAPT_TPL_ADT(
(Name)(Age),
(demo::employee) (Name)(Age),
@@ -752,7 +753,7 @@
boost::fusion::back(e)=41;
//Prints 'Edward Norton is 41 years old'
std::cout << e.get_name() << " is " << e.get_age() << " years old" << std::endl;
-
+
[heading See also]
__adt_attribute_proxy__
@@ -777,7 +778,7 @@
[heading Expression Semantics]
The above macro generates the necessary code to adapt `type_name`
-as a model of __random_access_sequence__ and __associative_sequence__.
+as a model of __random_access_sequence__ and __associative_sequence__.
The sequence of
[^(attribute_type['N], attribute_const_type['N], get_expr['N], set_expr['N], key_type['N])]
5-tuples declares the types, const types, get-expressions, set-expressions and key types
@@ -799,7 +800,7 @@
when in invoked with (an instance of) `type_name` is a proxy type.
This type is implicitly convertible to the attribute type via [^get_expr['N]] and
forwards assignment to the underlying element via [^set_expr['N]].
-The value type (that is the type returned by __result_of_value_of__, __result_of_value_of_data__,
+The value type (that is the type returned by __result_of_value_of__, __result_of_value_of_data__,
__result_of_value_at__, __result_of_value_at_c__ and __result_of_value_at_key__) of the ['N]th element
is [^attribute_type['N]] with const-qualifier and reference removed.
@@ -810,7 +811,7 @@
#include <boost/fusion/adapted/adt/adapt_assoc_adt.hpp>
#include <boost/fusion/include/adapt_assoc_adt.hpp>
-
+
[heading Example]
namespace demo
{
@@ -819,47 +820,47 @@
private:
std::string name;
int age;
-
+
public:
void set_name(std::string const& n)
{
name=n;
}
-
+
void set_age(int a)
{
age=a;
}
-
+
std::string const& get_name()const
{
return name;
}
-
+
int get_age()const
{
return age;
}
};
}
-
+
namespace keys
{
struct name;
struct age;
}
-
+
BOOST_FUSION_ADAPT_ASSOC_ADT(
demo::employee,
(std::string const&, std::string const&, obj.get_name(), obj.set_name(val), keys::name)
(int, int, obj.get_age(), obj.set_age(val), keys::age))
-
+
demo::employee e;
at_key<keys::name>(e)="Edward Norton";
at_key<keys::age>(e)=41;
//Prints 'Edward Norton is 41 years old'
std::cout << e.get_name() << " is " << e.get_age() << " years old" << std::endl;
-
+
[heading See also]
__adt_attribute_proxy__
@@ -886,7 +887,7 @@
The above macro generates the necessary code to adapt `type_name`
or an arbitrary specialization of `type_name`
-as a model of __random_access_sequence__ and __associative_sequence__.
+as a model of __random_access_sequence__ and __associative_sequence__.
The sequence `(template_param0)(template_param1)...` declares the names of
the template type parameters used.
The sequence `(specialization_param0)(specialization_param1)...`
@@ -913,7 +914,7 @@
when in invoked with (an instance of) `type_name` is a proxy type.
This type is implicitly convertible to the attribute type via [^get_expr['N]] and
forwards assignment to the underlying element via [^set_expr['N]].
-The value type (that is the type returned by __result_of_value_of__, __result_of_value_of_data__,
+The value type (that is the type returned by __result_of_value_of__, __result_of_value_of_data__,
__result_of_value_at__, __result_of_value_at_c__ and __result_of_value_at_key__) of the ['N]th element
is [^attribute_type['N]] with const-qualifier and reference removed.
@@ -924,7 +925,7 @@
#include <boost/fusion/adapted/adt/adapt_assoc_adt.hpp>
#include <boost/fusion/include/adapt_assoc_adt.hpp>
-
+
[heading Example]
namespace demo
{
@@ -934,48 +935,48 @@
private:
Name name;
Age age;
-
+
public:
void set_name(Name const& n)
{
name=n;
}
-
+
void set_age(Age const& a)
{
age=a;
}
-
+
Name const& get_name()const
{
return name;
}
-
+
Age const& get_age()const
{
return age;
}
};
}
-
+
namespace keys
{
struct name;
struct age;
}
-
+
BOOST_FUSION_ADAPT_ASSOC_TPL_ADT(
(Name)(Age),
(demo::employee) (Name)(Age),
(Name const&, Name const&, obj.get_name(), obj.set_name(val), keys::name)
(Age const&, Age const&, obj.get_age(), obj.set_age(val), keys::age))
-
+
demo::employee<std::string, int> e;
at_key<keys::name>(e)="Edward Norton";
at_key<keys::age>(e)=41;
//Prints 'Edward Norton is 41 years old'
std::cout << e.get_name() << " is " << e.get_age() << " years old" << std::endl;
-
+
[heading See also]
__adt_attribute_proxy__
@@ -1027,14 +1028,14 @@
[[`struct_name(e0, e1,... en)`] [Creates an instance of `struct_name` with elements `e0`...`en`.]]
[[`struct_name(fs)`] [Copy constructs an instance of `struct_name` from a __forward_sequence__ `fs`.]]
[[`str = fs`] [Assigns from a __forward_sequence__ `fs`.]]
- [[`str.member_nameN`] [Access of struct member `member_nameN`]]
+ [[`str.member_nameN`] [Access of struct member `member_nameN`]]
]
[heading Header]
#include <boost/fusion/adapted/struct/define_struct.hpp>
#include <boost/fusion/include/define_struct.hpp>
-
+
[heading Example]
// demo::employee is a Fusion sequence
@@ -1096,14 +1097,14 @@
[[`Str(e0, e1,... en)`] [Creates an instance of `Str` with elements `e0`...`en`.]]
[[`Str(fs)`] [Copy constructs an instance of `Str` from a __forward_sequence__ `fs`.]]
[[`str = fs`] [Assigns from a __forward_sequence__ `fs`.]]
- [[`str.member_nameN`] [Access of struct member `member_nameN`]]
+ [[`str.member_nameN`] [Access of struct member `member_nameN`]]
]
[heading Header]
#include <boost/fusion/adapted/struct/define_struct.hpp>
#include <boost/fusion/include/define_struct.hpp>
-
+
[heading Example]
// Any instantiated demo::employee is a Fusion sequence
@@ -1161,14 +1162,14 @@
[[`struct_name(e0, e1,... en)`] [Creates an instance of `struct_name` with elements `e0`...`en`.]]
[[`struct_name(fs)`] [Copy constructs an instance of `struct_name` from a __forward_sequence__ `fs`.]]
[[`str = fs`] [Assigns from a __forward_sequence__ `fs`.]]
- [[`str.member_nameN`] [Access of struct member `member_nameN`]]
+ [[`str.member_nameN`] [Access of struct member `member_nameN`]]
]
[heading Header]
#include <boost/fusion/adapted/struct/define_assoc_struct.hpp>
#include <boost/fusion/include/define_assoc_struct.hpp>
-
+
[heading Example]
namespace keys
@@ -1176,7 +1177,7 @@
struct name;
struct age;
}
-
+
// demo::employee is a Fusion sequence
BOOST_FUSION_DEFINE_ASSOC_STRUCT(
(demo), employee,
@@ -1237,14 +1238,14 @@
[[`Str(e0, e1,... en)`] [Creates an instance of `Str` with elements `e0`...`en`.]]
[[`Str(fs)`] [Copy constructs an instance of `Str` from a __forward_sequence__ `fs`.]]
[[`str = fs`] [Assigns from a __forward_sequence__ `fs`.]]
- [[`str.member_nameN`] [Access of struct member `member_nameN`]]
+ [[`str.member_nameN`] [Access of struct member `member_nameN`]]
]
[heading Header]
#include <boost/fusion/adapted/struct/define_assoc_struct.hpp>
#include <boost/fusion/include/define_assoc_struct.hpp>
-
+
[heading Example]
namespace keys
@@ -1252,7 +1253,7 @@
struct name;
struct age;
}
-
+
// Any instantiated demo::employee is a Fusion sequence
BOOST_FUSION_DEFINE_ASSOC_TPL_STRUCT(
(Name)(Age), (demo), employee,
Modified: trunk/libs/fusion/doc/algorithm.qbk
==============================================================================
--- trunk/libs/fusion/doc/algorithm.qbk (original)
+++ trunk/libs/fusion/doc/algorithm.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Copyright (C) 2010 Christopher Schmidt
Use, modification and distribution is subject to the Boost Software
Modified: trunk/libs/fusion/doc/changelog.qbk
==============================================================================
--- trunk/libs/fusion/doc/changelog.qbk (original)
+++ trunk/libs/fusion/doc/changelog.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,7 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
+ Copyright (C) 2006 Tobias Schwinger
Copyright (C) 2010 Christopher Schmidt
Use, modification and distribution is subject to the Boost Software
@@ -12,10 +14,10 @@
* Sep 27, 2006: Added `boost::tuple` support. (Joel de Guzman)
* Nov 17, 2006: Added `boost::variant` support. (Joel de Guzman)
-* Feb 15, 2011: Added functional module. (Tobias Schwinger)
-* April 2, 2011: Added struct adapter. (Joel de Guzman)
-* May 8, 2011: Added associative struct adapter. (Dan Marsden)
-* Dec 20, 2011: Removed `boost::variant` support. After thorough
+* 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
@@ -37,6 +39,11 @@
(Christopher Schmidt)
* October 7, 2010: Added __adapt_adt__, __adapt_tpl_adt__,
__adapt_assoc_adt__ and __adapt_assoc_tpl_adt__ (Joel de Guzman,
- Hartmut Kaiser and Christopher Schmidt)
+ Hartmut Kaiser and Christopher Schmidt)
+* August 29, 2011: Added support for segmented sequences and iterators (Eric Niebler)
+* September 16, 2011: Added preprocessed files (using wave) to speed up
+ compilation (Joel de Guzman)
+* October 8, 2011: Added adaptor for std::tuple (Joel de Guzman)
+* October 10, 2011: Made map random access (Brandon Kohn)
[endsect]
Modified: trunk/libs/fusion/doc/container.qbk
==============================================================================
--- trunk/libs/fusion/doc/container.qbk (original)
+++ trunk/libs/fusion/doc/container.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
@@ -681,7 +682,7 @@
, typename T0, typename T1,... typename TN>
typename __result_of_make_map__<K0, K0,... KN, T0, T1,... TN>::type
make_map(T0 const& x0, T1 const& x1... TN const& xN);
-
+
The variadic function accepts `0` to `FUSION_MAX_MAP_SIZE` elements,
where `FUSION_MAX_MAP_SIZE` is a user definable predefined maximum that
defaults to `10`. You may define the preprocessor constant
Modified: trunk/libs/fusion/doc/extension.qbk
==============================================================================
--- trunk/libs/fusion/doc/extension.qbk (original)
+++ trunk/libs/fusion/doc/extension.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: trunk/libs/fusion/doc/functional.qbk
==============================================================================
--- trunk/libs/fusion/doc/functional.qbk (original)
+++ trunk/libs/fusion/doc/functional.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,5 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2006 Tobias Schwinger
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
@@ -66,9 +66,9 @@
object can be implemented instead of (maybe heavily overloaded) function
templates or function call operators.
-The library provides both a strictly typed and a generic variant for this
+The library provides both a strictly typed and a generic variant for this
transformation. The latter should be used in combination with
-__boost_func_forward__ to attack __the_forwarding_problem__.
+__boost_func_forward__ to attack __the_forwarding_problem__.
Both variants have a corresponding generator function template that returns an
adapter instance for the given argument.
@@ -546,7 +546,7 @@
[heading Macros]
-The following macros can be defined to change the maximum arity.
+The following macros can be defined to change the maximum arity.
The default is 6.
* BOOST_FUSION_INVOKE_MAX_ARITY
@@ -1060,7 +1060,7 @@
[heading Macros]
-The following macros can be defined to change the maximum arity.
+The following macros can be defined to change the maximum arity.
The value used for these macros must not exceed `FUSION_MAX_VECTOR_SIZE`.
The default is 6.
Modified: trunk/libs/fusion/doc/fusion.qbk
==============================================================================
--- trunk/libs/fusion/doc/fusion.qbk (original)
+++ trunk/libs/fusion/doc/fusion.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Copyright (C) 2010 Christopher Schmidt
Use, modification and distribution is subject to the Boost Software
Modified: trunk/libs/fusion/doc/introduction.qbk
==============================================================================
--- trunk/libs/fusion/doc/introduction.qbk (original)
+++ trunk/libs/fusion/doc/introduction.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: trunk/libs/fusion/doc/iterator.qbk
==============================================================================
--- trunk/libs/fusion/doc/iterator.qbk (original)
+++ trunk/libs/fusion/doc/iterator.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
@@ -994,9 +995,9 @@
[heading Example]
typedef __map__<__pair__<float,int> > vec;
typedef __result_of_begin__<vec>::type first;
-
+
BOOST_MPL_ASSERT((boost::is_same<__result_of_key_of__<first>::type, float>));
-
+
[endsect]
[section value_of_data]
@@ -1033,9 +1034,9 @@
[heading Example]
typedef __map__<__pair__<float,int> > vec;
typedef __result_of_begin__<vec>::type first;
-
+
BOOST_MPL_ASSERT((boost::is_same<__result_of_value_of_data__<first>::type, int>));
-
+
[endsect]
[section deref_data]
Modified: trunk/libs/fusion/doc/notes.qbk
==============================================================================
--- trunk/libs/fusion/doc/notes.qbk (original)
+++ trunk/libs/fusion/doc/notes.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Copyright (C) 2010 Christopher Schmidt
Use, modification and distribution is subject to the Boost Software
@@ -167,7 +168,7 @@
has three template arguments:
namespace boost { namespace fusion { namespace extension
- {
+ {
template<
typename Type
, int Index
@@ -175,14 +176,14 @@
>
struct adt_attribute_proxy;
}}}
-
+
When adapting a class type, `adt_attribute_proxy` is specialized for every
element of the adapted sequence, with `Type` being the class type that is
adapted, `Index` the 0-based indices of the elements, and `Const` both `true`
and `false`. The return type of fusion's intrinsic sequence access functions
for the ['N]th element of an adapted class type `type_name` is
[^adt_attribute_proxy<type_name, ['N], ['Const]>], with [^['Const]] being `true`
-for constant instances of `type_name` and `false` for non-constant ones.
+for constant instances of `type_name` and `false` for non-constant ones.
[variablelist Notation
[[`type_name`]
@@ -204,7 +205,7 @@
]
[*Expression Semantics]
-
+
[table
[[Expression] [Semantics]]
[[[^proxy_type['N](inst)]] [Creates an instance of [^proxy_type['N]] with underlying object `inst`]]
Modified: trunk/libs/fusion/doc/organization.qbk
==============================================================================
--- trunk/libs/fusion/doc/organization.qbk (original)
+++ trunk/libs/fusion/doc/organization.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: trunk/libs/fusion/doc/preface.qbk
==============================================================================
--- trunk/libs/fusion/doc/preface.qbk (original)
+++ trunk/libs/fusion/doc/preface.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: trunk/libs/fusion/doc/quick_start.qbk
==============================================================================
--- trunk/libs/fusion/doc/quick_start.qbk (original)
+++ trunk/libs/fusion/doc/quick_start.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: trunk/libs/fusion/doc/references.qbk
==============================================================================
--- trunk/libs/fusion/doc/references.qbk (original)
+++ trunk/libs/fusion/doc/references.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: trunk/libs/fusion/doc/sequence.qbk
==============================================================================
--- trunk/libs/fusion/doc/sequence.qbk (original)
+++ trunk/libs/fusion/doc/sequence.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: trunk/libs/fusion/doc/support.qbk
==============================================================================
--- trunk/libs/fusion/doc/support.qbk (original)
+++ trunk/libs/fusion/doc/support.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: trunk/libs/fusion/doc/tuple.qbk
==============================================================================
--- trunk/libs/fusion/doc/tuple.qbk (original)
+++ trunk/libs/fusion/doc/tuple.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: trunk/libs/fusion/doc/view.qbk
==============================================================================
--- trunk/libs/fusion/doc/view.qbk (original)
+++ trunk/libs/fusion/doc/view.qbk 2011-10-10 06:37:53 EDT (Mon, 10 Oct 2011)
@@ -1,5 +1,6 @@
[/==============================================================================
- Copyright (C) 2001-2011 Joel de Guzman, Dan Marsden, Tobias Schwinger
+ Copyright (C) 2001-2011 Joel de Guzman
+ Copyright (C) 2006 Dan Marsden
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
@@ -482,7 +483,7 @@
[heading Description]
-`nview` presents a view which iterates over a given __sequence__ in a specified order.
+`nview` presents a view which iterates over a given __sequence__ in a specified order.
An `nview` is constructed from an arbitrary __sequence__ and a list of indicies specifying
the elements to iterate over.
@@ -506,15 +507,15 @@
[[Parameter] [Description] [Default]]
[[`Sequence`] [An arbitrary Fusion __forward_sequence__]
[]]
- [[`Indicies`] [A `mpl::vector_c<int, ...>` holding the indicies defining
+ [[`Indicies`] [A `mpl::vector_c<int, ...>` holding the indicies defining
the required iteration order.] []]
- [[`I1`, `I2`, `I3`...] [A list of integers specifying the required
+ [[`I1`, `I2`, `I3`...] [A list of integers specifying the required
iteration order.] [`INT_MAX` for `I2`, `I3`...]]
]
[heading Model of]
-* __random_access_sequence__ (see __traversal_concept__)
+* __random_access_sequence__ (see __traversal_concept__)
[variablelist Notation
[[`NV`] [A `nview` type]]
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk