| Home | Libraries | People | FAQ | More

### Class templates for type classification

#### is_function

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

Header

    #include <boost/function_types/is_function.hpp>

`T`

  Type to analyze

`Tag`

  Further properties required for a positive result

`is_function<T,Tag>`

  Predicate value as MPL - Integral Constant

`is_function<T,Tag>::value`

  Constant boolean value

Determines whether a given type is a function, possibly with additional properties as specified by a property tag.

#### is_function_pointer

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

Header

    #include <boost/function_types/is_function_pointer.hpp>

`T`

  Type to analyze

`Tag`

  Further properties required for a positive result

`is_function_pointer<T,Tag>`

  Predicate value MPL - Integral Constant

`is_function_pointer<T,Tag>::value`

  Constant boolean value

Determines whether a given type is a function pointer, possibly with additional properties as specified by a property tag.

#### is_function_reference

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

Header

    #include <boost/function_types/is_function_reference.hpp>

`T`

  Type to analyze

`Tag`

  Further properties required for a positive result

`is_function_reference<T,Tag>`

  Predicate value MPL - Integral Constant

`is_function_reference<T,Tag>::value`

  Constant boolean value

Determines whether a given type is a function reference, possibly with additional properties as specified by a property tag.

#### is_member_pointer

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

Header

    #include <boost/function_types/is_member_pointer.hpp>

`T`

  Type to analyze

`Tag`

  Further properties required for a positive result

`is_member_pointer<T,Tag>`

  Predicate value MPL - Integral Constant

`is_member_pointer<T,Tag>::value`

  Constant boolean value

Determines whether a given type is a pointer to member (object or function) type, possibly with additional properties as specified by a property tag.

#### is_member_object_pointer

    template<typename T>
    struct is_member_object_pointer;

Header

    #include <boost/function_types/is_member_object_pointer.hpp>

`T`

  Type to analyze

`is_member_object_pointer<T>`

  Predicate value MPL - Integral Constant

`is_member_object_pointer<T>::value`

  Constant boolean value

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

#### is_member_function_pointer

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

Header

    #include <boost/function_types/is_member_function_pointer.hpp>

`T`

  Type to analyze

`Tag`

  Further properties required for a positive result

`is_member_function_pointer<T,Tag>`

  Predicate value MPL - Integral Constant

`is_member_function_pointer<T,Tag>::value`

  Constant boolean value

Determines whether a given type is a member function pointer, possibly with additional properties as specified by a property tag.

#### is_callable_builtin

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

Header

    #include <boost/function_types/is_callable_builtin.hpp>

`T`

  Type to analyze

`Tag`

  Further properties required for a positive result

`is_callable_builtin<T,Tag>`

  Predicate value as MPL - Integral Constant

`is_callable_builtin<T,Tag>::value`

  Constant boolean value

Determines whether a given type is a callable builtin, possibly with additional properties as specified by a property tag.

#### is_nonmember_callable_builtin

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

Header

    #include <boost/function_types/is_nonmember_callable_builtin.hpp>

`T`

  Type to analyze

`Tag`

  Further properties required for a positive result

`is_nonmember_callable_builtin<T,Tag>`

  Predicate value as MPL - Integral Constant

`is_nonmember_callable_builtin<T,Tag>::value`

  Constant boolean value

Determines whether a given type is a callable builtin that is not a member function pointer, possibly with additional properties as specified by a property tag.