diff --git a/doc/html/boost_functiontypes/about_tag_types.html b/doc/html/boost_functiontypes/about_tag_types.html index 7d07a85..7b9e5ec 100644 --- a/doc/html/boost_functiontypes/about_tag_types.html +++ b/doc/html/boost_functiontypes/about_tag_types.html @@ -1,11 +1,11 @@ - + About Tag Types - - - - + + + + @@ -13,16 +13,16 @@ - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

-PrevUpHomeNext +PrevUpHomeNext
-
+
@@ -35,8 +35,7 @@ These tags can be used to determine whether one property of a type has a particular value.

-
-is_function<int(...), variadic>::value // == true
+
is_function<int(...), variadic>::value // == true
 is_function<int()   , variadic>::value // == false
 

@@ -45,22 +44,19 @@ is a callable builtin type, is a compound property tag that describes F. The tag class template can be used to combine property tags.

-
-tag<non_const,default_cc> // combination of two properties
+
tag<non_const,default_cc> // combination of two properties
 

When several values for the same property are specified in tag's argument list, only the rightmost one is used; others are ignored.

-
-tag<components<F>, default_cc> // overrides F's calling convention property
+
tag<components<F>, default_cc> // overrides F's calling convention property
 

When compound property tag is specified to analyse a type, all of its component properties must match.

-
-is_member_function_pointer< F, tag<const_qualified,default_cc> >::value
+
is_member_function_pointer< F, tag<const_qualified,default_cc> >::value
 // true for 
 //   F = void(a_class::*)() const
 // false for
@@ -71,8 +67,7 @@
       Default values are selected for properties not specified by the tag in the
       context of type synthesis.
     

-
-// given S = mpl::vector<int,a_class const &>
+
// given S = mpl::vector<int,a_class const &>
 
 member_function_pointer<S>::type // is int (a_class::*)() const
 // note: the cv-qualification is picked based on the class type,
@@ -85,7 +80,7 @@
 
-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_functiontypes/acknowledgements.html b/doc/html/boost_functiontypes/acknowledgements.html index b0498b7..4f7d0fe 100644 --- a/doc/html/boost_functiontypes/acknowledgements.html +++ b/doc/html/boost_functiontypes/acknowledgements.html @@ -1,27 +1,27 @@ - + Acknowledgements - - - - + + + + - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

-PrevUpHome +PrevUpHome
-
+
@@ -29,57 +29,57 @@ Thanks go to the following people for supporting the development of this library in one or the other way:

-
    -
  • - David Abrahams -
  • -
  • - Tom Brinkman -
  • -
  • - Aleksey Gurtovoy -
  • -
  • - Jody Hagins -
  • -
  • - Hartmut Kaiser -
  • -
  • - Andy Little -
  • -
  • - John Maddock -
  • -
  • - Paul Mensonides -
  • -
  • - Alexander Nasonov -
  • -
  • - Richard Smith -
  • -
  • - Rob Stewart -
  • -
  • - Jonathan Turkanis -
  • -
  • - Pavel Vozenilek -
  • -
  • - Steven Watanabe -
  • -
  • - K. Noel Belcourt -
  • +
      +
    • + David Abrahams +
    • +
    • + Tom Brinkman +
    • +
    • + Aleksey Gurtovoy +
    • +
    • + Jody Hagins +
    • +
    • + Hartmut Kaiser +
    • +
    • + Andy Little +
    • +
    • + John Maddock +
    • +
    • + Paul Mensonides +
    • +
    • + Alexander Nasonov +
    • +
    • + Richard Smith +
    • +
    • + Rob Stewart +
    • +
    • + Jonathan Turkanis +
    • +
    • + Pavel Vozenilek +
    • +
    • + Steven Watanabe +
    • +
    • + K. Noel Belcourt +
-

-PrevUpHome +PrevUpHome
diff --git a/doc/html/boost_functiontypes/introduction.html b/doc/html/boost_functiontypes/introduction.html index cdaf6b1..2110a58 100644 --- a/doc/html/boost_functiontypes/introduction.html +++ b/doc/html/boost_functiontypes/introduction.html @@ -1,28 +1,28 @@ - + Introduction - - - - - + + + + + - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

-PrevUpHomeNext +PrevUpHomeNext
-
+
@@ -37,16 +37,16 @@

In particular, the library can be used to:

