• decltype is a new keyword that infers the type of a given expression
• it is used mainly on return types
For example:
• decltype to var:
• decltype to specify the return type:
• decltype to the templates:
• decltype to var:
• decltype to specify the return type:
• decltype to the templates: