From b91fcf5664145f955c001f9c5f041c6d4d3e9af1 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Sun, 25 Nov 2007 18:38:02 +0000 Subject: [PATCH] Full merge from trunk at revision 41356 of entire boost-root tree. [SVN r41370] --- doc/src/refmanual/ASSERT.rst | 5 + doc/src/refmanual/ASSERT_MSG.rst | 9 +- doc/src/refmanual/ASSERT_NOT.rst | 5 + doc/src/refmanual/ASSERT_RELATION.rst | 5 + doc/src/refmanual/AUX_LAMBDA_SUPPORT.rst | 5 + doc/src/refmanual/Acknowledgements.rst | 5 + doc/src/refmanual/Algorithms-Iteration.rst | 5 + doc/src/refmanual/Algorithms-Querying.rst | 5 + doc/src/refmanual/Algorithms-Runtime.rst | 5 + .../refmanual/Algorithms-Transformation.rst | 5 + doc/src/refmanual/Algorithms.rst | 5 + doc/src/refmanual/AssociativeSequence.rst | 5 + doc/src/refmanual/BackExtensibleSequence.rst | 5 + doc/src/refmanual/BidirectionalIterator.rst | 5 + doc/src/refmanual/BidirectionalSequence.rst | 5 + doc/src/refmanual/CFG_NO_HAS_XXX.rst | 5 + doc/src/refmanual/CFG_NO_PREPROCESSED.rst | 5 + doc/src/refmanual/Categorized.rst | 5 + doc/src/refmanual/Data.rst | 5 + .../refmanual/ExtensibleAssociativeSeq.rst | 5 + doc/src/refmanual/ExtensibleSequence.rst | 5 + doc/src/refmanual/ForwardIterator.rst | 5 + doc/src/refmanual/ForwardSequence.rst | 5 + doc/src/refmanual/FrontExtensibleSequence.rst | 5 + doc/src/refmanual/HAS_XXX_TRAIT_DEF.rst | 5 + doc/src/refmanual/HAS_XXX_TRAIT_NAMED_DEF.rst | 5 + doc/src/refmanual/Inserter.rst | 5 + doc/src/refmanual/IntegralConstant.rst | 5 + doc/src/refmanual/IntegralSequenceWrapper.rst | 5 + doc/src/refmanual/Iterators-Concepts.rst | 5 + doc/src/refmanual/Iterators-Metafunctions.rst | 5 + doc/src/refmanual/Iterators.rst | 5 + doc/src/refmanual/LIMIT_LIST_SIZE.rst | 5 + doc/src/refmanual/LIMIT_MAP_SIZE.rst | 5 + .../refmanual/LIMIT_METAFUNCTION_ARITY.rst | 5 + doc/src/refmanual/LIMIT_SET_SIZE.rst | 5 + doc/src/refmanual/LIMIT_UNROLLING.rst | 5 + doc/src/refmanual/LIMIT_VECTOR_SIZE.rst | 5 + doc/src/refmanual/LambdaExpression.rst | 5 + doc/src/refmanual/Macros-Asserts.rst | 5 + doc/src/refmanual/Macros-Configuration.rst | 5 + doc/src/refmanual/Macros.rst | 5 + doc/src/refmanual/Metafunction.rst | 5 + doc/src/refmanual/MetafunctionClass.rst | 5 + .../refmanual/Metafunctions-Arithmetic.rst | 5 + doc/src/refmanual/Metafunctions-Bitwise.rst | 5 + .../refmanual/Metafunctions-Comparisons.rst | 5 + .../refmanual/Metafunctions-Composition.rst | 5 + .../refmanual/Metafunctions-Conditional.rst | 5 + .../refmanual/Metafunctions-Invocation.rst | 5 + doc/src/refmanual/Metafunctions-Logical.rst | 5 + doc/src/refmanual/Metafunctions-Trivial.rst | 5 + doc/src/refmanual/Metafunctions-Type.rst | 5 + doc/src/refmanual/Metafunctions.rst | 5 + doc/src/refmanual/NumericMetafunction.rst | 5 + doc/src/refmanual/PlaceholderExpression.rst | 5 + doc/src/refmanual/Placeholders.rst | 5 + doc/src/refmanual/RandomAccessIterator.rst | 5 + doc/src/refmanual/RandomAccessSequence.rst | 5 + doc/src/refmanual/ReversibleAlgorithm.rst | 5 + doc/src/refmanual/Sequences-Classes.rst | 5 + doc/src/refmanual/Sequences-Concepts.rst | 5 + doc/src/refmanual/Sequences-Intrinsic.rst | 5 + doc/src/refmanual/Sequences-Views.rst | 5 + doc/src/refmanual/Sequences.rst | 5 + .../refmanual/TagDispatchedMetafunction.rst | 5 + doc/src/refmanual/TrivialMetafunction.rst | 5 + doc/src/refmanual/VariadicSequence.rst | 5 + doc/src/refmanual/accumulate.rst | 5 + doc/src/refmanual/advance.rst | 5 + doc/src/refmanual/always.rst | 5 + doc/src/refmanual/and_.rst | 5 + doc/src/refmanual/apply.rst | 5 + doc/src/refmanual/apply_wrap.rst | 5 + doc/src/refmanual/arg.rst | 5 + doc/src/refmanual/at.rst | 5 + doc/src/refmanual/at_c.rst | 5 + doc/src/refmanual/back.rst | 5 + doc/src/refmanual/back_inserter.rst | 5 + doc/src/refmanual/begin.rst | 5 + doc/src/refmanual/bind.rst | 5 + doc/src/refmanual/bitand_.rst | 5 + doc/src/refmanual/bitor_.rst | 5 + doc/src/refmanual/bitxor_.rst | 5 + doc/src/refmanual/bool_.rst | 5 + doc/src/refmanual/clear.rst | 5 + doc/src/refmanual/contains.rst | 5 + doc/src/refmanual/copy.rst | 5 + doc/src/refmanual/copy_if.rst | 5 + doc/src/refmanual/count.rst | 5 + doc/src/refmanual/count_if.rst | 5 + doc/src/refmanual/deque.rst | 5 + doc/src/refmanual/deref.rst | 5 + doc/src/refmanual/distance.rst | 5 + doc/src/refmanual/divides.rst | 5 + doc/src/refmanual/empty.rst | 5 + doc/src/refmanual/empty_base.rst | 5 + doc/src/refmanual/empty_sequence.rst | 5 + doc/src/refmanual/end.rst | 5 + doc/src/refmanual/equal.rst | 5 + doc/src/refmanual/equal_to.rst | 5 + doc/src/refmanual/erase.rst | 5 + doc/src/refmanual/erase_key.rst | 5 + doc/src/refmanual/eval_if.rst | 5 + doc/src/refmanual/eval_if_c.rst | 5 + doc/src/refmanual/filter_view.rst | 5 + doc/src/refmanual/find.rst | 5 + doc/src/refmanual/find_if.rst | 5 + doc/src/refmanual/fold.rst | 5 + doc/src/refmanual/for_each.rst | 5 + doc/src/refmanual/front.rst | 5 + doc/src/refmanual/front_inserter.rst | 5 + doc/src/refmanual/greater.rst | 5 + doc/src/refmanual/greater_equal.rst | 5 + doc/src/refmanual/has_key.rst | 5 + doc/src/refmanual/identity.rst | 5 + doc/src/refmanual/if_.rst | 22 ++ doc/src/refmanual/if_c.rst | 22 ++ doc/src/refmanual/inherit.rst | 5 + doc/src/refmanual/inherit_linearly.rst | 5 + doc/src/refmanual/insert.rst | 5 + doc/src/refmanual/insert_range.rst | 5 + doc/src/refmanual/inserter_.rst | 5 + doc/src/refmanual/int_.rst | 5 + doc/src/refmanual/integral_c.rst | 5 + doc/src/refmanual/is_sequence.rst | 5 + doc/src/refmanual/iter_fold.rst | 5 + doc/src/refmanual/iter_fold_if.rst | 5 + doc/src/refmanual/iterator_category.rst | 5 + doc/src/refmanual/iterator_range.rst | 5 + doc/src/refmanual/joint_view.rst | 5 + doc/src/refmanual/key_type.rst | 5 + doc/src/refmanual/lambda.rst | 5 + doc/src/refmanual/less.rst | 5 + doc/src/refmanual/less_equal.rst | 5 + doc/src/refmanual/list.rst | 5 + doc/src/refmanual/list_c.rst | 5 + doc/src/refmanual/long_.rst | 5 + doc/src/refmanual/lower_bound.rst | 5 + doc/src/refmanual/map.rst | 5 + doc/src/refmanual/max.rst | 5 + doc/src/refmanual/max_element.rst | 5 + doc/src/refmanual/min.rst | 5 + doc/src/refmanual/min_element.rst | 5 + doc/src/refmanual/minus.rst | 5 + doc/src/refmanual/modulus.rst | 5 + doc/src/refmanual/multiplies.rst | 5 + doc/src/refmanual/negate.rst | 5 + doc/src/refmanual/next.rst | 5 + doc/src/refmanual/not_.rst | 5 + doc/src/refmanual/not_equal_to.rst | 5 + doc/src/refmanual/numeric_cast.rst | 5 + doc/src/refmanual/or_.rst | 5 + doc/src/refmanual/order.rst | 5 + doc/src/refmanual/pair.rst | 5 + doc/src/refmanual/partition.rst | 5 + doc/src/refmanual/plus.rst | 5 + doc/src/refmanual/pop_back.rst | 5 + doc/src/refmanual/pop_front.rst | 5 + doc/src/refmanual/preface.rst | 5 + doc/src/refmanual/prior.rst | 5 + doc/src/refmanual/protect.rst | 5 + doc/src/refmanual/push_back.rst | 5 + doc/src/refmanual/push_front.rst | 5 + doc/src/refmanual/quote.rst | 5 + doc/src/refmanual/range_c.rst | 5 + doc/src/refmanual/refmanual.rst | 5 + doc/src/refmanual/remove.rst | 5 + doc/src/refmanual/remove_if.rst | 5 + doc/src/refmanual/replace.rst | 5 + doc/src/refmanual/replace_if.rst | 5 + doc/src/refmanual/reverse.rst | 5 + doc/src/refmanual/reverse_copy.rst | 5 + doc/src/refmanual/reverse_copy_if.rst | 5 + doc/src/refmanual/reverse_fold.rst | 5 + doc/src/refmanual/reverse_iter_fold.rst | 5 + doc/src/refmanual/reverse_partition.rst | 5 + doc/src/refmanual/reverse_remove.rst | 5 + doc/src/refmanual/reverse_remove_if.rst | 5 + doc/src/refmanual/reverse_replace.rst | 5 + doc/src/refmanual/reverse_replace_if.rst | 5 + .../refmanual/reverse_stable_partition.rst | 5 + doc/src/refmanual/reverse_transform.rst | 5 + doc/src/refmanual/reverse_unique.rst | 5 + doc/src/refmanual/sequence_tag.rst | 5 + doc/src/refmanual/set.rst | 5 + doc/src/refmanual/set_c.rst | 5 + doc/src/refmanual/shift_left.rst | 5 + doc/src/refmanual/shift_right.rst | 5 + doc/src/refmanual/single_view.rst | 5 + doc/src/refmanual/size.rst | 5 + doc/src/refmanual/size_t.rst | 5 + doc/src/refmanual/sizeof_.rst | 5 + doc/src/refmanual/sort.rst | 5 + doc/src/refmanual/stable_partition.rst | 5 + doc/src/refmanual/terminology.rst | 5 + doc/src/refmanual/times.rst | 5 + doc/src/refmanual/transform.rst | 5 + doc/src/refmanual/transform_view.rst | 5 + doc/src/refmanual/unique.rst | 5 + doc/src/refmanual/unpack_args.rst | 5 + doc/src/refmanual/upper_bound.rst | 5 + doc/src/refmanual/value_type.rst | 5 + doc/src/refmanual/vector.rst | 5 + doc/src/refmanual/vector_c.rst | 5 + doc/src/refmanual/void_.rst | 5 + doc/src/refmanual/zip_view.rst | 5 + test/Jamfile.v2 | 2 + test/set.cpp | 305 +++++++++++++----- 209 files changed, 1296 insertions(+), 84 deletions(-) diff --git a/doc/src/refmanual/ASSERT.rst b/doc/src/refmanual/ASSERT.rst index 5af88a7..5a4b982 100644 --- a/doc/src/refmanual/ASSERT.rst +++ b/doc/src/refmanual/ASSERT.rst @@ -1,5 +1,10 @@ .. Macros/Asserts//BOOST_MPL_ASSERT +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_ASSERT ================ diff --git a/doc/src/refmanual/ASSERT_MSG.rst b/doc/src/refmanual/ASSERT_MSG.rst index 2728ad0..47800d1 100644 --- a/doc/src/refmanual/ASSERT_MSG.rst +++ b/doc/src/refmanual/ASSERT_MSG.rst @@ -1,5 +1,10 @@ .. Macros/Asserts//BOOST_MPL_ASSERT_MSG +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_ASSERT_MSG ==================== @@ -62,7 +67,7 @@ arbitrary types ``t1``, ``t2``,... ``tn``: ``t1``, ``t2``,... ``tn`` are non-``void``. :Semantics: - Generates a compilation error if ``expr::value != true``, otherwise + Generates a compilation error if ``expr != true``, otherwise has no effect. When possible within the compiler's diagnostic capabilities, @@ -85,7 +90,7 @@ arbitrary types ``t1``, ``t2``,... ``tn``: None. :Semantics: - Generates a compilation error if ``expr::value != true``, otherwise + Generates a compilation error if ``expr != true``, otherwise has no effect. When possible within the compiler's diagnostics capabilities, diff --git a/doc/src/refmanual/ASSERT_NOT.rst b/doc/src/refmanual/ASSERT_NOT.rst index 8b4f673..cb6ae33 100644 --- a/doc/src/refmanual/ASSERT_NOT.rst +++ b/doc/src/refmanual/ASSERT_NOT.rst @@ -1,5 +1,10 @@ .. Macros/Asserts//BOOST_MPL_ASSERT_NOT +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_ASSERT_NOT ==================== diff --git a/doc/src/refmanual/ASSERT_RELATION.rst b/doc/src/refmanual/ASSERT_RELATION.rst index 9828b81..4c8ef92 100644 --- a/doc/src/refmanual/ASSERT_RELATION.rst +++ b/doc/src/refmanual/ASSERT_RELATION.rst @@ -1,5 +1,10 @@ .. Macros/Asserts//BOOST_MPL_ASSERT_RELATION +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_ASSERT_RELATION ========================= diff --git a/doc/src/refmanual/AUX_LAMBDA_SUPPORT.rst b/doc/src/refmanual/AUX_LAMBDA_SUPPORT.rst index b45b36d..7c01742 100644 --- a/doc/src/refmanual/AUX_LAMBDA_SUPPORT.rst +++ b/doc/src/refmanual/AUX_LAMBDA_SUPPORT.rst @@ -1,5 +1,10 @@ .. Macros/Broken Compiler Workarounds//BOOST_MPL_AUX_LAMBDA_SUPPORT +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_AUX_LAMBDA_SUPPORT ============================ diff --git a/doc/src/refmanual/Acknowledgements.rst b/doc/src/refmanual/Acknowledgements.rst index d4f3b75..25ab141 100644 --- a/doc/src/refmanual/Acknowledgements.rst +++ b/doc/src/refmanual/Acknowledgements.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) The format and language of this reference documentation has been greatly influenced by the SGI's `Standard Template Library Programmer's Guide`__. diff --git a/doc/src/refmanual/Algorithms-Iteration.rst b/doc/src/refmanual/Algorithms-Iteration.rst index a3b7a93..860803a 100644 --- a/doc/src/refmanual/Algorithms-Iteration.rst +++ b/doc/src/refmanual/Algorithms-Iteration.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) Iteration algorithms are the basic building blocks behind many of the MPL's algorithms, and are usually the first place to look at when starting to build a new one. Abstracting away the details of sequence diff --git a/doc/src/refmanual/Algorithms-Querying.rst b/doc/src/refmanual/Algorithms-Querying.rst index d1cf8e8..30dc115 100644 --- a/doc/src/refmanual/Algorithms-Querying.rst +++ b/doc/src/refmanual/Algorithms-Querying.rst @@ -1,2 +1,7 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. |Querying Algorithms| replace:: `Querying Algorithms`_ diff --git a/doc/src/refmanual/Algorithms-Runtime.rst b/doc/src/refmanual/Algorithms-Runtime.rst index f521c85..834bbc1 100644 --- a/doc/src/refmanual/Algorithms-Runtime.rst +++ b/doc/src/refmanual/Algorithms-Runtime.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. The MPL *runtime algorithms* provide out-of-box support for the common scenarios of crossing compile time/runtime boundary. diff --git a/doc/src/refmanual/Algorithms-Transformation.rst b/doc/src/refmanual/Algorithms-Transformation.rst index 1c41029..4d3eaef 100644 --- a/doc/src/refmanual/Algorithms-Transformation.rst +++ b/doc/src/refmanual/Algorithms-Transformation.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) According to their name, MPL's *transformation*, or *sequence-building algorithms* provide the tools for building new sequences from the existing ones by performing some kind of transformation. A typical transformation diff --git a/doc/src/refmanual/Algorithms.rst b/doc/src/refmanual/Algorithms.rst index 30dcec7..c7456a5 100644 --- a/doc/src/refmanual/Algorithms.rst +++ b/doc/src/refmanual/Algorithms.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) The MPL provides a broad range of fundamental algorithms aimed to satisfy the majority of sequential compile-time data processing needs. The algorithms include compile-time counterparts diff --git a/doc/src/refmanual/AssociativeSequence.rst b/doc/src/refmanual/AssociativeSequence.rst index ddd99a0..4da8e3e 100644 --- a/doc/src/refmanual/AssociativeSequence.rst +++ b/doc/src/refmanual/AssociativeSequence.rst @@ -1,5 +1,10 @@ .. Sequences/Concepts//Associative Sequence |70 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Associative Sequence ==================== diff --git a/doc/src/refmanual/BackExtensibleSequence.rst b/doc/src/refmanual/BackExtensibleSequence.rst index b598d9b..f8ab2e4 100644 --- a/doc/src/refmanual/BackExtensibleSequence.rst +++ b/doc/src/refmanual/BackExtensibleSequence.rst @@ -1,5 +1,10 @@ .. Sequences/Concepts//Back Extensible Sequence |60 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Back Extensible Sequence ======================== diff --git a/doc/src/refmanual/BidirectionalIterator.rst b/doc/src/refmanual/BidirectionalIterator.rst index 9ae6ee7..21a5002 100644 --- a/doc/src/refmanual/BidirectionalIterator.rst +++ b/doc/src/refmanual/BidirectionalIterator.rst @@ -1,5 +1,10 @@ .. Iterators/Concepts//Bidirectional Iterator |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Bidirectional Iterator ====================== diff --git a/doc/src/refmanual/BidirectionalSequence.rst b/doc/src/refmanual/BidirectionalSequence.rst index e48886d..940cb19 100644 --- a/doc/src/refmanual/BidirectionalSequence.rst +++ b/doc/src/refmanual/BidirectionalSequence.rst @@ -1,5 +1,10 @@ .. Sequences/Concepts//Bidirectional Sequence |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Bidirectional Sequence ====================== diff --git a/doc/src/refmanual/CFG_NO_HAS_XXX.rst b/doc/src/refmanual/CFG_NO_HAS_XXX.rst index ffb2cff..0bbc36c 100644 --- a/doc/src/refmanual/CFG_NO_HAS_XXX.rst +++ b/doc/src/refmanual/CFG_NO_HAS_XXX.rst @@ -1,5 +1,10 @@ .. Macros/Configuration//BOOST_MPL_CFG_NO_HAS_XXX |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_CFG_NO_HAS_XXX ======================== diff --git a/doc/src/refmanual/CFG_NO_PREPROCESSED.rst b/doc/src/refmanual/CFG_NO_PREPROCESSED.rst index 5f3be39..1d90c9d 100644 --- a/doc/src/refmanual/CFG_NO_PREPROCESSED.rst +++ b/doc/src/refmanual/CFG_NO_PREPROCESSED.rst @@ -1,5 +1,10 @@ .. Macros/Configuration//BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS ===================================== .. _`BOOST_MPL_CFG_NO_PREPROCESSED`: diff --git a/doc/src/refmanual/Categorized.rst b/doc/src/refmanual/Categorized.rst index 8ea4f76..a1390d4 100644 --- a/doc/src/refmanual/Categorized.rst +++ b/doc/src/refmanual/Categorized.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. _`Categorized`: Concepts diff --git a/doc/src/refmanual/Data.rst b/doc/src/refmanual/Data.rst index fb0775c..593d30f 100644 --- a/doc/src/refmanual/Data.rst +++ b/doc/src/refmanual/Data.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. _`Data`: .. |Data Types| replace:: `Data Types`_ diff --git a/doc/src/refmanual/ExtensibleAssociativeSeq.rst b/doc/src/refmanual/ExtensibleAssociativeSeq.rst index d0c26cd..bd4e2b2 100644 --- a/doc/src/refmanual/ExtensibleAssociativeSeq.rst +++ b/doc/src/refmanual/ExtensibleAssociativeSeq.rst @@ -1,5 +1,10 @@ .. Sequences/Concepts//Extensible Associative Sequence |80 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Extensible Associative Sequence =============================== diff --git a/doc/src/refmanual/ExtensibleSequence.rst b/doc/src/refmanual/ExtensibleSequence.rst index d2cc1d1..7b19b86 100644 --- a/doc/src/refmanual/ExtensibleSequence.rst +++ b/doc/src/refmanual/ExtensibleSequence.rst @@ -1,5 +1,10 @@ .. Sequences/Concepts//Extensible Sequence |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Extensible Sequence =================== diff --git a/doc/src/refmanual/ForwardIterator.rst b/doc/src/refmanual/ForwardIterator.rst index fd30f24..1832123 100644 --- a/doc/src/refmanual/ForwardIterator.rst +++ b/doc/src/refmanual/ForwardIterator.rst @@ -1,5 +1,10 @@ .. Iterators/Concepts//Forward Iterator |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Forward Iterator ================ diff --git a/doc/src/refmanual/ForwardSequence.rst b/doc/src/refmanual/ForwardSequence.rst index c4b1ce6..d014cc4 100644 --- a/doc/src/refmanual/ForwardSequence.rst +++ b/doc/src/refmanual/ForwardSequence.rst @@ -1,5 +1,10 @@ .. Sequences/Concepts//Forward Sequence |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Forward Sequence ================ diff --git a/doc/src/refmanual/FrontExtensibleSequence.rst b/doc/src/refmanual/FrontExtensibleSequence.rst index 4204639..197f71c 100644 --- a/doc/src/refmanual/FrontExtensibleSequence.rst +++ b/doc/src/refmanual/FrontExtensibleSequence.rst @@ -1,5 +1,10 @@ .. Sequences/Concepts//Front Extensible Sequence |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Front Extensible Sequence ========================= diff --git a/doc/src/refmanual/HAS_XXX_TRAIT_DEF.rst b/doc/src/refmanual/HAS_XXX_TRAIT_DEF.rst index 5e27dd9..41ef26c 100644 --- a/doc/src/refmanual/HAS_XXX_TRAIT_DEF.rst +++ b/doc/src/refmanual/HAS_XXX_TRAIT_DEF.rst @@ -1,5 +1,10 @@ .. Macros/Introspection//BOOST_MPL_HAS_XXX_TRAIT_DEF +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_HAS_XXX_TRAIT_DEF =========================== diff --git a/doc/src/refmanual/HAS_XXX_TRAIT_NAMED_DEF.rst b/doc/src/refmanual/HAS_XXX_TRAIT_NAMED_DEF.rst index b8c2800..c976e0b 100644 --- a/doc/src/refmanual/HAS_XXX_TRAIT_NAMED_DEF.rst +++ b/doc/src/refmanual/HAS_XXX_TRAIT_NAMED_DEF.rst @@ -1,5 +1,10 @@ .. Macros/Introspection//BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF ================================= diff --git a/doc/src/refmanual/Inserter.rst b/doc/src/refmanual/Inserter.rst index 73857aa..9712f04 100644 --- a/doc/src/refmanual/Inserter.rst +++ b/doc/src/refmanual/Inserter.rst @@ -1,5 +1,10 @@ .. Algorithms/Concepts//Inserter +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Inserter ======== diff --git a/doc/src/refmanual/IntegralConstant.rst b/doc/src/refmanual/IntegralConstant.rst index b757a18..ed09ed8 100644 --- a/doc/src/refmanual/IntegralConstant.rst +++ b/doc/src/refmanual/IntegralConstant.rst @@ -1,5 +1,10 @@ .. Data Types/Concepts//Integral Constant +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Integral Constant ================= diff --git a/doc/src/refmanual/IntegralSequenceWrapper.rst b/doc/src/refmanual/IntegralSequenceWrapper.rst index 2aca36a..c15e516 100644 --- a/doc/src/refmanual/IntegralSequenceWrapper.rst +++ b/doc/src/refmanual/IntegralSequenceWrapper.rst @@ -1,5 +1,10 @@ .. Sequences/Concepts//Integral Sequence Wrapper |90 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Integral Sequence Wrapper ========================= diff --git a/doc/src/refmanual/Iterators-Concepts.rst b/doc/src/refmanual/Iterators-Concepts.rst index 27cc124..099e84d 100644 --- a/doc/src/refmanual/Iterators-Concepts.rst +++ b/doc/src/refmanual/Iterators-Concepts.rst @@ -1,5 +1,10 @@ +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + All iterators in MPL are classified into three iterator concepts, or `categories`, named according to the type of traversal provided. The categories are: |Forward Iterator|, |Bidirectional Iterator|, and diff --git a/doc/src/refmanual/Iterators-Metafunctions.rst b/doc/src/refmanual/Iterators-Metafunctions.rst index 1c9a3e1..c1fb160 100644 --- a/doc/src/refmanual/Iterators-Metafunctions.rst +++ b/doc/src/refmanual/Iterators-Metafunctions.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) From the implementation standpoint, iterators are almost-opaque types which guarantee to provide us with the only memeber that we can access directly: their category. Incrementing, dereferencing and the rest of iterator diff --git a/doc/src/refmanual/Iterators.rst b/doc/src/refmanual/Iterators.rst index 5cbc572..5692243 100644 --- a/doc/src/refmanual/Iterators.rst +++ b/doc/src/refmanual/Iterators.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) Iterators are generic means of addressing a particular element or a range of sequential elements in a sequence. They are also a mechanism that makes it possible to decouple `algorithms`__ from concrete compile-time `sequence diff --git a/doc/src/refmanual/LIMIT_LIST_SIZE.rst b/doc/src/refmanual/LIMIT_LIST_SIZE.rst index 583448a..abf5972 100644 --- a/doc/src/refmanual/LIMIT_LIST_SIZE.rst +++ b/doc/src/refmanual/LIMIT_LIST_SIZE.rst @@ -1,5 +1,10 @@ .. Macros/Configuration//BOOST_MPL_LIMIT_LIST_SIZE |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_LIMIT_LIST_SIZE ========================= diff --git a/doc/src/refmanual/LIMIT_MAP_SIZE.rst b/doc/src/refmanual/LIMIT_MAP_SIZE.rst index 4ab7001..45a7b1a 100644 --- a/doc/src/refmanual/LIMIT_MAP_SIZE.rst +++ b/doc/src/refmanual/LIMIT_MAP_SIZE.rst @@ -1,5 +1,10 @@ .. Macros/Configuration//BOOST_MPL_LIMIT_MAP_SIZE |60 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_LIMIT_MAP_SIZE ======================== diff --git a/doc/src/refmanual/LIMIT_METAFUNCTION_ARITY.rst b/doc/src/refmanual/LIMIT_METAFUNCTION_ARITY.rst index f1ec020..e674ea7 100644 --- a/doc/src/refmanual/LIMIT_METAFUNCTION_ARITY.rst +++ b/doc/src/refmanual/LIMIT_METAFUNCTION_ARITY.rst @@ -1,5 +1,10 @@ .. Macros/Configuration//BOOST_MPL_LIMIT_METAFUNCTION_ARITY |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_LIMIT_METAFUNCTION_ARITY ================================== diff --git a/doc/src/refmanual/LIMIT_SET_SIZE.rst b/doc/src/refmanual/LIMIT_SET_SIZE.rst index 04967f9..34201a3 100644 --- a/doc/src/refmanual/LIMIT_SET_SIZE.rst +++ b/doc/src/refmanual/LIMIT_SET_SIZE.rst @@ -1,5 +1,10 @@ .. Macros/Configuration//BOOST_MPL_LIMIT_SET_SIZE |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_LIMIT_SET_SIZE ======================== diff --git a/doc/src/refmanual/LIMIT_UNROLLING.rst b/doc/src/refmanual/LIMIT_UNROLLING.rst index 94fbc8c..aeafeab 100644 --- a/doc/src/refmanual/LIMIT_UNROLLING.rst +++ b/doc/src/refmanual/LIMIT_UNROLLING.rst @@ -1,5 +1,10 @@ .. Macros/Configuration//BOOST_MPL_LIMIT_UNROLLING |70 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_LIMIT_UNROLLING ========================= diff --git a/doc/src/refmanual/LIMIT_VECTOR_SIZE.rst b/doc/src/refmanual/LIMIT_VECTOR_SIZE.rst index d0d728e..728ae72 100644 --- a/doc/src/refmanual/LIMIT_VECTOR_SIZE.rst +++ b/doc/src/refmanual/LIMIT_VECTOR_SIZE.rst @@ -1,5 +1,10 @@ .. Macros/Configuration//BOOST_MPL_LIMIT_VECTOR_SIZE |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + BOOST_MPL_LIMIT_VECTOR_SIZE =========================== diff --git a/doc/src/refmanual/LambdaExpression.rst b/doc/src/refmanual/LambdaExpression.rst index 28cd468..e073933 100644 --- a/doc/src/refmanual/LambdaExpression.rst +++ b/doc/src/refmanual/LambdaExpression.rst @@ -1,5 +1,10 @@ .. Metafunctions/Concepts//Lambda Expression |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Lambda Expression ================= diff --git a/doc/src/refmanual/Macros-Asserts.rst b/doc/src/refmanual/Macros-Asserts.rst index cb36e89..cca8546 100644 --- a/doc/src/refmanual/Macros-Asserts.rst +++ b/doc/src/refmanual/Macros-Asserts.rst @@ -1,5 +1,10 @@ +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + The MPL supplies a suite of static assertion macros that are specifically designed to generate maximally useful and informative error messages within the diagnostic capabilities of each compiler. diff --git a/doc/src/refmanual/Macros-Configuration.rst b/doc/src/refmanual/Macros-Configuration.rst index cf7af68..82f91ac 100644 --- a/doc/src/refmanual/Macros-Configuration.rst +++ b/doc/src/refmanual/Macros-Configuration.rst @@ -1,2 +1,7 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. |Configuration| replace:: `Configuration`_ diff --git a/doc/src/refmanual/Macros.rst b/doc/src/refmanual/Macros.rst index a8add17..ef1e99d 100644 --- a/doc/src/refmanual/Macros.rst +++ b/doc/src/refmanual/Macros.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) Being a *template* metaprogramming framework, the MPL concentrates on getting one thing done well and leaves most of the clearly preprocessor-related tasks to the corresponding specialized diff --git a/doc/src/refmanual/Metafunction.rst b/doc/src/refmanual/Metafunction.rst index 2ad7f75..9f1520c 100644 --- a/doc/src/refmanual/Metafunction.rst +++ b/doc/src/refmanual/Metafunction.rst @@ -1,5 +1,10 @@ .. Metafunctions/Concepts//Metafunction |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Metafunction ============ diff --git a/doc/src/refmanual/MetafunctionClass.rst b/doc/src/refmanual/MetafunctionClass.rst index fff1c47..81ad2ac 100644 --- a/doc/src/refmanual/MetafunctionClass.rst +++ b/doc/src/refmanual/MetafunctionClass.rst @@ -1,5 +1,10 @@ .. Metafunctions/Concepts//Metafunction Class |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Metafunction Class ================== diff --git a/doc/src/refmanual/Metafunctions-Arithmetic.rst b/doc/src/refmanual/Metafunctions-Arithmetic.rst index dd5df7f..09ef2f4 100644 --- a/doc/src/refmanual/Metafunctions-Arithmetic.rst +++ b/doc/src/refmanual/Metafunctions-Arithmetic.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. |Arithmetic Operations| replace:: `Arithmetic Operations`_ .. |arithmetic| replace:: `arithmetic`__ diff --git a/doc/src/refmanual/Metafunctions-Bitwise.rst b/doc/src/refmanual/Metafunctions-Bitwise.rst index a91b88e..09dab77 100644 --- a/doc/src/refmanual/Metafunctions-Bitwise.rst +++ b/doc/src/refmanual/Metafunctions-Bitwise.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. |Bitwise Operations| replace:: `Bitwise Operations`_ .. |bitwise| replace:: `bitwise`__ diff --git a/doc/src/refmanual/Metafunctions-Comparisons.rst b/doc/src/refmanual/Metafunctions-Comparisons.rst index 76b667e..530b758 100644 --- a/doc/src/refmanual/Metafunctions-Comparisons.rst +++ b/doc/src/refmanual/Metafunctions-Comparisons.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. |Comparisons| replace:: `Comparisons`_ .. |comparison| replace:: `comparison`__ diff --git a/doc/src/refmanual/Metafunctions-Composition.rst b/doc/src/refmanual/Metafunctions-Composition.rst index 4ebec6d..edcb37c 100644 --- a/doc/src/refmanual/Metafunctions-Composition.rst +++ b/doc/src/refmanual/Metafunctions-Composition.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. |Composition and Argument Binding| replace:: `Composition and Argument Binding`_ .. |composition| replace:: `composition`__ diff --git a/doc/src/refmanual/Metafunctions-Conditional.rst b/doc/src/refmanual/Metafunctions-Conditional.rst index d6ee00d..c04dbbb 100644 --- a/doc/src/refmanual/Metafunctions-Conditional.rst +++ b/doc/src/refmanual/Metafunctions-Conditional.rst @@ -1,3 +1,8 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. |control flow| replace:: `control flow`__ __ `Control Flow`_ diff --git a/doc/src/refmanual/Metafunctions-Invocation.rst b/doc/src/refmanual/Metafunctions-Invocation.rst index c1be9b8..2ef8f2d 100644 --- a/doc/src/refmanual/Metafunctions-Invocation.rst +++ b/doc/src/refmanual/Metafunctions-Invocation.rst @@ -1,3 +1,8 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. |invocation| replace:: `invocation`__ __ `Invocation`_ diff --git a/doc/src/refmanual/Metafunctions-Logical.rst b/doc/src/refmanual/Metafunctions-Logical.rst index 826d8c5..84ee30f 100644 --- a/doc/src/refmanual/Metafunctions-Logical.rst +++ b/doc/src/refmanual/Metafunctions-Logical.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. |logical| replace:: `logical`__ __ `Logical Operations`_ diff --git a/doc/src/refmanual/Metafunctions-Trivial.rst b/doc/src/refmanual/Metafunctions-Trivial.rst index 896cbc5..45c7b92 100644 --- a/doc/src/refmanual/Metafunctions-Trivial.rst +++ b/doc/src/refmanual/Metafunctions-Trivial.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) The MPL provides a number of |Trivial Metafunction|\ s that a nothing more than thin wrappers for a differently-named class nested type members. While important in the context of `in-place metafunction composition`__, these metafunctions have diff --git a/doc/src/refmanual/Metafunctions-Type.rst b/doc/src/refmanual/Metafunctions-Type.rst index ca7b7cf..7814cb8 100644 --- a/doc/src/refmanual/Metafunctions-Type.rst +++ b/doc/src/refmanual/Metafunctions-Type.rst @@ -1,3 +1,8 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. |type selection| replace:: `type selection`__ __ `Type Selection`_ diff --git a/doc/src/refmanual/Metafunctions.rst b/doc/src/refmanual/Metafunctions.rst index b983e41..3d1244a 100644 --- a/doc/src/refmanual/Metafunctions.rst +++ b/doc/src/refmanual/Metafunctions.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) The MPL includes a number of predefined metafunctions that can be roughly classified in two categories: `general purpose metafunctions`, dealing with conditional |type selection| and higher-order metafunction |invocation|, diff --git a/doc/src/refmanual/NumericMetafunction.rst b/doc/src/refmanual/NumericMetafunction.rst index 62ebcf0..3382c81 100644 --- a/doc/src/refmanual/NumericMetafunction.rst +++ b/doc/src/refmanual/NumericMetafunction.rst @@ -1,5 +1,10 @@ .. Metafunctions/Concepts//Numeric Metafunction |60 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Numeric Metafunction ==================== diff --git a/doc/src/refmanual/PlaceholderExpression.rst b/doc/src/refmanual/PlaceholderExpression.rst index 7f7df34..d35fb0a 100644 --- a/doc/src/refmanual/PlaceholderExpression.rst +++ b/doc/src/refmanual/PlaceholderExpression.rst @@ -1,5 +1,10 @@ .. Metafunctions/Concepts//Placeholder Expression |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Placeholder Expression ====================== diff --git a/doc/src/refmanual/Placeholders.rst b/doc/src/refmanual/Placeholders.rst index 547b0a1..742a1da 100644 --- a/doc/src/refmanual/Placeholders.rst +++ b/doc/src/refmanual/Placeholders.rst @@ -1,5 +1,10 @@ .. Metafunctions/Composition and Argument Binding//_1,_2,..._n |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Placeholders ============ diff --git a/doc/src/refmanual/RandomAccessIterator.rst b/doc/src/refmanual/RandomAccessIterator.rst index d3e2ea1..b95ba17 100644 --- a/doc/src/refmanual/RandomAccessIterator.rst +++ b/doc/src/refmanual/RandomAccessIterator.rst @@ -1,5 +1,10 @@ .. Iterators/Concepts//Random Access Iterator |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Random Access Iterator ====================== diff --git a/doc/src/refmanual/RandomAccessSequence.rst b/doc/src/refmanual/RandomAccessSequence.rst index 1b5c59b..a10864a 100644 --- a/doc/src/refmanual/RandomAccessSequence.rst +++ b/doc/src/refmanual/RandomAccessSequence.rst @@ -1,5 +1,10 @@ .. Sequences/Concepts//Random Access Sequence |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Random Access Sequence ====================== diff --git a/doc/src/refmanual/ReversibleAlgorithm.rst b/doc/src/refmanual/ReversibleAlgorithm.rst index 806564d..07bd8f8 100644 --- a/doc/src/refmanual/ReversibleAlgorithm.rst +++ b/doc/src/refmanual/ReversibleAlgorithm.rst @@ -1,5 +1,10 @@ .. Algorithms/Concepts//Reversible Algorithm +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Reversible Algorithm ==================== diff --git a/doc/src/refmanual/Sequences-Classes.rst b/doc/src/refmanual/Sequences-Classes.rst index 6af9d89..8f70e8a 100644 --- a/doc/src/refmanual/Sequences-Classes.rst +++ b/doc/src/refmanual/Sequences-Classes.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) The MPL provides a large number of predefined general-purpose sequence classes covering most of the typical metaprogramming needs out-of-box. diff --git a/doc/src/refmanual/Sequences-Concepts.rst b/doc/src/refmanual/Sequences-Concepts.rst index 0cf016c..243dca9 100644 --- a/doc/src/refmanual/Sequences-Concepts.rst +++ b/doc/src/refmanual/Sequences-Concepts.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) The taxonomy of sequence concepts in MPL parallels the taxonomy of the MPL |iterators|, with two additional classification dimensions: `extensibility` and `associativeness`. diff --git a/doc/src/refmanual/Sequences-Intrinsic.rst b/doc/src/refmanual/Sequences-Intrinsic.rst index faef490..ef290b5 100644 --- a/doc/src/refmanual/Sequences-Intrinsic.rst +++ b/doc/src/refmanual/Sequences-Intrinsic.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) The metafunctions that form the essential interface of sequence `classes`__ documented in the corresponding |sequence concepts| are known as *intrinsic sequence operations*. They differ from generic diff --git a/doc/src/refmanual/Sequences-Views.rst b/doc/src/refmanual/Sequences-Views.rst index 2dc694e..c9cc762 100644 --- a/doc/src/refmanual/Sequences-Views.rst +++ b/doc/src/refmanual/Sequences-Views.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) A *view* is a sequence adaptor delivering an altered presentation of one or more underlying sequences. Views are lazy, meaning that their elements are only computed on demand. Similarly to the short-circuit diff --git a/doc/src/refmanual/Sequences.rst b/doc/src/refmanual/Sequences.rst index 84c371f..e97a1f0 100644 --- a/doc/src/refmanual/Sequences.rst +++ b/doc/src/refmanual/Sequences.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) Compile-time sequences of types are one of the basic concepts of C++ template metaprogramming. Differences in types of objects being manipulated is the most common point of variability of similar, but diff --git a/doc/src/refmanual/TagDispatchedMetafunction.rst b/doc/src/refmanual/TagDispatchedMetafunction.rst index e6b6380..294ed4a 100644 --- a/doc/src/refmanual/TagDispatchedMetafunction.rst +++ b/doc/src/refmanual/TagDispatchedMetafunction.rst @@ -1,5 +1,10 @@ .. Metafunctions/Concepts//Tag Dispatched Metafunction |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Tag Dispatched Metafunction =========================== diff --git a/doc/src/refmanual/TrivialMetafunction.rst b/doc/src/refmanual/TrivialMetafunction.rst index 9739417..b2dbe5f 100644 --- a/doc/src/refmanual/TrivialMetafunction.rst +++ b/doc/src/refmanual/TrivialMetafunction.rst @@ -1,5 +1,10 @@ .. Metafunctions/Concepts//Trivial Metafunction |70 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Trivial Metafunction ==================== diff --git a/doc/src/refmanual/VariadicSequence.rst b/doc/src/refmanual/VariadicSequence.rst index 02acc5c..6cdc437 100644 --- a/doc/src/refmanual/VariadicSequence.rst +++ b/doc/src/refmanual/VariadicSequence.rst @@ -1,5 +1,10 @@ .. Sequences/Concepts//Variadic Sequence |100 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + Variadic Sequence ================= diff --git a/doc/src/refmanual/accumulate.rst b/doc/src/refmanual/accumulate.rst index 7a772e1..cb3e4f0 100644 --- a/doc/src/refmanual/accumulate.rst +++ b/doc/src/refmanual/accumulate.rst @@ -1,5 +1,10 @@ .. Algorithms/Iteration Algorithms//accumulate |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + accumulate ========== diff --git a/doc/src/refmanual/advance.rst b/doc/src/refmanual/advance.rst index c86c5c6..187b992 100644 --- a/doc/src/refmanual/advance.rst +++ b/doc/src/refmanual/advance.rst @@ -1,5 +1,10 @@ .. Iterators/Iterator Metafunctions//advance |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + advance ======= diff --git a/doc/src/refmanual/always.rst b/doc/src/refmanual/always.rst index ecd3e1a..3539188 100644 --- a/doc/src/refmanual/always.rst +++ b/doc/src/refmanual/always.rst @@ -1,5 +1,10 @@ .. Metafunctions/Miscellaneous//always |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + always ====== diff --git a/doc/src/refmanual/and_.rst b/doc/src/refmanual/and_.rst index 9d95ca3..27143b1 100644 --- a/doc/src/refmanual/and_.rst +++ b/doc/src/refmanual/and_.rst @@ -1,5 +1,10 @@ .. Metafunctions/Logical Operations//and_ |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + and\_ ===== diff --git a/doc/src/refmanual/apply.rst b/doc/src/refmanual/apply.rst index 28ace90..e7370c8 100644 --- a/doc/src/refmanual/apply.rst +++ b/doc/src/refmanual/apply.rst @@ -1,5 +1,10 @@ .. Metafunctions/Invocation//apply |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + apply ===== diff --git a/doc/src/refmanual/apply_wrap.rst b/doc/src/refmanual/apply_wrap.rst index 02c3b14..71d9fc9 100644 --- a/doc/src/refmanual/apply_wrap.rst +++ b/doc/src/refmanual/apply_wrap.rst @@ -1,5 +1,10 @@ .. Metafunctions/Invocation//apply_wrap |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + apply_wrap ========== diff --git a/doc/src/refmanual/arg.rst b/doc/src/refmanual/arg.rst index ef489e5..4569bb0 100644 --- a/doc/src/refmanual/arg.rst +++ b/doc/src/refmanual/arg.rst @@ -1,5 +1,10 @@ .. Metafunctions/Composition and Argument Binding//arg |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + arg === diff --git a/doc/src/refmanual/at.rst b/doc/src/refmanual/at.rst index 69f7994..e163592 100644 --- a/doc/src/refmanual/at.rst +++ b/doc/src/refmanual/at.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//at +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + at == diff --git a/doc/src/refmanual/at_c.rst b/doc/src/refmanual/at_c.rst index 9330dae..ab2207f 100644 --- a/doc/src/refmanual/at_c.rst +++ b/doc/src/refmanual/at_c.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//at_c +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + at_c ==== diff --git a/doc/src/refmanual/back.rst b/doc/src/refmanual/back.rst index b868a3a..1c687a4 100644 --- a/doc/src/refmanual/back.rst +++ b/doc/src/refmanual/back.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//back +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + back ==== diff --git a/doc/src/refmanual/back_inserter.rst b/doc/src/refmanual/back_inserter.rst index 1dcbb58..79bba5a 100644 --- a/doc/src/refmanual/back_inserter.rst +++ b/doc/src/refmanual/back_inserter.rst @@ -1,5 +1,10 @@ .. Algorithms/Inserters//back_inserter +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + back_inserter ============= diff --git a/doc/src/refmanual/begin.rst b/doc/src/refmanual/begin.rst index 6c1f440..b321f3f 100644 --- a/doc/src/refmanual/begin.rst +++ b/doc/src/refmanual/begin.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//begin +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + begin ===== diff --git a/doc/src/refmanual/bind.rst b/doc/src/refmanual/bind.rst index f33f336..7804526 100644 --- a/doc/src/refmanual/bind.rst +++ b/doc/src/refmanual/bind.rst @@ -1,5 +1,10 @@ .. Metafunctions/Composition and Argument Binding//bind |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + bind ==== diff --git a/doc/src/refmanual/bitand_.rst b/doc/src/refmanual/bitand_.rst index 9368705..195f0dd 100644 --- a/doc/src/refmanual/bitand_.rst +++ b/doc/src/refmanual/bitand_.rst @@ -1,5 +1,10 @@ .. Metafunctions/Bitwise Operations//bitand_ +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + bitand\_ ======== diff --git a/doc/src/refmanual/bitor_.rst b/doc/src/refmanual/bitor_.rst index 6dd1836..e3d2185 100644 --- a/doc/src/refmanual/bitor_.rst +++ b/doc/src/refmanual/bitor_.rst @@ -1,5 +1,10 @@ .. Metafunctions/Bitwise Operations//bitor_ +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + bitor\_ ======= diff --git a/doc/src/refmanual/bitxor_.rst b/doc/src/refmanual/bitxor_.rst index d0ebceb..9a30a8f 100644 --- a/doc/src/refmanual/bitxor_.rst +++ b/doc/src/refmanual/bitxor_.rst @@ -1,5 +1,10 @@ .. Metafunctions/Bitwise Operations//bitxor_ +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + bitxor\_ ======== diff --git a/doc/src/refmanual/bool_.rst b/doc/src/refmanual/bool_.rst index 39cc2c5..cf7dc9f 100644 --- a/doc/src/refmanual/bool_.rst +++ b/doc/src/refmanual/bool_.rst @@ -1,5 +1,10 @@ .. Data Types/Numeric//bool_ |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + bool\_ ====== diff --git a/doc/src/refmanual/clear.rst b/doc/src/refmanual/clear.rst index 65ee734..eebd54b 100644 --- a/doc/src/refmanual/clear.rst +++ b/doc/src/refmanual/clear.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//clear +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + clear ===== diff --git a/doc/src/refmanual/contains.rst b/doc/src/refmanual/contains.rst index 01e2d0c..01d2ab8 100644 --- a/doc/src/refmanual/contains.rst +++ b/doc/src/refmanual/contains.rst @@ -1,5 +1,10 @@ .. Algorithms/Querying Algorithms//contains |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + contains ======== diff --git a/doc/src/refmanual/copy.rst b/doc/src/refmanual/copy.rst index 12fde6b..bb7402e 100644 --- a/doc/src/refmanual/copy.rst +++ b/doc/src/refmanual/copy.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//copy |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + copy ==== diff --git a/doc/src/refmanual/copy_if.rst b/doc/src/refmanual/copy_if.rst index 12b92df..0964254 100644 --- a/doc/src/refmanual/copy_if.rst +++ b/doc/src/refmanual/copy_if.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//copy_if |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + copy_if ======= diff --git a/doc/src/refmanual/count.rst b/doc/src/refmanual/count.rst index b5b0dfa..fdd8866 100644 --- a/doc/src/refmanual/count.rst +++ b/doc/src/refmanual/count.rst @@ -1,5 +1,10 @@ .. Algorithms/Querying Algorithms//count |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + count ===== diff --git a/doc/src/refmanual/count_if.rst b/doc/src/refmanual/count_if.rst index 880146b..50ece13 100644 --- a/doc/src/refmanual/count_if.rst +++ b/doc/src/refmanual/count_if.rst @@ -1,5 +1,10 @@ .. Algorithms/Querying Algorithms//count_if |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + count_if ======== diff --git a/doc/src/refmanual/deque.rst b/doc/src/refmanual/deque.rst index 4a49c4b..55c7d8f 100644 --- a/doc/src/refmanual/deque.rst +++ b/doc/src/refmanual/deque.rst @@ -1,5 +1,10 @@ .. Sequences/Classes//deque |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + deque ===== diff --git a/doc/src/refmanual/deref.rst b/doc/src/refmanual/deref.rst index 8203411..1801438 100644 --- a/doc/src/refmanual/deref.rst +++ b/doc/src/refmanual/deref.rst @@ -1,5 +1,10 @@ .. Iterators/Iterator Metafunctions//deref |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + deref ===== diff --git a/doc/src/refmanual/distance.rst b/doc/src/refmanual/distance.rst index 18961d2..3b6c48b 100644 --- a/doc/src/refmanual/distance.rst +++ b/doc/src/refmanual/distance.rst @@ -1,5 +1,10 @@ .. Iterators/Iterator Metafunctions//distance |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + distance ======== diff --git a/doc/src/refmanual/divides.rst b/doc/src/refmanual/divides.rst index c6d1736..92eb250 100644 --- a/doc/src/refmanual/divides.rst +++ b/doc/src/refmanual/divides.rst @@ -1,5 +1,10 @@ .. Metafunctions/Arithmetic Operations//divides |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + divides ======= diff --git a/doc/src/refmanual/empty.rst b/doc/src/refmanual/empty.rst index c9b65a7..c8e78d0 100644 --- a/doc/src/refmanual/empty.rst +++ b/doc/src/refmanual/empty.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//empty +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + empty ===== diff --git a/doc/src/refmanual/empty_base.rst b/doc/src/refmanual/empty_base.rst index cdb2e40..eee82b5 100644 --- a/doc/src/refmanual/empty_base.rst +++ b/doc/src/refmanual/empty_base.rst @@ -1,5 +1,10 @@ .. Data Types/Miscellaneous//empty_base |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + empty_base ========== diff --git a/doc/src/refmanual/empty_sequence.rst b/doc/src/refmanual/empty_sequence.rst index 24d6b5d..a0afeb6 100644 --- a/doc/src/refmanual/empty_sequence.rst +++ b/doc/src/refmanual/empty_sequence.rst @@ -1,5 +1,10 @@ .. Sequences/Views//empty_sequence +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + empty_sequence ============== diff --git a/doc/src/refmanual/end.rst b/doc/src/refmanual/end.rst index 5d184e0..33a8775 100644 --- a/doc/src/refmanual/end.rst +++ b/doc/src/refmanual/end.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//end +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + end === diff --git a/doc/src/refmanual/equal.rst b/doc/src/refmanual/equal.rst index 2a46203..6851dd8 100644 --- a/doc/src/refmanual/equal.rst +++ b/doc/src/refmanual/equal.rst @@ -1,5 +1,10 @@ .. Algorithms/Querying Algorithms//equal |100 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + equal ===== diff --git a/doc/src/refmanual/equal_to.rst b/doc/src/refmanual/equal_to.rst index 49fad65..3482564 100644 --- a/doc/src/refmanual/equal_to.rst +++ b/doc/src/refmanual/equal_to.rst @@ -1,5 +1,10 @@ .. Metafunctions/Comparisons//equal_to |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + equal_to ======== diff --git a/doc/src/refmanual/erase.rst b/doc/src/refmanual/erase.rst index 78047a4..cf1f215 100644 --- a/doc/src/refmanual/erase.rst +++ b/doc/src/refmanual/erase.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//erase +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + erase ===== diff --git a/doc/src/refmanual/erase_key.rst b/doc/src/refmanual/erase_key.rst index 67d1e66..178d767 100644 --- a/doc/src/refmanual/erase_key.rst +++ b/doc/src/refmanual/erase_key.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//erase_key +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + erase_key ========= diff --git a/doc/src/refmanual/eval_if.rst b/doc/src/refmanual/eval_if.rst index d4bf51d..efd35dc 100644 --- a/doc/src/refmanual/eval_if.rst +++ b/doc/src/refmanual/eval_if.rst @@ -1,5 +1,10 @@ .. Metafunctions/Type Selection//eval_if |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + eval_if ======= diff --git a/doc/src/refmanual/eval_if_c.rst b/doc/src/refmanual/eval_if_c.rst index a7b2564..bf82b3b 100644 --- a/doc/src/refmanual/eval_if_c.rst +++ b/doc/src/refmanual/eval_if_c.rst @@ -1,5 +1,10 @@ .. Metafunctions/Type Selection//eval_if_c |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + eval_if_c ========= diff --git a/doc/src/refmanual/filter_view.rst b/doc/src/refmanual/filter_view.rst index 948551b..fcf0d52 100644 --- a/doc/src/refmanual/filter_view.rst +++ b/doc/src/refmanual/filter_view.rst @@ -1,5 +1,10 @@ .. Sequences/Views//filter_view +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + filter_view =========== diff --git a/doc/src/refmanual/find.rst b/doc/src/refmanual/find.rst index c5c6f09..4f9cf30 100644 --- a/doc/src/refmanual/find.rst +++ b/doc/src/refmanual/find.rst @@ -1,5 +1,10 @@ .. Algorithms/Querying Algorithms//find |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + find ==== diff --git a/doc/src/refmanual/find_if.rst b/doc/src/refmanual/find_if.rst index ffbe23b..63e66f9 100644 --- a/doc/src/refmanual/find_if.rst +++ b/doc/src/refmanual/find_if.rst @@ -1,5 +1,10 @@ .. Algorithms/Querying Algorithms//find_if |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + find_if ======= diff --git a/doc/src/refmanual/fold.rst b/doc/src/refmanual/fold.rst index 188ad36..01e576b 100644 --- a/doc/src/refmanual/fold.rst +++ b/doc/src/refmanual/fold.rst @@ -1,5 +1,10 @@ .. Algorithms/Iteration Algorithms//fold +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + fold ==== diff --git a/doc/src/refmanual/for_each.rst b/doc/src/refmanual/for_each.rst index 6978166..ba54644 100644 --- a/doc/src/refmanual/for_each.rst +++ b/doc/src/refmanual/for_each.rst @@ -1,5 +1,10 @@ .. Algorithms/Runtime Algorithms//for_each |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + for_each ======== diff --git a/doc/src/refmanual/front.rst b/doc/src/refmanual/front.rst index fd7da0e..c22759a 100644 --- a/doc/src/refmanual/front.rst +++ b/doc/src/refmanual/front.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//front +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + front ===== diff --git a/doc/src/refmanual/front_inserter.rst b/doc/src/refmanual/front_inserter.rst index faecc4b..3bd4e14 100644 --- a/doc/src/refmanual/front_inserter.rst +++ b/doc/src/refmanual/front_inserter.rst @@ -1,5 +1,10 @@ .. Algorithms/Inserters//front_inserter +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + front_inserter ============== diff --git a/doc/src/refmanual/greater.rst b/doc/src/refmanual/greater.rst index cf068a0..10188cf 100644 --- a/doc/src/refmanual/greater.rst +++ b/doc/src/refmanual/greater.rst @@ -1,5 +1,10 @@ .. Metafunctions/Comparisons//greater |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + greater ======= diff --git a/doc/src/refmanual/greater_equal.rst b/doc/src/refmanual/greater_equal.rst index 3115b78..3e9b084 100644 --- a/doc/src/refmanual/greater_equal.rst +++ b/doc/src/refmanual/greater_equal.rst @@ -1,5 +1,10 @@ .. Metafunctions/Comparisons//greater_equal |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + greater_equal ============= diff --git a/doc/src/refmanual/has_key.rst b/doc/src/refmanual/has_key.rst index dcbde82..03a6c54 100644 --- a/doc/src/refmanual/has_key.rst +++ b/doc/src/refmanual/has_key.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//has_key +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + has_key ======= diff --git a/doc/src/refmanual/identity.rst b/doc/src/refmanual/identity.rst index b56718b..ba7b5e6 100644 --- a/doc/src/refmanual/identity.rst +++ b/doc/src/refmanual/identity.rst @@ -1,5 +1,10 @@ .. Metafunctions/Miscellaneous//identity |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + identity ======== diff --git a/doc/src/refmanual/if_.rst b/doc/src/refmanual/if_.rst index 85330b8..f57b235 100644 --- a/doc/src/refmanual/if_.rst +++ b/doc/src/refmanual/if_.rst @@ -1,5 +1,10 @@ .. Metafunctions/Type Selection//if_ |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + if\_ ==== @@ -76,6 +81,23 @@ Example BOOST_MPL_ASSERT(( is_same )); +.. parsed-literal:: + + // allocates space for an object of class T on heap or "inplace" + // depending on its size + template< typename T > struct lightweight + { + // ... + typedef typename if\_< + less_equal< sizeof\_, sizeof\_ > + , inplace_storage + , heap_storage + >::type impl_t; + + impl_t impl; + }; + + See also -------- diff --git a/doc/src/refmanual/if_c.rst b/doc/src/refmanual/if_c.rst index bdacdd9..bb0f264 100644 --- a/doc/src/refmanual/if_c.rst +++ b/doc/src/refmanual/if_c.rst @@ -1,5 +1,10 @@ .. Metafunctions/Type Selection//if_c |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + if_c ==== @@ -77,6 +82,23 @@ Example BOOST_MPL_ASSERT(( is_same )); +.. parsed-literal:: + + // allocates space for an object of class T on heap or "inplace" + // depending on its size + template< typename T > struct lightweight + { + // ... + typedef typename if_c< + sizeof(T) <= sizeof(T*) + , inplace_storage + , heap_storage + >::type impl_t; + + impl_t impl; + }; + + See also -------- diff --git a/doc/src/refmanual/inherit.rst b/doc/src/refmanual/inherit.rst index f8efa44..bee2496 100644 --- a/doc/src/refmanual/inherit.rst +++ b/doc/src/refmanual/inherit.rst @@ -1,5 +1,10 @@ .. Metafunctions/Miscellaneous//inherit |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + inherit ======= diff --git a/doc/src/refmanual/inherit_linearly.rst b/doc/src/refmanual/inherit_linearly.rst index 453b286..1fc48e0 100644 --- a/doc/src/refmanual/inherit_linearly.rst +++ b/doc/src/refmanual/inherit_linearly.rst @@ -1,5 +1,10 @@ .. Metafunctions/Miscellaneous//inherit_linearly |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + inherit_linearly ================ diff --git a/doc/src/refmanual/insert.rst b/doc/src/refmanual/insert.rst index 3330aae..ddb6689 100644 --- a/doc/src/refmanual/insert.rst +++ b/doc/src/refmanual/insert.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//insert +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + insert ====== diff --git a/doc/src/refmanual/insert_range.rst b/doc/src/refmanual/insert_range.rst index 8e93cef..62b99c6 100644 --- a/doc/src/refmanual/insert_range.rst +++ b/doc/src/refmanual/insert_range.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//insert_range +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + insert_range ============ diff --git a/doc/src/refmanual/inserter_.rst b/doc/src/refmanual/inserter_.rst index 11216fe..812fd7c 100644 --- a/doc/src/refmanual/inserter_.rst +++ b/doc/src/refmanual/inserter_.rst @@ -1,5 +1,10 @@ .. Algorithms/Inserters//inserter +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + |+inserter+| ================ diff --git a/doc/src/refmanual/int_.rst b/doc/src/refmanual/int_.rst index 96d4c25..7b1be09 100644 --- a/doc/src/refmanual/int_.rst +++ b/doc/src/refmanual/int_.rst @@ -1,5 +1,10 @@ .. Data Types/Numeric//int_ |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + int\_ ===== diff --git a/doc/src/refmanual/integral_c.rst b/doc/src/refmanual/integral_c.rst index 34470e9..f829f5b 100644 --- a/doc/src/refmanual/integral_c.rst +++ b/doc/src/refmanual/integral_c.rst @@ -1,5 +1,10 @@ .. Data Types/Numeric//integral_c |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + integral_c ========== diff --git a/doc/src/refmanual/is_sequence.rst b/doc/src/refmanual/is_sequence.rst index b044636..5898631 100644 --- a/doc/src/refmanual/is_sequence.rst +++ b/doc/src/refmanual/is_sequence.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//is_sequence +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + is_sequence =========== diff --git a/doc/src/refmanual/iter_fold.rst b/doc/src/refmanual/iter_fold.rst index 871c51d..3948209 100644 --- a/doc/src/refmanual/iter_fold.rst +++ b/doc/src/refmanual/iter_fold.rst @@ -1,5 +1,10 @@ .. Algorithms/Iteration Algorithms//iter_fold +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + iter_fold ========= diff --git a/doc/src/refmanual/iter_fold_if.rst b/doc/src/refmanual/iter_fold_if.rst index 2d01084..e2abb9d 100644 --- a/doc/src/refmanual/iter_fold_if.rst +++ b/doc/src/refmanual/iter_fold_if.rst @@ -1,5 +1,10 @@ .. .. Algorithms/Iteration Algorithms +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + iter_fold_if ============ diff --git a/doc/src/refmanual/iterator_category.rst b/doc/src/refmanual/iterator_category.rst index 5b10d0d..9c865cd 100644 --- a/doc/src/refmanual/iterator_category.rst +++ b/doc/src/refmanual/iterator_category.rst @@ -1,5 +1,10 @@ .. Iterators/Iterator Metafunctions//iterator_category |60 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + iterator_category ================= diff --git a/doc/src/refmanual/iterator_range.rst b/doc/src/refmanual/iterator_range.rst index 9799764..9a318bb 100644 --- a/doc/src/refmanual/iterator_range.rst +++ b/doc/src/refmanual/iterator_range.rst @@ -1,5 +1,10 @@ .. Sequences/Views//iterator_range +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + iterator_range ============== diff --git a/doc/src/refmanual/joint_view.rst b/doc/src/refmanual/joint_view.rst index c69b1bb..3843da1 100644 --- a/doc/src/refmanual/joint_view.rst +++ b/doc/src/refmanual/joint_view.rst @@ -1,5 +1,10 @@ .. Sequences/Views//joint_view +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + joint_view ========== diff --git a/doc/src/refmanual/key_type.rst b/doc/src/refmanual/key_type.rst index 265b443..860e50d 100644 --- a/doc/src/refmanual/key_type.rst +++ b/doc/src/refmanual/key_type.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//key_type +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + key_type ======== diff --git a/doc/src/refmanual/lambda.rst b/doc/src/refmanual/lambda.rst index 762b85b..bb44cc2 100644 --- a/doc/src/refmanual/lambda.rst +++ b/doc/src/refmanual/lambda.rst @@ -1,5 +1,10 @@ .. Metafunctions/Composition and Argument Binding//lambda |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + lambda ====== diff --git a/doc/src/refmanual/less.rst b/doc/src/refmanual/less.rst index 9e6d8f5..77b2d18 100644 --- a/doc/src/refmanual/less.rst +++ b/doc/src/refmanual/less.rst @@ -1,5 +1,10 @@ .. Metafunctions/Comparisons//less |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + less ==== diff --git a/doc/src/refmanual/less_equal.rst b/doc/src/refmanual/less_equal.rst index 834a9cb..28523ab 100644 --- a/doc/src/refmanual/less_equal.rst +++ b/doc/src/refmanual/less_equal.rst @@ -1,5 +1,10 @@ .. Metafunctions/Comparisons//less_equal |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + less_equal ========== diff --git a/doc/src/refmanual/list.rst b/doc/src/refmanual/list.rst index 5428838..65e4405 100644 --- a/doc/src/refmanual/list.rst +++ b/doc/src/refmanual/list.rst @@ -1,5 +1,10 @@ .. Sequences/Classes//list |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + list ==== diff --git a/doc/src/refmanual/list_c.rst b/doc/src/refmanual/list_c.rst index df7ff48..1866d1c 100644 --- a/doc/src/refmanual/list_c.rst +++ b/doc/src/refmanual/list_c.rst @@ -1,5 +1,10 @@ .. Sequences/Classes//list_c |80 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + list_c ====== diff --git a/doc/src/refmanual/long_.rst b/doc/src/refmanual/long_.rst index cf3567d..20cb780 100644 --- a/doc/src/refmanual/long_.rst +++ b/doc/src/refmanual/long_.rst @@ -1,5 +1,10 @@ .. Data Types/Numeric//long_ |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + long\_ ====== diff --git a/doc/src/refmanual/lower_bound.rst b/doc/src/refmanual/lower_bound.rst index d3f417f..a3b956b 100644 --- a/doc/src/refmanual/lower_bound.rst +++ b/doc/src/refmanual/lower_bound.rst @@ -1,5 +1,10 @@ .. Algorithms/Querying Algorithms//lower_bound |60 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + lower_bound =========== diff --git a/doc/src/refmanual/map.rst b/doc/src/refmanual/map.rst index 40add41..5cdd911 100644 --- a/doc/src/refmanual/map.rst +++ b/doc/src/refmanual/map.rst @@ -1,5 +1,10 @@ .. Sequences/Classes//map |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + map === diff --git a/doc/src/refmanual/max.rst b/doc/src/refmanual/max.rst index d65692b..4a67ced 100644 --- a/doc/src/refmanual/max.rst +++ b/doc/src/refmanual/max.rst @@ -1,5 +1,10 @@ .. Metafunctions/Miscellaneous//max |90 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + max === diff --git a/doc/src/refmanual/max_element.rst b/doc/src/refmanual/max_element.rst index 7497065..bddad5e 100644 --- a/doc/src/refmanual/max_element.rst +++ b/doc/src/refmanual/max_element.rst @@ -1,5 +1,10 @@ .. Algorithms/Querying Algorithms//max_element |90 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + max_element =========== diff --git a/doc/src/refmanual/min.rst b/doc/src/refmanual/min.rst index 38e5559..9fb93ea 100644 --- a/doc/src/refmanual/min.rst +++ b/doc/src/refmanual/min.rst @@ -1,5 +1,10 @@ .. Metafunctions/Miscellaneous//min |80 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + min === diff --git a/doc/src/refmanual/min_element.rst b/doc/src/refmanual/min_element.rst index 38be095..c2b4ae3 100644 --- a/doc/src/refmanual/min_element.rst +++ b/doc/src/refmanual/min_element.rst @@ -1,5 +1,10 @@ .. Algorithms/Querying Algorithms//min_element |80 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + min_element =========== diff --git a/doc/src/refmanual/minus.rst b/doc/src/refmanual/minus.rst index 7a1a9d3..2d3adc6 100644 --- a/doc/src/refmanual/minus.rst +++ b/doc/src/refmanual/minus.rst @@ -1,5 +1,10 @@ .. Metafunctions/Arithmetic Operations//minus |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + minus ===== diff --git a/doc/src/refmanual/modulus.rst b/doc/src/refmanual/modulus.rst index 3662c99..d1e2689 100644 --- a/doc/src/refmanual/modulus.rst +++ b/doc/src/refmanual/modulus.rst @@ -1,5 +1,10 @@ .. Metafunctions/Arithmetic Operations//modulus |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + modulus ======= diff --git a/doc/src/refmanual/multiplies.rst b/doc/src/refmanual/multiplies.rst index 0521fac..2d92cf6 100644 --- a/doc/src/refmanual/multiplies.rst +++ b/doc/src/refmanual/multiplies.rst @@ -1,5 +1,10 @@ .. Metafunctions/Arithmetic Operations/multiplies |70 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + multiplies ========== diff --git a/doc/src/refmanual/negate.rst b/doc/src/refmanual/negate.rst index c80bd04..7b5e347 100644 --- a/doc/src/refmanual/negate.rst +++ b/doc/src/refmanual/negate.rst @@ -1,5 +1,10 @@ .. Metafunctions/Arithmetic Operations//negate |60 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + negate ====== diff --git a/doc/src/refmanual/next.rst b/doc/src/refmanual/next.rst index 5eaa7de..ed121e9 100644 --- a/doc/src/refmanual/next.rst +++ b/doc/src/refmanual/next.rst @@ -1,5 +1,10 @@ .. Iterators/Iterator Metafunctions//next |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + next ==== diff --git a/doc/src/refmanual/not_.rst b/doc/src/refmanual/not_.rst index e19aa2e..d3cc7eb 100644 --- a/doc/src/refmanual/not_.rst +++ b/doc/src/refmanual/not_.rst @@ -1,5 +1,10 @@ .. Metafunctions/Logical Operations//not_ |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + not\_ ===== diff --git a/doc/src/refmanual/not_equal_to.rst b/doc/src/refmanual/not_equal_to.rst index e536d21..4f199b9 100644 --- a/doc/src/refmanual/not_equal_to.rst +++ b/doc/src/refmanual/not_equal_to.rst @@ -1,5 +1,10 @@ .. Metafunctions/Comparisons//not_equal_to |60 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + not_equal_to ============ diff --git a/doc/src/refmanual/numeric_cast.rst b/doc/src/refmanual/numeric_cast.rst index 13d76ad..5b6065f 100644 --- a/doc/src/refmanual/numeric_cast.rst +++ b/doc/src/refmanual/numeric_cast.rst @@ -1,5 +1,10 @@ .. Metafunctions/Miscellaneous//numeric_cast |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + numeric_cast ============ diff --git a/doc/src/refmanual/or_.rst b/doc/src/refmanual/or_.rst index 52db961..c80d0e8 100644 --- a/doc/src/refmanual/or_.rst +++ b/doc/src/refmanual/or_.rst @@ -1,5 +1,10 @@ .. Metafunctions/Logical Operations//or_ |20 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + or\_ ==== diff --git a/doc/src/refmanual/order.rst b/doc/src/refmanual/order.rst index 1bb4da6..f91903d 100644 --- a/doc/src/refmanual/order.rst +++ b/doc/src/refmanual/order.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//order +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + order ===== diff --git a/doc/src/refmanual/pair.rst b/doc/src/refmanual/pair.rst index d22b3d8..dc77f4c 100644 --- a/doc/src/refmanual/pair.rst +++ b/doc/src/refmanual/pair.rst @@ -1,5 +1,10 @@ .. Data Types/Miscellaneous//pair |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + pair ==== diff --git a/doc/src/refmanual/partition.rst b/doc/src/refmanual/partition.rst index ee53648..f3df6ef 100644 --- a/doc/src/refmanual/partition.rst +++ b/doc/src/refmanual/partition.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//partition |85 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + partition ========= diff --git a/doc/src/refmanual/plus.rst b/doc/src/refmanual/plus.rst index a58e71b..e8ec108 100644 --- a/doc/src/refmanual/plus.rst +++ b/doc/src/refmanual/plus.rst @@ -1,5 +1,10 @@ .. Metafunctions/Arithmetic Operations//plus |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + plus ==== diff --git a/doc/src/refmanual/pop_back.rst b/doc/src/refmanual/pop_back.rst index 0e5253c..d5709b7 100644 --- a/doc/src/refmanual/pop_back.rst +++ b/doc/src/refmanual/pop_back.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//pop_back +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + pop_back ======== diff --git a/doc/src/refmanual/pop_front.rst b/doc/src/refmanual/pop_front.rst index a7d294c..16d3ab2 100644 --- a/doc/src/refmanual/pop_front.rst +++ b/doc/src/refmanual/pop_front.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//pop_front +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + pop_front ========= diff --git a/doc/src/refmanual/preface.rst b/doc/src/refmanual/preface.rst index b3b23b0..b0ffbea 100644 --- a/doc/src/refmanual/preface.rst +++ b/doc/src/refmanual/preface.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) * use of "returns" * [Metafunction Class] form ('f<>') * nested 'algo' namespace??? it becomes a problem as soon as users would diff --git a/doc/src/refmanual/prior.rst b/doc/src/refmanual/prior.rst index 27efb97..84248a1 100644 --- a/doc/src/refmanual/prior.rst +++ b/doc/src/refmanual/prior.rst @@ -1,5 +1,10 @@ .. Iterators/Iterator Metafunctions//prior |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + prior ===== diff --git a/doc/src/refmanual/protect.rst b/doc/src/refmanual/protect.rst index 3a28ff5..1ec7c18 100644 --- a/doc/src/refmanual/protect.rst +++ b/doc/src/refmanual/protect.rst @@ -1,5 +1,10 @@ .. Metafunctions/Composition and Argument Binding//protect |60 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + protect ======= diff --git a/doc/src/refmanual/push_back.rst b/doc/src/refmanual/push_back.rst index 1d5af39..2ba2d11 100644 --- a/doc/src/refmanual/push_back.rst +++ b/doc/src/refmanual/push_back.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//push_back +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + push_back ========= diff --git a/doc/src/refmanual/push_front.rst b/doc/src/refmanual/push_front.rst index aa55130..43a756b 100644 --- a/doc/src/refmanual/push_front.rst +++ b/doc/src/refmanual/push_front.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//push_front +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + push_front ========== diff --git a/doc/src/refmanual/quote.rst b/doc/src/refmanual/quote.rst index b698c4a..48a8397 100644 --- a/doc/src/refmanual/quote.rst +++ b/doc/src/refmanual/quote.rst @@ -1,5 +1,10 @@ .. Metafunctions/Composition and Argument Binding//quote |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + quote ===== diff --git a/doc/src/refmanual/range_c.rst b/doc/src/refmanual/range_c.rst index 6636bf4..0f8b974 100644 --- a/doc/src/refmanual/range_c.rst +++ b/doc/src/refmanual/range_c.rst @@ -1,5 +1,10 @@ .. Sequences/Classes//range_c |60 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + range_c ======= diff --git a/doc/src/refmanual/refmanual.rst b/doc/src/refmanual/refmanual.rst index 7e32004..7a66b45 100644 --- a/doc/src/refmanual/refmanual.rst +++ b/doc/src/refmanual/refmanual.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) The MPL Reference Manual ************************ diff --git a/doc/src/refmanual/remove.rst b/doc/src/refmanual/remove.rst index 22a714b..b571bc8 100644 --- a/doc/src/refmanual/remove.rst +++ b/doc/src/refmanual/remove.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//remove |60 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + remove ====== diff --git a/doc/src/refmanual/remove_if.rst b/doc/src/refmanual/remove_if.rst index 452b0ef..904ff62 100644 --- a/doc/src/refmanual/remove_if.rst +++ b/doc/src/refmanual/remove_if.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//remove_if |70 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + remove_if ========= diff --git a/doc/src/refmanual/replace.rst b/doc/src/refmanual/replace.rst index f14df35..310845b 100644 --- a/doc/src/refmanual/replace.rst +++ b/doc/src/refmanual/replace.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//replace |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + replace ======= diff --git a/doc/src/refmanual/replace_if.rst b/doc/src/refmanual/replace_if.rst index a647153..e00e5b6 100644 --- a/doc/src/refmanual/replace_if.rst +++ b/doc/src/refmanual/replace_if.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//replace_if |50 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + replace_if ========== diff --git a/doc/src/refmanual/reverse.rst b/doc/src/refmanual/reverse.rst index e7ab4d5..8cef911 100644 --- a/doc/src/refmanual/reverse.rst +++ b/doc/src/refmanual/reverse.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse |100 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse ======= diff --git a/doc/src/refmanual/reverse_copy.rst b/doc/src/refmanual/reverse_copy.rst index 78fbdd7..c6287e0 100644 --- a/doc/src/refmanual/reverse_copy.rst +++ b/doc/src/refmanual/reverse_copy.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse_copy |110 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_copy ============ diff --git a/doc/src/refmanual/reverse_copy_if.rst b/doc/src/refmanual/reverse_copy_if.rst index 3d35282..94cdea5 100644 --- a/doc/src/refmanual/reverse_copy_if.rst +++ b/doc/src/refmanual/reverse_copy_if.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse_copy_if |120 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_copy_if =============== diff --git a/doc/src/refmanual/reverse_fold.rst b/doc/src/refmanual/reverse_fold.rst index 3e07b83..eb47644 100644 --- a/doc/src/refmanual/reverse_fold.rst +++ b/doc/src/refmanual/reverse_fold.rst @@ -1,5 +1,10 @@ .. Algorithms/Iteration Algorithms//reverse_fold +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_fold ============ diff --git a/doc/src/refmanual/reverse_iter_fold.rst b/doc/src/refmanual/reverse_iter_fold.rst index 5b467cd..b2c99c7 100644 --- a/doc/src/refmanual/reverse_iter_fold.rst +++ b/doc/src/refmanual/reverse_iter_fold.rst @@ -1,5 +1,10 @@ .. Algorithms/Iteration Algorithms//reverse_iter_fold +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_iter_fold ================= diff --git a/doc/src/refmanual/reverse_partition.rst b/doc/src/refmanual/reverse_partition.rst index 913432e..ab29d94 100644 --- a/doc/src/refmanual/reverse_partition.rst +++ b/doc/src/refmanual/reverse_partition.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse_partition |185 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_partition ================= diff --git a/doc/src/refmanual/reverse_remove.rst b/doc/src/refmanual/reverse_remove.rst index 3ce2d5f..518efb3 100644 --- a/doc/src/refmanual/reverse_remove.rst +++ b/doc/src/refmanual/reverse_remove.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse_remove |160 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_remove ============== diff --git a/doc/src/refmanual/reverse_remove_if.rst b/doc/src/refmanual/reverse_remove_if.rst index 4e87fd9..990e833 100644 --- a/doc/src/refmanual/reverse_remove_if.rst +++ b/doc/src/refmanual/reverse_remove_if.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse_remove_if |170 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_remove_if ================= diff --git a/doc/src/refmanual/reverse_replace.rst b/doc/src/refmanual/reverse_replace.rst index 8977765..285058e 100644 --- a/doc/src/refmanual/reverse_replace.rst +++ b/doc/src/refmanual/reverse_replace.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse_replace |140 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_replace =============== diff --git a/doc/src/refmanual/reverse_replace_if.rst b/doc/src/refmanual/reverse_replace_if.rst index 601137e..570f564 100644 --- a/doc/src/refmanual/reverse_replace_if.rst +++ b/doc/src/refmanual/reverse_replace_if.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse_replace_if |150 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_replace_if ================== diff --git a/doc/src/refmanual/reverse_stable_partition.rst b/doc/src/refmanual/reverse_stable_partition.rst index c388651..8fa7fe8 100644 --- a/doc/src/refmanual/reverse_stable_partition.rst +++ b/doc/src/refmanual/reverse_stable_partition.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse_stable_partition |190 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_stable_partition ======================== diff --git a/doc/src/refmanual/reverse_transform.rst b/doc/src/refmanual/reverse_transform.rst index aff7149..da0d339 100644 --- a/doc/src/refmanual/reverse_transform.rst +++ b/doc/src/refmanual/reverse_transform.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse_transform |130 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_transform ================= diff --git a/doc/src/refmanual/reverse_unique.rst b/doc/src/refmanual/reverse_unique.rst index cdfb0e1..4c2425d 100644 --- a/doc/src/refmanual/reverse_unique.rst +++ b/doc/src/refmanual/reverse_unique.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//reverse_unique |180 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + reverse_unique ============== diff --git a/doc/src/refmanual/sequence_tag.rst b/doc/src/refmanual/sequence_tag.rst index e7f06a4..f37800a 100644 --- a/doc/src/refmanual/sequence_tag.rst +++ b/doc/src/refmanual/sequence_tag.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//sequence_tag +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + sequence_tag ============ diff --git a/doc/src/refmanual/set.rst b/doc/src/refmanual/set.rst index 0238ba0..8142883 100644 --- a/doc/src/refmanual/set.rst +++ b/doc/src/refmanual/set.rst @@ -1,5 +1,10 @@ .. Sequences/Classes//set |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + set === diff --git a/doc/src/refmanual/set_c.rst b/doc/src/refmanual/set_c.rst index 53cd704..c99f952 100644 --- a/doc/src/refmanual/set_c.rst +++ b/doc/src/refmanual/set_c.rst @@ -1,5 +1,10 @@ .. Sequences/Classes//set_c |90 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + set_c ===== diff --git a/doc/src/refmanual/shift_left.rst b/doc/src/refmanual/shift_left.rst index af967db..3352ef9 100644 --- a/doc/src/refmanual/shift_left.rst +++ b/doc/src/refmanual/shift_left.rst @@ -1,5 +1,10 @@ .. Metafunctions/Bitwise Operations//shift_left +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + shift_left ========== diff --git a/doc/src/refmanual/shift_right.rst b/doc/src/refmanual/shift_right.rst index 49abdec..6178542 100644 --- a/doc/src/refmanual/shift_right.rst +++ b/doc/src/refmanual/shift_right.rst @@ -1,5 +1,10 @@ .. Metafunctions/Bitwise Operations//shift_right +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + shift_right =========== diff --git a/doc/src/refmanual/single_view.rst b/doc/src/refmanual/single_view.rst index 28c3450..8a0314d 100644 --- a/doc/src/refmanual/single_view.rst +++ b/doc/src/refmanual/single_view.rst @@ -1,5 +1,10 @@ .. Sequences/Views//single_view +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + single_view =========== diff --git a/doc/src/refmanual/size.rst b/doc/src/refmanual/size.rst index 6f88fa9..10cc4ef 100644 --- a/doc/src/refmanual/size.rst +++ b/doc/src/refmanual/size.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//size +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + size ==== diff --git a/doc/src/refmanual/size_t.rst b/doc/src/refmanual/size_t.rst index d6dfd2d..3f6795d 100644 --- a/doc/src/refmanual/size_t.rst +++ b/doc/src/refmanual/size_t.rst @@ -1,5 +1,10 @@ .. Data Types/Numeric//size_t |40 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + size_t ====== diff --git a/doc/src/refmanual/sizeof_.rst b/doc/src/refmanual/sizeof_.rst index 4c6fda8..48d3478 100644 --- a/doc/src/refmanual/sizeof_.rst +++ b/doc/src/refmanual/sizeof_.rst @@ -1,5 +1,10 @@ .. Metafunctions/Miscellaneous//sizeof_ |100 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + sizeof\_ ======== diff --git a/doc/src/refmanual/sort.rst b/doc/src/refmanual/sort.rst index 9b9c68a..877b014 100644 --- a/doc/src/refmanual/sort.rst +++ b/doc/src/refmanual/sort.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//sort |95 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + sort ==== diff --git a/doc/src/refmanual/stable_partition.rst b/doc/src/refmanual/stable_partition.rst index 61d85bc..52036bd 100644 --- a/doc/src/refmanual/stable_partition.rst +++ b/doc/src/refmanual/stable_partition.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//stable_partition |90 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + stable_partition ================ diff --git a/doc/src/refmanual/terminology.rst b/doc/src/refmanual/terminology.rst index c8dd027..3e881f6 100644 --- a/doc/src/refmanual/terminology.rst +++ b/doc/src/refmanual/terminology.rst @@ -1,4 +1,9 @@ + +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) .. _`Overloaded name`: Overloaded name diff --git a/doc/src/refmanual/times.rst b/doc/src/refmanual/times.rst index 6e4ed88..fd983bb 100644 --- a/doc/src/refmanual/times.rst +++ b/doc/src/refmanual/times.rst @@ -1,5 +1,10 @@ .. Metafunctions/Arithmetic Operations//times |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + times ===== diff --git a/doc/src/refmanual/transform.rst b/doc/src/refmanual/transform.rst index cd577af..43a7487 100644 --- a/doc/src/refmanual/transform.rst +++ b/doc/src/refmanual/transform.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//transform |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + transform ========= diff --git a/doc/src/refmanual/transform_view.rst b/doc/src/refmanual/transform_view.rst index 0d735f5..00edd59 100644 --- a/doc/src/refmanual/transform_view.rst +++ b/doc/src/refmanual/transform_view.rst @@ -1,5 +1,10 @@ .. Sequences/Views//transform_view +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + transform_view ============== diff --git a/doc/src/refmanual/unique.rst b/doc/src/refmanual/unique.rst index 80bc551..0af2428 100644 --- a/doc/src/refmanual/unique.rst +++ b/doc/src/refmanual/unique.rst @@ -1,5 +1,10 @@ .. Algorithms/Transformation Algorithms//unique |80 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + unique ====== diff --git a/doc/src/refmanual/unpack_args.rst b/doc/src/refmanual/unpack_args.rst index 6984593..5c0ccd0 100644 --- a/doc/src/refmanual/unpack_args.rst +++ b/doc/src/refmanual/unpack_args.rst @@ -1,5 +1,10 @@ .. Metafunctions/Invocation//unpack_args |30 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + unpack_args =========== diff --git a/doc/src/refmanual/upper_bound.rst b/doc/src/refmanual/upper_bound.rst index df17666..e579a08 100644 --- a/doc/src/refmanual/upper_bound.rst +++ b/doc/src/refmanual/upper_bound.rst @@ -1,5 +1,10 @@ .. Algorithms/Querying Algorithms//upper_bound |70 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + upper_bound =========== diff --git a/doc/src/refmanual/value_type.rst b/doc/src/refmanual/value_type.rst index 7e81658..58694ff 100644 --- a/doc/src/refmanual/value_type.rst +++ b/doc/src/refmanual/value_type.rst @@ -1,5 +1,10 @@ .. Sequences/Intrinsic Metafunctions//value_type +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + value_type ========== diff --git a/doc/src/refmanual/vector.rst b/doc/src/refmanual/vector.rst index 74a1748..a1cb878 100644 --- a/doc/src/refmanual/vector.rst +++ b/doc/src/refmanual/vector.rst @@ -1,5 +1,10 @@ .. Sequences/Classes//vector |10 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + vector ====== diff --git a/doc/src/refmanual/vector_c.rst b/doc/src/refmanual/vector_c.rst index 38b2a9b..eb33b0c 100644 --- a/doc/src/refmanual/vector_c.rst +++ b/doc/src/refmanual/vector_c.rst @@ -1,5 +1,10 @@ .. Sequences/Classes//vector_c |70 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + vector_c ======== diff --git a/doc/src/refmanual/void_.rst b/doc/src/refmanual/void_.rst index b4eacd8..c8fdda7 100644 --- a/doc/src/refmanual/void_.rst +++ b/doc/src/refmanual/void_.rst @@ -1,5 +1,10 @@ .. Data Types/Miscellaneous//void_ |100 +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + void\_ ====== diff --git a/doc/src/refmanual/zip_view.rst b/doc/src/refmanual/zip_view.rst index 5831c41..18e8618 100644 --- a/doc/src/refmanual/zip_view.rst +++ b/doc/src/refmanual/zip_view.rst @@ -1,5 +1,10 @@ .. Sequences/Views//zip_view +.. Copyright Aleksey Gurtovoy, David Abrahams 2007. +.. 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) + zip_view ======== diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 08f0507..71c5727 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -2,6 +2,8 @@ compile aux_/largest_int.cpp ; compile aux_/msvc_is_class.cpp ; compile aux_/template_arity.cpp ; +compile aux_/preprocessor/is_seq.cpp ; +compile aux_/preprocessor/token_equal.cpp ; compile advance.cpp ; compile always.cpp ; diff --git a/test/set.cpp b/test/set.cpp index 9f6ccfa..7e6c381 100644 --- a/test/set.cpp +++ b/test/set.cpp @@ -1,5 +1,5 @@ -// Copyright Aleksey Gurtovoy 2003-2004 +// Copyright Aleksey Gurtovoy 2003-2007 // Copyright David Abrahams 2003-2004 // // Distributed under the Boost Software License, Version 1.0. @@ -13,6 +13,8 @@ // $Revision$ #include +#include +#include #include #include #include @@ -23,89 +25,233 @@ #include #include #include +#include #include #include -#include #include -MPL_TEST_CASE() -{ - typedef s_mask > > > s; +// Use templates for testing so that GCC will show us the actual types involved +template< typename s > +void empty_set_test() +{ + MPL_ASSERT_RELATION( size::value, ==, 0 ); + MPL_ASSERT(( empty )); + + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME clear::type, set0<> > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, void_ > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, void_ > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, void_ > )); + + MPL_ASSERT_NOT(( has_key )); + MPL_ASSERT_NOT(( has_key )); + MPL_ASSERT_NOT(( has_key )); + + typedef BOOST_DEDUCED_TYPENAME order::type o1; + typedef BOOST_DEDUCED_TYPENAME order::type o2; + typedef BOOST_DEDUCED_TYPENAME order::type o3; + MPL_ASSERT(( is_same< o1, void_ > )); + MPL_ASSERT(( is_same< o2, void_ > )); + MPL_ASSERT(( is_same< o3, void_ > )); + + typedef BOOST_DEDUCED_TYPENAME begin::type first; + typedef BOOST_DEDUCED_TYPENAME end::type last; + + MPL_ASSERT(( is_same )); + MPL_ASSERT_RELATION( (distance::value), ==, 0 ); +} + + +template< typename s > +void int_set_test() +{ MPL_ASSERT_RELATION( size::value, ==, 1 ); MPL_ASSERT_NOT(( empty )); - MPL_ASSERT(( is_same< clear::type, set0<> > )); - MPL_ASSERT(( is_same< at::type, int > )); - MPL_ASSERT(( is_same< at::type, void_ > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME clear::type, set0<> > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, int > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, void_ > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, void_ > )); - MPL_ASSERT_NOT(( has_key )); MPL_ASSERT(( has_key )); - MPL_ASSERT_RELATION( (order::value), ==, 3 ); - MPL_ASSERT(( is_same< order::type, void_ > )); + MPL_ASSERT_NOT(( has_key )); + MPL_ASSERT_NOT(( has_key )); + + typedef BOOST_DEDUCED_TYPENAME order::type o1; + typedef BOOST_DEDUCED_TYPENAME order::type o2; + typedef BOOST_DEDUCED_TYPENAME order::type o3; + MPL_ASSERT_NOT(( is_same< o1, void_ > )); + MPL_ASSERT(( is_same< o2, void_ > )); + MPL_ASSERT(( is_same< o3, void_ > )); - typedef begin::type first; - typedef end::type last; + typedef BOOST_DEDUCED_TYPENAME begin::type first; + typedef BOOST_DEDUCED_TYPENAME end::type last; - MPL_ASSERT(( is_same< deref::type, int > )); - MPL_ASSERT(( is_same< next::type, last > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME deref::type, int > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME next::type, last > )); - typedef s_unmask s2; + MPL_ASSERT_RELATION( (distance::value), ==, 1 ); + MPL_ASSERT(( contains< s, int > )); +} - MPL_ASSERT_RELATION( size::value, ==, 2 ); - MPL_ASSERT_NOT(( empty )); - MPL_ASSERT(( is_same::type, set0<> > )); - MPL_ASSERT(( is_same::type, int > )); - MPL_ASSERT(( is_same::type, char > )); - MPL_ASSERT(( has_key )); - MPL_ASSERT_NOT(( has_key )); - MPL_ASSERT_RELATION( (order::value), ==, 3 ); - MPL_ASSERT_RELATION( (order::value), ==, 2 ); +template< typename s > +void int_char_set_test() +{ + MPL_ASSERT_RELATION( size::value, ==, 2 ); + MPL_ASSERT_NOT(( empty )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME clear::type, set0<> > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, int > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, char > )); - typedef begin::type first2; - typedef end::type last2; + MPL_ASSERT(( has_key )); + MPL_ASSERT_NOT(( has_key )); - MPL_ASSERT(( is_same< deref::type, int > )); - typedef next::type iter; - MPL_ASSERT(( is_same< deref::type, char > )); - MPL_ASSERT(( is_same< next::type, last2 > )); + typedef BOOST_DEDUCED_TYPENAME order::type o1; + typedef BOOST_DEDUCED_TYPENAME order::type o2; + typedef BOOST_DEDUCED_TYPENAME order::type o3; + MPL_ASSERT_NOT(( is_same< o1, void_ > )); + MPL_ASSERT_NOT(( is_same< o2, void_ > )); + MPL_ASSERT(( is_same< o3, void_ > )); + MPL_ASSERT_NOT(( is_same< o1, o2 > )); - typedef insert::type s2_1; - MPL_ASSERT(( is_same )); + typedef BOOST_DEDUCED_TYPENAME begin::type first; + typedef BOOST_DEDUCED_TYPENAME end::type last; - typedef insert::type s3; - MPL_ASSERT_RELATION( size::value, ==, 3 ); - MPL_ASSERT(( has_key )); - MPL_ASSERT(( has_key )); - MPL_ASSERT(( has_key )); + MPL_ASSERT_RELATION( (distance::value), ==, 2 ); - typedef insert::type s1; - MPL_ASSERT_RELATION( size::value, ==, 2 ); - MPL_ASSERT(( is_same::type, int > )); - MPL_ASSERT(( is_same::type, char > )); - MPL_ASSERT_NOT(( is_same )); + MPL_ASSERT(( contains< s, int > )); + MPL_ASSERT(( contains< s, char > )); +} - typedef erase_key::type s_1; - MPL_ASSERT(( is_same )); - MPL_ASSERT_RELATION( size::value, ==, 1 ); - MPL_ASSERT(( is_same< at::type, void_ > )); - MPL_ASSERT(( is_same< at::type, int > )); - +template< typename s > +void int_char_long_set_test() +{ + MPL_ASSERT_RELATION( size::value, ==, 3 ); + MPL_ASSERT_NOT(( empty )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME clear::type, set0<> > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, int > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, char > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at::type, long > )); + + MPL_ASSERT(( has_key )); + MPL_ASSERT(( has_key )); + MPL_ASSERT(( has_key )); + + typedef BOOST_DEDUCED_TYPENAME order::type o1; + typedef BOOST_DEDUCED_TYPENAME order::type o2; + typedef BOOST_DEDUCED_TYPENAME order::type o3; + MPL_ASSERT_NOT(( is_same< o1, void_ > )); + MPL_ASSERT_NOT(( is_same< o2, void_ > )); + MPL_ASSERT_NOT(( is_same< o3, void_ > )); + MPL_ASSERT_NOT(( is_same< o1, o2 > )); + MPL_ASSERT_NOT(( is_same< o1, o3 > )); + MPL_ASSERT_NOT(( is_same< o2, o3 > )); + + typedef BOOST_DEDUCED_TYPENAME begin::type first; + typedef BOOST_DEDUCED_TYPENAME end::type last; + MPL_ASSERT_RELATION( (distance::value), ==, 3 ); + + MPL_ASSERT(( contains< s, int > )); + MPL_ASSERT(( contains< s, char > )); + MPL_ASSERT(( contains< s, long > )); +} + +template< typename S0, typename S1, typename S2, typename S3 > +void basic_set_test() +{ + empty_set_test(); + empty_set_test< BOOST_DEDUCED_TYPENAME erase_key::type >(); + empty_set_test< BOOST_DEDUCED_TYPENAME erase_key< + BOOST_DEDUCED_TYPENAME erase_key::type + , int + >::type >(); + + empty_set_test< BOOST_DEDUCED_TYPENAME erase_key< + BOOST_DEDUCED_TYPENAME erase_key< + BOOST_DEDUCED_TYPENAME erase_key::type + , long + >::type + , int + >::type >(); + + + int_set_test(); + int_set_test< BOOST_DEDUCED_TYPENAME insert::type >(); + + int_set_test< BOOST_DEDUCED_TYPENAME erase_key::type >(); + int_set_test< BOOST_DEDUCED_TYPENAME erase_key< + BOOST_DEDUCED_TYPENAME erase_key::type + , long + >::type >(); + + int_char_set_test(); + int_char_set_test< BOOST_DEDUCED_TYPENAME insert< + BOOST_DEDUCED_TYPENAME insert::type + , int + >::type >(); + + int_char_set_test< BOOST_DEDUCED_TYPENAME insert::type >(); + int_char_set_test< BOOST_DEDUCED_TYPENAME erase_key::type >(); + + int_char_long_set_test(); + int_char_long_set_test< BOOST_DEDUCED_TYPENAME insert< + BOOST_DEDUCED_TYPENAME insert< + BOOST_DEDUCED_TYPENAME insert::type + , long + >::type + , int + >::type >(); + + int_char_long_set_test< BOOST_DEDUCED_TYPENAME insert< + BOOST_DEDUCED_TYPENAME insert::type + , char + >::type >(); + + int_char_long_set_test< BOOST_DEDUCED_TYPENAME insert::type >(); +} + + +template< typename S1, typename S2 > +void numbered_vs_variadic_set_test() +{ + MPL_ASSERT(( is_same< S1, BOOST_DEDUCED_TYPENAME S1::type > )); + MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME S2::type, S1 > )); } MPL_TEST_CASE() { - typedef set0<> s; - - MPL_ASSERT_RELATION( size::value, ==, 0 ); - MPL_ASSERT(( empty )); - MPL_ASSERT(( is_same< clear::type, set0<> > )); - MPL_ASSERT(( is_same< at::type, void_ > )); + typedef mpl::set0<> s01; + typedef mpl::set<> s02; + typedef mpl::set1 s11; + typedef mpl::set s12; + typedef mpl::set2 s21; + typedef mpl::set s22; + typedef mpl::set s23; + typedef mpl::set3 s31; + typedef mpl::set s32; + typedef mpl::set s33; + typedef mpl::set s34; + numbered_vs_variadic_set_test(); + numbered_vs_variadic_set_test(); + numbered_vs_variadic_set_test(); + numbered_vs_variadic_set_test(); + + basic_set_test(); + basic_set_test(); + basic_set_test(); + basic_set_test(); + basic_set_test(); +} + + +template< typename s > +void empty_set_types_variety_test() +{ MPL_ASSERT_NOT(( has_key )); MPL_ASSERT_NOT(( has_key )); MPL_ASSERT_NOT(( has_key )); @@ -123,27 +269,12 @@ MPL_TEST_CASE() MPL_ASSERT_NOT(( has_key )); MPL_ASSERT_NOT(( has_key )); MPL_ASSERT_NOT(( has_key )); - - typedef insert::type s1; - MPL_ASSERT_RELATION( size::value, ==, 1 ); - MPL_ASSERT(( is_same< at::type, char > )); - - typedef erase_key::type s0_1; - MPL_ASSERT_RELATION( size::value, ==, 0 ); - MPL_ASSERT(( is_same< at::type, void_ > )); } -MPL_TEST_CASE() +template< typename s > +void set_types_variety_test() { - typedef set< - char,int const,long*,UDT* const,incomplete,abstract - , incomplete volatile&,abstract const& - > s; - MPL_ASSERT_RELATION( size::value, ==, 8 ); - MPL_ASSERT_NOT(( empty )); - MPL_ASSERT(( is_same< clear::type, set0<> > )); - MPL_ASSERT(( is_same< at::type, void_ > )); MPL_ASSERT(( has_key )); MPL_ASSERT(( has_key )); @@ -164,9 +295,24 @@ MPL_TEST_CASE() MPL_ASSERT_NOT(( has_key )); } -// Use a template for testing so that GCC will show us the actual types involved + +MPL_TEST_CASE() +{ + empty_set_types_variety_test< set<> >(); + empty_set_types_variety_test< set<>::type >(); + + typedef set< + char,int const,long*,UDT* const,incomplete,abstract + , incomplete volatile&,abstract const& + > s; + + set_types_variety_test(); + set_types_variety_test(); +} + + template -void test() +void find_test() { MPL_ASSERT_RELATION( size::value, ==, 3 ); @@ -179,12 +325,7 @@ void test() MPL_TEST_CASE() { - typedef mpl::set set_of_1_int; - typedef mpl::begin::type iter_to_1_int; - BOOST_MPL_ASSERT(( is_same< deref::type, int > )); - - typedef mpl::set myset; - - test(); - test(); + typedef mpl::set s; + find_test(); + find_test(); }