-
    -
  • - test whether a type is a specific callable, builtin type, -
  • -
  • - extract all component properties from callable, builtin types, and -
  • -
  • - create callable, builtin types from specified properties. -
  • +
      +
    • + test whether a type is a specific callable, builtin type, +
    • +
    • + extract all component properties from callable, builtin types, and +
    • +
    • + create callable, builtin types from specified properties. +

    The library is designed to work well with other Boost libraries and uses well-accepted @@ -56,8 +56,7 @@ Templates that encapsulate boolean or numeric properties define a static member constant called value.

    -
    -is_function_pointer< bool(*)(int) >::value // == true 
    +
    is_function_pointer< bool(*)(int) >::value // == true 
     
     function_arity< bool(*)(int) >::value // == 1
     
    @@ -65,8 +64,7 @@ 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
     
    @@ -74,13 +72,12 @@ 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
     
-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_functiontypes/rationale.html b/doc/html/boost_functiontypes/rationale.html index 5ba69d0..8918fed 100644 --- a/doc/html/boost_functiontypes/rationale.html +++ b/doc/html/boost_functiontypes/rationale.html @@ -1,11 +1,11 @@ - + Rationale - - - - + + + + @@ -13,21 +13,21 @@ - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

-PrevUpHomeNext +PrevUpHomeNext
-
+

- + Error handling rationale

@@ -42,7 +42,7 @@ can be spotted easily.

- + Why MPL Sequences?

@@ -55,7 +55,7 @@ so another reason is interoperability.

- + Pointer to member object types

@@ -64,7 +64,7 @@ functionals.

- + The ClassTransform template parameter

@@ -81,7 +81,7 @@ all parameters uniformly.

- + Why tag types?

@@ -100,7 +100,7 @@ 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? @@ -115,7 +115,7 @@ 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? @@ -123,11 +123,10 @@

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?

@@ -138,7 +137,7 @@

-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_functiontypes/reference.html b/doc/html/boost_functiontypes/reference.html index eacf2d4..512e56f 100644 --- a/doc/html/boost_functiontypes/reference.html +++ b/doc/html/boost_functiontypes/reference.html @@ -1,11 +1,11 @@ - + Reference - - - - + + + + @@ -13,16 +13,16 @@ - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

-PrevUpHomeNext +PrevUpHomeNext
-
+
@@ -39,7 +39,7 @@
-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_functiontypes/reference/classification.html b/doc/html/boost_functiontypes/reference/classification.html index 2f49b79..41a5d9f 100644 --- a/doc/html/boost_functiontypes/reference/classification.html +++ b/doc/html/boost_functiontypes/reference/classification.html @@ -1,10 +1,10 @@ - + Class templates for type classification - - - + + + @@ -13,16 +13,16 @@ - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

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

Header

-
-#include <boost/function_types/is_function.hpp>
+
#include <boost/function_types/is_function.hpp>
 

T

- Type to analyze -

+ Type to analyze +

Tag

- Further properties required for a positive result -

+ Further properties required for a positive result +

is_function<T,Tag>

- Predicate value as MPL - - Integral - Constant -

+ Predicate value as MPL + - Integral + Constant +

is_function<T,Tag>::value

- Constant boolean value -

+ Constant boolean value +

@@ -88,42 +86,40 @@ properties as specified by a property tag.

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

Header

-
-#include <boost/function_types/is_function_pointer.hpp>
+
#include <boost/function_types/is_function_pointer.hpp>
 

T

- Type to analyze -

+ Type to analyze +

Tag

- Further properties required for a positive result -

+ Further properties required for a positive result +

is_function_pointer<T,Tag>

- Predicate value MPL - - Integral - Constant -

+ Predicate value MPL + - Integral + Constant +

is_function_pointer<T,Tag>::value

- Constant boolean value -

+ Constant boolean value +

@@ -131,42 +127,40 @@ properties as specified by a property tag.

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

Header

-
-#include <boost/function_types/is_function_reference.hpp>
+
#include <boost/function_types/is_function_reference.hpp>
 

T

- Type to analyze -

+ Type to analyze +

Tag

- Further properties required for a positive result -

+ Further properties required for a positive result +

is_function_reference<T,Tag>

- Predicate value MPL - - Integral - Constant -

+ Predicate value MPL + - Integral + Constant +

is_function_reference<T,Tag>::value

- Constant boolean value -

+ Constant boolean value +

@@ -174,42 +168,40 @@ additional properties as specified by a property tag.

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

