From 79374ac5091ced0decfea905ea4da82db3cc26d0 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Mon, 3 Dec 2007 00:05:28 +0000 Subject: [PATCH] Regenerate the function_types documentation. [SVN r41606] --- .../boost_functiontypes/about_tag_types.html | 21 ++-- .../boost_functiontypes/acknowledgements.html | 19 ++-- .../boost_functiontypes/introduction.html | 34 +++---- doc/html/boost_functiontypes/rationale.html | 73 +++++++------- doc/html/boost_functiontypes/reference.html | 22 +++-- .../reference/classification.html | 97 +++++++++---------- .../reference/decomposition.html | 56 +++++------ .../boost_functiontypes/reference/macros.html | 89 ++++++++--------- .../reference/synthesis.html | 64 ++++++------ .../reference/tag_types.html | 96 +++++++++--------- doc/html/boost_functiontypes/use_cases.html | 24 +++-- doc/html/index.html | 14 +-- 12 files changed, 315 insertions(+), 294 deletions(-) diff --git a/doc/html/boost_functiontypes/about_tag_types.html b/doc/html/boost_functiontypes/about_tag_types.html index d16c916..2165ea3 100644 --- a/doc/html/boost_functiontypes/about_tag_types.html +++ b/doc/html/boost_functiontypes/about_tag_types.html @@ -1,21 +1,21 @@ - About Tag Types +About Tag Types - + - - + + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -24,7 +24,8 @@
+ About Tag Types +

Boost.FunctionTypes uses tag types to encode properties that are not types per se, such as calling convention or whether a function is variadic or cv- @@ -84,7 +85,11 @@ - +
Copyright © 2004 -2007 Tobias Schwinger


diff --git a/doc/html/boost_functiontypes/acknowledgements.html b/doc/html/boost_functiontypes/acknowledgements.html index 4d335cd..7549d46 100644 --- a/doc/html/boost_functiontypes/acknowledgements.html +++ b/doc/html/boost_functiontypes/acknowledgements.html @@ -1,20 +1,20 @@ - Acknowledgements +Acknowledgements - + - + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -23,7 +23,8 @@
+ Acknowledgements +

Thanks go to the following people for supporting the development of this library in one or the other way: @@ -75,7 +76,11 @@ - +
Copyright © 2004 -2007 Tobias Schwinger


diff --git a/doc/html/boost_functiontypes/introduction.html b/doc/html/boost_functiontypes/introduction.html index 8287622..b8aa936 100644 --- a/doc/html/boost_functiontypes/introduction.html +++ b/doc/html/boost_functiontypes/introduction.html @@ -1,21 +1,21 @@ - Introduction +Introduction - + - + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -24,7 +24,8 @@
+ Introduction +

Boost.FunctionTypes provides functionality to classify, decompose and synthesize function, function pointer, function reference and pointer to member types. @@ -56,35 +57,34 @@ constant called value.

-is_function_pointer< bool(*)(int) >::value // == true 
+is_function_pointer< bool(*)(int) >::value // == true 
 
-function_arity< bool(*)(int) >::value // == 1
+function_arity< bool(*)(int) >::value // == 1
 

Templates that encapsulate properties that are single types contain a type member called type.

-function_type< mpl::vector<bool,int> >::type // is bool(int)
+function_type< mpl::vector<bool,int> >::type // is bool(int)
 
-result_type< bool(&)(int) >::type // is bool
+result_type< bool(&)(int) >::type // is bool
 

Templates that encapsulate properties that are type lists model an MPL-compatible type sequence.

-parameter_types< bool(int) > // models an MPL sequence
+parameter_types< bool(int) > // models an MPL sequence
 
- +
Copyright © 2004 -2007 Tobias Schwinger

diff --git a/doc/html/boost_functiontypes/rationale.html b/doc/html/boost_functiontypes/rationale.html index 475a795..6bca63f 100644 --- a/doc/html/boost_functiontypes/rationale.html +++ b/doc/html/boost_functiontypes/rationale.html @@ -1,21 +1,21 @@ - Rationale +Rationale - + - - + + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -24,12 +24,13 @@
-

- + Rationale +

+

+ Error handling rationale -

+

