__is_function

From Appmethod Topics
Jump to: navigation, search

Go Up to Type Trait Functions (C++0x) Index


Category

Type Trait Functions

Syntax

bool __is_function( typename T )

Returns true if and only if T is a function type.

Returns false for reference/pointer to function type.

Returns true for specialization of a function template.

Ill-formed if called with the name of a template, without specifying the template parameters. A template is not a type; it is a type generator.

See Also