Header

-
-#include <boost/function_types/is_member_pointer.hpp>
+
#include <boost/function_types/is_member_pointer.hpp>
 

T

- Type to analyze -

+ Type to analyze +

Tag

- Further properties required for a positive result -

+ Further properties required for a positive result +

is_member_pointer<T,Tag>

- Predicate value MPL - - Integral - Constant -

+ Predicate value MPL + - Integral + Constant +

is_member_pointer<T,Tag>::value

- Constant boolean value -

+ Constant boolean value +

@@ -217,80 +209,76 @@ type, possibly with additional properties as specified by a property tag.

-
+
-
-template<typename T>
+
template<typename T>
 struct is_member_object_pointer;
 

Header

-
-#include <boost/function_types/is_member_object_pointer.hpp>
+
#include <boost/function_types/is_member_object_pointer.hpp>
 

T

- Type to analyze -

+ Type to analyze +

is_member_object_pointer<T>

- Predicate value MPL - - Integral - Constant -

+ Predicate value MPL + - Integral + Constant +

is_member_object_pointer<T>::value

- Constant boolean value -

+ Constant boolean value +

Determines whether a given type is a pointer to member object type.

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

Header

-
-#include <boost/function_types/is_member_function_pointer.hpp>
+
#include <boost/function_types/is_member_function_pointer.hpp>
 

T

- Type to analyze -

+ Type to analyze +

Tag

- Further properties required for a positive result -

+ Further properties required for a positive result +

is_member_function_pointer<T,Tag>

- Predicate value MPL - - Integral - Constant -

+ Predicate value MPL + - Integral + Constant +

is_member_function_pointer<T,Tag>::value

- Constant boolean value -

+ Constant boolean value +

@@ -298,42 +286,40 @@ with additional properties as specified by a property tag.

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

Header

-
-#include <boost/function_types/is_callable_builtin.hpp>
+
#include <boost/function_types/is_callable_builtin.hpp>
 

T

- Type to analyze -

+ Type to analyze +

Tag

- Further properties required for a positive result -

+ Further properties required for a positive result +

is_callable_builtin<T,Tag>

- Predicate value as MPL - - Integral - Constant -

+ Predicate value as MPL + - Integral + Constant +

is_callable_builtin<T,Tag>::value

- Constant boolean value -

+ Constant boolean value +

@@ -341,42 +327,40 @@ properties as specified by a property tag.

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

Header

-
-#include <boost/function_types/is_nonmember_callable_builtin.hpp>
+
#include <boost/function_types/is_nonmember_callable_builtin.hpp>
 

T

- Type to analyze -

+ Type to analyze +

Tag

- Further properties required for a positive result -

+ Further properties required for a positive result +

is_nonmember_callable_builtin<T,Tag>

- Predicate value as MPL - - Integral - Constant -

+ Predicate value as MPL + - Integral + Constant +

is_nonmember_callable_builtin<T,Tag>::value

- Constant boolean value -

+ Constant boolean value +

@@ -388,7 +372,7 @@

-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_functiontypes/reference/decomposition.html b/doc/html/boost_functiontypes/reference/decomposition.html index b4447e4..be8dc6b 100644 --- a/doc/html/boost_functiontypes/reference/decomposition.html +++ b/doc/html/boost_functiontypes/reference/decomposition.html @@ -1,10 +1,10 @@ - + Class templates for type decomposition - - - + + + @@ -13,16 +13,16 @@ - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

-PrevUpHomeNext +PrevUpHomeNext
-
+
-
+
-
-template<typename F>
+
template<typename F>
 struct result_type;
 

Header

-
-#include <boost/function_types/result_type.hpp>
+
#include <boost/function_types/result_type.hpp>
 

F

- Type to analyze -

+ Type to analyze +

result_type<F>::type

- Result type of F -

+ Result type of F +

@@ -73,42 +71,40 @@ the type member results in a compile error.

-
+
-
-template<typename F, class ClassTransform = add_reference<_> >
+
template<typename F, class ClassTransform = add_reference<_> >
 struct parameter_types;
 

Header

-
-#include <boost/function_types/parameter_types.hpp>
+
#include <boost/function_types/parameter_types.hpp>
 

F

- Type to analyze -

+ Type to analyze +

ClassTransform

- MPL - Lambda - Expression to transform the class type if F - is a member function pointer -

+ MPL - Lambda + Expression to transform the class type if F + is a member function pointer +

