From fd82b51cecf41e33ba1e17d3ebf9b5450cf28135 Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Mon, 10 Oct 2011 10:37:53 +0000 Subject: [PATCH] Wrong version. Should be 2.2 + fixed copyright notices and dates [SVN r74886] --- doc/acknowledgements.qbk | 3 +- doc/adapted.qbk | 123 ++++++++++++++++++++------------------- doc/algorithm.qbk | 3 +- doc/changelog.qbk | 19 ++++-- doc/container.qbk | 5 +- doc/extension.qbk | 3 +- doc/functional.qbk | 10 ++-- doc/fusion.qbk | 3 +- doc/introduction.qbk | 3 +- doc/iterator.qbk | 11 ++-- doc/notes.qbk | 11 ++-- doc/organization.qbk | 3 +- doc/preface.qbk | 3 +- doc/quick_start.qbk | 3 +- doc/references.qbk | 3 +- doc/sequence.qbk | 3 +- doc/support.qbk | 3 +- doc/tuple.qbk | 3 +- doc/view.qbk | 11 ++-- 19 files changed, 125 insertions(+), 101 deletions(-) diff --git a/doc/acknowledgements.qbk b/doc/acknowledgements.qbk index 61f7b7c0..da059955 100644 --- a/doc/acknowledgements.qbk +++ b/doc/acknowledgements.qbk @@ -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 diff --git a/doc/adapted.qbk b/doc/adapted.qbk index d0dabbae..47e538c5 100644 --- a/doc/adapted.qbk +++ b/doc/adapted.qbk @@ -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 @@ __random_access_sequence__. [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 @@ namespace qualified name of the struct to be adapted. [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 @@ adapted using the given name. [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 @@ __random_access_sequence__ and __associative_sequence__. [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 @@ namespace qualified name of the struct to be adapted. 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 @@ namespace qualified name of the struct to be adapted. [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 @@ namespace qualified name of the struct to be converted. 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 @@ __random_access_sequence__. [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 @@ namespace qualified name of the class type to be adapted. #include #include - + [heading Example] namespace demo { @@ -608,41 +609,41 @@ namespace qualified name of the class type to be adapted. 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 @@ __random_access_sequence__. 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 @@ namespace qualified name of the template class type to be adapted. #include #include - + [heading Example] namespace demo - { + { template 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 @@ namespace qualified name of the template class type to be adapted. 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 @@ __random_access_sequence__ and __associative_sequence__. [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 @@ The actual return type of fusion's intrinsic sequence access (meta-)functions 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 @@ namespace qualified name of the class type to be adapted. #include #include - + [heading Example] namespace demo { @@ -819,47 +820,47 @@ namespace qualified name of the class type to be adapted. 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(e)="Edward Norton"; at_key(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 @@ __random_access_sequence__ and __associative_sequence__. 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 @@ The actual return type of fusion's intrinsic sequence access (meta-)functions 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 @@ namespace qualified name of the template class type to be adapted. #include #include - + [heading Example] namespace demo { @@ -934,48 +935,48 @@ namespace qualified name of the template class type to be adapted. 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 e; at_key(e)="Edward Norton"; at_key(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 @@ defined in __random_access_sequence__. [[`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 #include - + [heading Example] // demo::employee is a Fusion sequence @@ -1096,14 +1097,14 @@ defined in __random_access_sequence__. [[`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 #include - + [heading Example] // Any instantiated demo::employee is a Fusion sequence @@ -1161,14 +1162,14 @@ defined in __random_access_sequence__ and __associative_sequence__. [[`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 #include - + [heading Example] namespace keys @@ -1176,7 +1177,7 @@ defined in __random_access_sequence__ and __associative_sequence__. struct name; struct age; } - + // demo::employee is a Fusion sequence BOOST_FUSION_DEFINE_ASSOC_STRUCT( (demo), employee, @@ -1237,14 +1238,14 @@ defined in __random_access_sequence__ and __associative_sequence__. [[`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 #include - + [heading Example] namespace keys @@ -1252,7 +1253,7 @@ defined in __random_access_sequence__ and __associative_sequence__. struct name; struct age; } - + // Any instantiated demo::employee is a Fusion sequence BOOST_FUSION_DEFINE_ASSOC_TPL_STRUCT( (Name)(Age), (demo), employee, diff --git a/doc/algorithm.qbk b/doc/algorithm.qbk index 893883d2..fd136f6d 100644 --- a/doc/algorithm.qbk +++ b/doc/algorithm.qbk @@ -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 diff --git a/doc/changelog.qbk b/doc/changelog.qbk index 98de599f..9bccc0c0 100644 --- a/doc/changelog.qbk +++ b/doc/changelog.qbk @@ -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 @@ This section summarizes significant changes to the Fusion library. * 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 @@ This section summarizes significant changes to the Fusion library. (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] diff --git a/doc/container.qbk b/doc/container.qbk index d1a4c3a6..fe55beda 100644 --- a/doc/container.qbk +++ b/doc/container.qbk @@ -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 @@ Create a __map__ from one or more key/data pairs. , typename T0, typename T1,... typename TN> typename __result_of_make_map__::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 diff --git a/doc/extension.qbk b/doc/extension.qbk index ae770bd0..354bc13e 100644 --- a/doc/extension.qbk +++ b/doc/extension.qbk @@ -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 diff --git a/doc/functional.qbk b/doc/functional.qbk index d587290b..19205527 100644 --- a/doc/functional.qbk +++ b/doc/functional.qbk @@ -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 @@ function objects to accept arbitrary calls. In other words, an unary function 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 @@ Returns the result type of __invoke_function_object__. [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 @@ signature is optimized automatically to avoid by-value parameters.] [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. diff --git a/doc/fusion.qbk b/doc/fusion.qbk index afcfd976..ce0141b8 100644 --- a/doc/fusion.qbk +++ b/doc/fusion.qbk @@ -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 diff --git a/doc/introduction.qbk b/doc/introduction.qbk index 48945b9f..f8979bfc 100644 --- a/doc/introduction.qbk +++ b/doc/introduction.qbk @@ -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 diff --git a/doc/iterator.qbk b/doc/iterator.qbk index 17025697..8efecda9 100644 --- a/doc/iterator.qbk +++ b/doc/iterator.qbk @@ -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 @@ Returns the key type associated with the element referenced by an associative it [heading Example] typedef __map__<__pair__ > vec; typedef __result_of_begin__::type first; - + BOOST_MPL_ASSERT((boost::is_same<__result_of_key_of__::type, float>)); - + [endsect] [section value_of_data] @@ -1033,9 +1034,9 @@ Returns the type of the data property associated with the element referenced by [heading Example] typedef __map__<__pair__ > vec; typedef __result_of_begin__::type first; - + BOOST_MPL_ASSERT((boost::is_same<__result_of_value_of_data__::type, int>)); - + [endsect] [section deref_data] diff --git a/doc/notes.qbk b/doc/notes.qbk index bb4e343a..85ccd98d 100644 --- a/doc/notes.qbk +++ b/doc/notes.qbk @@ -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 @@ and __deref_data__) is a proxy type, an instance of has three template arguments: namespace boost { namespace fusion { namespace extension - { + { template< typename Type , int Index @@ -175,14 +176,14 @@ has three template arguments: > 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], 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 @@ for constant instances of `type_name` and `false` for non-constant ones. ] [*Expression Semantics] - + [table [[Expression] [Semantics]] [[[^proxy_type['N](inst)]] [Creates an instance of [^proxy_type['N]] with underlying object `inst`]] diff --git a/doc/organization.qbk b/doc/organization.qbk index df481115..e3dd7fb4 100644 --- a/doc/organization.qbk +++ b/doc/organization.qbk @@ -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 diff --git a/doc/preface.qbk b/doc/preface.qbk index 42be72dc..cdf0114f 100644 --- a/doc/preface.qbk +++ b/doc/preface.qbk @@ -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 diff --git a/doc/quick_start.qbk b/doc/quick_start.qbk index 0bd7c946..e6e6c3c1 100644 --- a/doc/quick_start.qbk +++ b/doc/quick_start.qbk @@ -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 diff --git a/doc/references.qbk b/doc/references.qbk index 98e1fc3b..d0d63019 100644 --- a/doc/references.qbk +++ b/doc/references.qbk @@ -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 diff --git a/doc/sequence.qbk b/doc/sequence.qbk index 6d0d1655..f76eee5a 100644 --- a/doc/sequence.qbk +++ b/doc/sequence.qbk @@ -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 diff --git a/doc/support.qbk b/doc/support.qbk index 27cbded1..4a040015 100644 --- a/doc/support.qbk +++ b/doc/support.qbk @@ -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 diff --git a/doc/tuple.qbk b/doc/tuple.qbk index d3ed713a..3be81bbe 100644 --- a/doc/tuple.qbk +++ b/doc/tuple.qbk @@ -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 diff --git a/doc/view.qbk b/doc/view.qbk index 328deb8e..62539830 100644 --- a/doc/view.qbk +++ b/doc/view.qbk @@ -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 @@ defined in the implemented models. [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 @@ the elements to iterate over. [[Parameter] [Description] [Default]] [[`Sequence`] [An arbitrary Fusion __forward_sequence__] []] - [[`Indicies`] [A `mpl::vector_c` holding the indicies defining + [[`Indicies`] [A `mpl::vector_c` 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]]