decltype

From Appmethod Topics
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Category

Type Specifiers

Syntax

decltype ( expression )

Description

Use the decltype type specifier to obtain the type specifier of an expression.

decltype may be applied to expressions that are identifiers, class members and function names or calls.

See Also