parameter_types<F,ClassTransform>

- MPL - Front - / Back - Extensible - Random - Access Sequence of parameter types -

+ MPL - Front + / Back + Extensible + Random + Access Sequence of parameter types +

@@ -119,38 +115,36 @@ the sequence results in a compile error.

-
+
-
-template<typename F>
+
template<typename F>
 struct function_arity;
 

Header

-
-#include <boost/function_types/function_arity.hpp>
+
#include <boost/function_types/function_arity.hpp>
 

F

- Callable builtin type -

+ Callable builtin type +

function_arity<F>

- Function arity as MPL - - Integral - Constant -

+ Function arity as MPL + - Integral + Constant +

function_arity<F>::value

- Constant value of the function arity -

+ Constant value of the function arity +

@@ -164,46 +158,44 @@ the value results in a compile error.

-
+
-
-template<typename T, class ClassTransform = add_reference<_> >
+
template<typename T, class ClassTransform = add_reference<_> >
 struct components;
 

Header

-
-#include <boost/function_types/components.hpp>
+
#include <boost/function_types/components.hpp>
 

T

- Type to analyze -

+ Type to analyze +

ClassTransform

- MPL - Lambda - Expression to transform the class type if T - is a member function pointer -

+ MPL - Lambda + Expression to transform the class type if T + is a member function pointer +

components<T,ClassTransform>

- MPL - Front - / Back - Extensible - Random - Access Sequence of all component types and property tag -

+ MPL - Front + / Back + Extensible + Random + Access Sequence of all component types and property tag +

components<T,ClassTransform>::types

- Decorated MPL Sequence, exposed for optimization -

+ Decorated MPL Sequence, exposed for optimization +

@@ -219,7 +211,7 @@

-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_functiontypes/reference/macros.html b/doc/html/boost_functiontypes/reference/macros.html index ea3f1eb..a482bf0 100644 --- a/doc/html/boost_functiontypes/reference/macros.html +++ b/doc/html/boost_functiontypes/reference/macros.html @@ -1,10 +1,10 @@ - + Macros - - - + + + @@ -13,16 +13,16 @@ - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

-PrevUpHomeNext +PrevUpHomeNext
-
+ -
+

BOOST_FT_MAX_ARITY @@ -65,7 +65,7 @@ to configure the library to work with a compiler and/or calling convention not covered by the auto-detection mechanism in boost/function_types/config/compiler.hpp.

-
+

BOOST_FT_CC_NAMES @@ -90,8 +90,7 @@ The following names are predefined by the library and must not occur in the definition of BOOST_FT_CC_NAMES:

-
-#define BOOST_FT_BUILTIN_CC_NAMES \
+
#define BOOST_FT_BUILTIN_CC_NAMES \
   (( IMPLICIT           , implicit_cc , BOOST_PP_EMPTY                ))\
   (( CDECL              , cdecl_cc    , BOOST_PP_IDENTITY(__cdecl   ) ))\
   (( STDCALL            , stdcall_cc  , BOOST_PP_IDENTITY(__stdcall ) ))\
@@ -104,7 +103,7 @@
 // explicitly prior to MSVC 8).
 

-
+

BOOST_FT_CC_* @@ -118,34 +117,33 @@ The macro expands to a list of restrictions, separated by the | character. Possible items are:

-
    -
  • - callable_builtin -
  • -
  • - member -
  • -
  • - non_member -
  • -
  • - variadic -
  • -
  • - non_variadic -
  • +
      +
    • + callable_builtin +
    • +
    • + member +
    • +
    • + non_member +
    • +
    • + variadic +
    • +
    • + non_variadic +

    If no such macro is defined for a particular calling convention, it is disabled. Example:

    -
    -#define BOOST_FT_CC_STDCALL non_variadic|callable_builtin
    +
    #define BOOST_FT_CC_STDCALL non_variadic|callable_builtin
     // enables stdcall calling convention for all non-variadic, 
     // callable, builtin types
     
-
+

BOOST_FT_COMMON_X86_CCs @@ -154,13 +152,12 @@ Defining this macro causes the following macros to be defined, if not defined already:

-
-#define BOOST_FT_CC_CDECL BOOST_FT_COMMON_X86_CCs
+
#define BOOST_FT_CC_CDECL BOOST_FT_COMMON_X86_CCs
 #define BOOST_FT_CC_STDCALL non_variadic|BOOST_FT_COMMON_X86_CCs
 #define BOOST_FT_CC_FASTCALL non_variadic|BOOST_FT_COMMON_X86_CCs
 

