Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class templates for type classification

is_function
is_function_pointer
is_function_reference
is_member_pointer
is_member_object_pointer
is_member_function_pointer
is_callable_builtin
is_nonmember_callable_builtin
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.

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.

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.

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.

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.

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.

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.

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.

Copyright © 2004 -2007 Tobias Schwinger

PrevUpHomeNext