cpp/keyword/decltype
From cppreference.com
Queries the type of an expression
Contents |
Syntax
decltype ( Template:sparam )
|
|||||||||
Explanation
decltype
is useful when declaring types that are difficult or impossible to declare using standard notation, like lambda-related types or types that depend on template parameters.