-
+

BOOST_FT_SYNTAX @@ -173,12 +170,11 @@

The default definition is as follows:

-
-#define BOOST_FT_SYNTAX(result,lparen,cc_spec,type_mod,name,rparen) \
+
#define BOOST_FT_SYNTAX(result,lparen,cc_spec,type_mod,name,rparen) \
           result() lparen() cc_spec() type_mod() name() rparen()
 

-
+

BOOST_FT_NULLARY_PARAM @@ -188,7 +184,7 @@ parameter for nullary function types, empty by default.

-
+

BOOST_FT_NO_CV_FUNC_SUPPORT @@ -205,7 +201,7 @@ The following macros are useful for testing when changing the source code of the library.

-
+

BOOST_FT_PREPROCESSING_MODE @@ -215,7 +211,7 @@ than loading already-preprocessed header files) if defined.

-
+

BOOST_FT_CC_PREPROCESSING @@ -233,7 +229,7 @@

-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_functiontypes/reference/synthesis.html b/doc/html/boost_functiontypes/reference/synthesis.html index fdf12ab..fcb4835 100644 --- a/doc/html/boost_functiontypes/reference/synthesis.html +++ b/doc/html/boost_functiontypes/reference/synthesis.html @@ -1,10 +1,10 @@ - + Class templates for type synthesis - - - + + + @@ -13,16 +13,16 @@ - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

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

Header

-
-#include <boost/function_types/function_type.hpp>
+
#include <boost/function_types/function_type.hpp>
 

Types

- Component types in form of an MPL - - Forward - Sequence or another callable, builtin type -

+ Component types in form of an MPL + - Forward + Sequence or another callable, builtin type +

Tag

- Further properties -

+ Further properties +

function_type<Types,Tag>::type

- Synthesized type -

+ Synthesized type +

@@ -79,38 +77,36 @@ access the type member will result in a compile error.

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

Header

-
-#include <boost/function_types/function_pointer.hpp>
+
#include <boost/function_types/function_pointer.hpp>
 

Types

- Component types in form of an MPL - - Forward - Sequence or another callable, builtin type -

+ Component types in form of an MPL + - Forward + Sequence or another callable, builtin type +

Tag

- Further properties -

+ Further properties +

function_pointer<Types,Tag>::type

- Synthesized type -

+ Synthesized type +

@@ -121,38 +117,36 @@ access the type member will result in a compile error.

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

Header

-
-#include <boost/function_types/function_reference.hpp>
+
#include <boost/function_types/function_reference.hpp>
 

Types

- Component types in form of an MPL - - Forward - Sequence or another callable, builtin type -

+ Component types in form of an MPL + - Forward + Sequence or another callable, builtin type +

Tag

- Further properties -

+ Further properties +

function_reference<Types,Tag>::type

- Synthesized type -

+ Synthesized type +

@@ -163,38 +157,36 @@ access the type member will result in a compile error.

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

Header

-
-#include <boost/function_types/member_function_pointer.hpp>
+
#include <boost/function_types/member_function_pointer.hpp>
 

Types

- Component types in form of an MPL - - Forward - Sequence or another callable, builtin type -

+ Component types in form of an MPL + - Forward + Sequence or another callable, builtin type +

Tag

- Further properties -

+ Further properties +

member_function_pointer<Types,Tag>::type

- Synthesized type -

+ Synthesized type +

@@ -214,7 +206,7 @@

-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_functiontypes/reference/tag_types.html b/doc/html/boost_functiontypes/reference/tag_types.html index 847d74f..8f4eac2 100644 --- a/doc/html/boost_functiontypes/reference/tag_types.html +++ b/doc/html/boost_functiontypes/reference/tag_types.html @@ -1,10 +1,10 @@ - + Tag Types - - - + + + @@ -13,16 +13,16 @@ - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

-PrevUpHomeNext +PrevUpHomeNext
-
+
@@ -52,145 +52,129 @@ null_tag
tag
-
+
-
-typedef unspecified variadic;
+
typedef unspecified variadic;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type takes a variable number of arguments through an ellipsis parameter (such as printf).

-
+
-
-typedef unspecified non_variadic;
+
typedef unspecified non_variadic;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type does not have an ellipsis parameter.