The library does not define the required members of class templates in case of an error. This technique causes the compiler to stop displaying diagnostics @@ -40,10 +41,10 @@ The library's components have limited error conditions, so problematic input can be spotted easily.

-

- +

+ Why MPL Sequences? -

+

MPL provides algorithms on Sequences, so transformations (such as turning by-value parameter types into const references for optimized forwarding or computing @@ -53,20 +54,20 @@ other Boost libraries (most importantly Fusion), so another reason is interoperability.

-

- +

+ Pointer to member object types -

+

Despite their syntax, pointer to member object types can be seen as dereferencing functionals.

-

- +

+ The ClassTransform template parameter -

+

This-pointer, this-reference or just the object (or maybe even a smart pointer to the object) plus adjustments of @@ -79,10 +80,10 @@ client to adjust the class type before the sequence is formed and then treat all parameters uniformly.

-

- +

+ Why tag types? -

+

Let's consider the alternatives.

@@ -98,12 +99,12 @@ parameters do not work within MPL lambda expressions and can cause problems with older compilers.

-

- +

+ Is it safe to have the synthesis templates take a callable builtin type or an MPL sequence as the first template argument? -

+

Yes, but it isn't immediately obvious as the set of possible MPL sequences isn't inherently disjoint from the set of callable builtin types. @@ -113,25 +114,23 @@ idea, because builtin types are accessible before the headers that make the type a sequence have been included, which can easily violate the ODR.

-

- +

+ Why does the hidden this parameter count for the function arity of member functions? -

+

It was found preferable that the following condition holds:

-mpl::size< parameter_types<T> >::value == function_arity<T>::value
+mpl::size< parameter_types<T> >::value == function_arity<T>::value
 
-

- +

+ Why ignore top-level cv-qualifiers on pointers? -

+

A cv-qualified pointer is still a pointer. It usually doesn't matter and even if it does, it's a job for Boost.TypeTraits. @@ -139,7 +138,11 @@ - +
Copyright © 2004 -2007 Tobias Schwinger


diff --git a/doc/html/boost_functiontypes/reference.html b/doc/html/boost_functiontypes/reference.html index 91fe6f3..b3706ba 100644 --- a/doc/html/boost_functiontypes/reference.html +++ b/doc/html/boost_functiontypes/reference.html @@ -1,22 +1,21 @@ - Reference +Reference - + - - + + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -25,7 +24,8 @@
+ Reference +
Class templates for type classification
@@ -39,7 +39,11 @@
- +
Copyright © 2004 -2007 Tobias Schwinger

diff --git a/doc/html/boost_functiontypes/reference/classification.html b/doc/html/boost_functiontypes/reference/classification.html index 699dae9..e993590 100644 --- a/doc/html/boost_functiontypes/reference/classification.html +++ b/doc/html/boost_functiontypes/reference/classification.html @@ -1,23 +1,21 @@ - Class - templates for type classification +Class templates for type classification - + - - - + + + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -26,9 +24,9 @@
+ Class + templates for type classification +
is_function
@@ -49,12 +47,11 @@
+ + is_function +
-template<typename T, typename Tag = null_tag>
+template<typename T, typename Tag = null_tag>
 struct is_function;
 

@@ -93,12 +90,11 @@

+ + is_function_pointer +
-template<typename T, typename Tag = null_tag>
+template<typename T, typename Tag = null_tag>
 struct is_function_pointer;
 

@@ -137,12 +133,11 @@

+ + is_function_reference +
-template<typename T, typename Tag = null_tag>
+template<typename T, typename Tag = null_tag>
 struct is_function_reference;
 

@@ -181,12 +176,11 @@

+ + is_member_pointer +
-template<typename T, typename Tag = null_tag>
+template<typename T, typename Tag = null_tag>
 struct is_member_pointer;
 

@@ -225,9 +219,9 @@

+ + is_member_object_pointer +
 template<typename T>
 struct is_member_object_pointer;
@@ -263,12 +257,11 @@
 
 
 
-template<typename T, typename Tag = null_tag>
+template<typename T, typename Tag = null_tag>
 struct is_member_function_pointer;
 

@@ -307,12 +300,11 @@

-template<typename T, typename Tag = null_tag>
+template<typename T, typename Tag = null_tag>
 struct is_callable_builtin;
 

@@ -351,12 +343,11 @@

-template<typename T, typename Tag = null_tag>
+template<typename T, typename Tag = null_tag>
 struct is_nonmember_callable_builtin;
 

@@ -397,7 +388,11 @@ - +
Copyright © 2004 -2007 Tobias Schwinger


diff --git a/doc/html/boost_functiontypes/reference/decomposition.html b/doc/html/boost_functiontypes/reference/decomposition.html index bb1b431..dd06329 100644 --- a/doc/html/boost_functiontypes/reference/decomposition.html +++ b/doc/html/boost_functiontypes/reference/decomposition.html @@ -1,24 +1,21 @@ - Class templates - for type decomposition +Class templates for type decomposition - + - - - + + + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -27,9 +24,9 @@
result_type
@@ -42,9 +39,9 @@
 template<typename F>
 struct result_type;
@@ -78,9 +75,9 @@
 
 
 
 template<typename F, class ClassTransform = add_reference<_> >
 struct parameter_types;
@@ -124,9 +121,9 @@
 
 
 
 template<typename F>
 struct function_arity;
@@ -169,9 +166,9 @@
 
 
 
 template<typename T, class ClassTransform = add_reference<_> >
 struct components;
@@ -216,14 +213,17 @@
         

If T is no callable builtin type, the component types - are an empty sequence and the Tag's meaning is equivalent to the null_tag. + are an empty sequence and the Tag's meaning is equivalent to the null_tag.

- +
Copyright © 2004 -2007 Tobias Schwinger

diff --git a/doc/html/boost_functiontypes/reference/macros.html b/doc/html/boost_functiontypes/reference/macros.html index 48cfda6..3f8d850 100644 --- a/doc/html/boost_functiontypes/reference/macros.html +++ b/doc/html/boost_functiontypes/reference/macros.html @@ -1,21 +1,21 @@ - Macros +Macros - + - - - + + + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -24,7 +24,8 @@
BOOST_FT_MAX_ARITY
@@ -47,9 +48,9 @@

Expands to a numeric value that describes the maximum function arity supported by the library. @@ -66,17 +67,16 @@

Expands to a sequence of ternary tuples (these data types are defined in the documentation of the Boost Preprocessor library). Each sequence element describes one calling convention specifier. The first element in each tuple is the - macro suffix for BOOST_FT_CC_*, + macro suffix for BOOST_FT_CC_*, the second element is the name of the tag that describes the calling convention and the third is the name of the specifier. The specifier is allowed to be an empty string, so the third tuple element is either BOOST_PP_EMPTY @@ -106,15 +106,13 @@

Enables a specific calling convention. * dentoes the macro suffix, as defined - by BOOST_FT_CC_NAMES - or BOOST_FT_BUILTIN_CC_NAMES. + by BOOST_FT_CC_NAMES + or BOOST_FT_BUILTIN_CC_NAMES.

The macro expands to a list of restrictions, separated by the | @@ -149,9 +147,9 @@

Defining this macro causes the following macros to be defined, if not defined already: @@ -164,9 +162,9 @@

This macro allows to change the syntax of callable builtin types. It is useful to handle the compiler specific placement of the calling convention @@ -182,9 +180,9 @@

Set to void for compilers that insist on a void parameter for nullary function types, empty by default. @@ -192,9 +190,9 @@

Disables support for cv-qualified function types. Cv-qualified function types are illegal by the current standard version, but there is a pending @@ -209,9 +207,9 @@

Makes the compiler preprocess as much as possible of the library code (rather than loading already-preprocessed header files) if defined. @@ -219,24 +217,27 @@

Makes the compiler preprocess the loop over possible names for custom calling conventions (rather than loading an already-preprocessed header file) if defined.

- This macro is defined automatically if BOOST_FT_CC_NAMES + This macro is defined automatically if BOOST_FT_CC_NAMES has been defined.

- +
Copyright © 2004 -2007 Tobias Schwinger

diff --git a/doc/html/boost_functiontypes/reference/synthesis.html b/doc/html/boost_functiontypes/reference/synthesis.html index f1bed9f..ab34f7e 100644 --- a/doc/html/boost_functiontypes/reference/synthesis.html +++ b/doc/html/boost_functiontypes/reference/synthesis.html @@ -1,23 +1,21 @@ - Class templates - for type synthesis +Class templates for type synthesis - + - - - + + + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -26,9 +24,9 @@
function_type
@@ -41,12 +39,11 @@
-template<typename Types, typename Tag = null_tag> 
+template<typename Types, typename Tag = null_tag> 
 struct function_type;
 

@@ -84,12 +81,11 @@

-template<typename Types, typename Tag = null_tag> 
+template<typename Types, typename Tag = null_tag> 
 struct function_pointer;
 

@@ -127,12 +123,11 @@

-template<typename Types, typename Tag = null_tag> 
+template<typename Types, typename Tag = null_tag> 
 struct function_reference;
 

@@ -170,12 +165,11 @@

-template<typename Types, typename Tag = null_tag> 
+template<typename Types, typename Tag = null_tag> 
 struct member_function_pointer;
 

@@ -220,7 +214,11 @@ - +
Copyright © 2004 -2007 Tobias Schwinger


diff --git a/doc/html/boost_functiontypes/reference/tag_types.html b/doc/html/boost_functiontypes/reference/tag_types.html index 955296b..d4ca26f 100644 --- a/doc/html/boost_functiontypes/reference/tag_types.html +++ b/doc/html/boost_functiontypes/reference/tag_types.html @@ -1,22 +1,21 @@ - Tag Types +Tag Types - + - - - + + + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -25,7 +24,8 @@
variadic
@@ -54,9 +54,9 @@
 typedef unspecified variadic;
 
@@ -73,9 +73,9 @@
 typedef unspecified non_variadic;
 
@@ -91,9 +91,9 @@
 typedef unspecified default_cc;
 
@@ -109,9 +109,9 @@
 typedef unspecified const_qualified;
 
@@ -127,9 +127,9 @@
 typedef unspecified non_const;
 
@@ -145,9 +145,9 @@
 typedef unspecified volatile_qualified;
 
@@ -163,9 +163,9 @@
 typedef unspecified non_volatile;
 
@@ -181,7 +181,8 @@
 typedef unspecified non_cv;
 
@@ -199,9 +200,9 @@
 typedef unspecified const_non_volatile;
 
@@ -219,9 +220,9 @@
 typedef unspecified volatile_non_const;
 
@@ -239,9 +240,9 @@
 typedef unspecified cv_qualified;
 
@@ -259,9 +260,9 @@
 typedef unspecified null_tag;
 
@@ -277,7 +278,8 @@
+ tag +
 template<class Tag1, class Tag2, 
     class Tag3 = null_tag, class Tag4 = null_tag>
@@ -310,7 +312,11 @@
 
 
-
+
Copyright © 2004 -2007 Tobias Schwinger

diff --git a/doc/html/boost_functiontypes/use_cases.html b/doc/html/boost_functiontypes/use_cases.html index 803b994..f35b263 100644 --- a/doc/html/boost_functiontypes/use_cases.html +++ b/doc/html/boost_functiontypes/use_cases.html @@ -1,21 +1,21 @@ - Use Cases +Use Cases - + - - + + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -24,7 +24,8 @@

Generic libraries that accept callable arguments are common in C++. Accepting a callable argument of builin type often involves a lot of repetitive code @@ -143,8 +144,7 @@ arguments from a type sequence in a single expression:

-static_cast<function_pointer<Seq>::type>(& overloaded)
+static_cast<function_pointer<Seq>::type>(& overloaded)
 

This technique can be occasionally more flexible than template argument deduction @@ -165,7 +165,11 @@ - +
Copyright © 2004 -2007 Tobias Schwinger


diff --git a/doc/html/index.html b/doc/html/index.html index 2f32aa2..bbf4c79 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -3,17 +3,17 @@ Chapter 1. Boost.FunctionTypes 2.5 - + - + - - + +
Boost C++ Libraries Home LibrariesPeopleFAQPeopleFAQ More

@@ -27,7 +27,7 @@
-

+

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)

@@ -46,8 +46,8 @@
- - + +

Last revised: November 05, 2007 at 18:24:58 +0100

Last revised: November 05, 2007 at 17:24:58 +0000


Next