__is_closure

From RAD Studio
Jump to: navigation, search

Go Up to Type Trait Functions (C++11) Index


Category

Type Trait Functions

Syntax

bool __is_closure(typename T)

Returns True if and only if T is a closure.

A closure represents a special type of pointer to a member function. Using a closure, you can get a special type of pointer to a member function for any object, regardless of its inheritance hierarchy.

Note:This type trait function is a C++11 feature.

See Also