-
+
-
-typedef unspecified default_cc;
+
typedef unspecified default_cc;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type encodes the default calling convention.

-
+
-
-typedef unspecified const_qualified;
+
typedef unspecified const_qualified;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type is const qualified.

-
+
-
-typedef unspecified non_const;
+
typedef unspecified non_const;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type is not const qualified.

-
+
-
-typedef unspecified volatile_qualified;
+
typedef unspecified volatile_qualified;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type is volatile qualified.

-
+
-
-typedef unspecified non_volatile;
+
typedef unspecified non_volatile;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type is not volatile qualified.

-
+
-
-typedef unspecified non_cv;
+
typedef unspecified non_cv;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type is neither const nor volatile qualified. Equivalent @@ -198,19 +182,17 @@ but involves fewer template instantiations when evaluated.

-
+
-
-typedef unspecified const_non_volatile;
+
typedef unspecified const_non_volatile;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type is const but not volatile qualified. Equivalent @@ -218,19 +200,17 @@ but involves fewer template instantiations when evaluated.

-
+
-
-typedef unspecified volatile_non_const;
+
typedef unspecified volatile_non_const;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type is volatile but not const qualified. Equivalent @@ -238,19 +218,17 @@ but involves fewer template instantiations when evaluated.

-
+
-
-typedef unspecified cv_qualified;
+
typedef unspecified cv_qualified;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States that a function type is both const and volatile qualified. Equivalent @@ -258,50 +236,46 @@ but involves fewer template instantiations when evaluated.

-
+
-
-typedef unspecified null_tag;
+
typedef unspecified null_tag;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

States nothing.

-
+
-
-template<class Tag1, class Tag2, 
+
template<class Tag1, class Tag2, 
     class Tag3 = null_tag, class Tag4 = null_tag>
 struct tag;
 

Header

-
-#include <boost/function_types/property_tags.hpp>
+
#include <boost/function_types/property_tags.hpp>
 

TagN

- Property tag -

+ Property tag +

tag<Tag1,Tag2...>

- Compound property tag -

+ Compound property tag +

@@ -312,7 +286,7 @@

-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/boost_functiontypes/use_cases.html b/doc/html/boost_functiontypes/use_cases.html index 8cee449..cb08d42 100644 --- a/doc/html/boost_functiontypes/use_cases.html +++ b/doc/html/boost_functiontypes/use_cases.html @@ -1,11 +1,11 @@ - + Use Cases - - - - + + + + @@ -13,16 +13,16 @@ - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

-PrevUpHomeNext +PrevUpHomeNext
-
+
@@ -36,8 +36,7 @@ a calling convention with each function's type to allow calls across language or (sub-)system boundaries.

-
-template<typename R>
+
template<typename R>
 void accept_function(R(* func)());
 
 template<typename R>
@@ -90,8 +89,7 @@
       Using Boost.FunctionTypes it is possible to write a single function template
       instead:
     

-
-template<typename F>
+
template<typename F>
 void accept_function(F f)
 {
   // ... use Boost.FunctionTypes to analyse F
@@ -110,8 +108,7 @@
       in. The code below shows three examples for choosing the float(float)
       overload of std::abs.
     

-
-float (*ptr_absf)(float) = & std::abs;
+
float (*ptr_absf)(float) = & std::abs;
 
 
 void foo(float(*func)(float));
@@ -129,8 +126,7 @@
       selection and instantiation of function templates. Given an overloaded function
       template
     

-
-template<typename R, typename T0>
+
template<typename R, typename T0>
 R overloaded(T0);
 
 template<typename R, typename T0, typename T1>
@@ -143,8 +139,7 @@
       we can pick any of the three overloads and instantiate the template with template
       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 +160,7 @@

-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/html/index.html b/doc/html/index.html index c95f3f7..d64a89b 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -1,33 +1,33 @@ - -Chapter 1. Boost.FunctionTypes 2.5 - - - + +Chapter 1. Boost.FunctionTypes 2.5 + + + - - - + + +
Boost C++ Libraries HomeLibrariesPeopleFAQLibrariesPeopleFAQ More

-
Next
-
+
Next
+

-Chapter 1. Boost.FunctionTypes 2.5

+Chapter 1. Boost.FunctionTypes 2.5

Tobias Schwinger

-
+
-

+

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,10 +46,10 @@
- +

Last revised: March 14, 2008 at 18:36:46 +0000

Last revised: , at


-
Next
+
Next