C++11: ‘decltype’

decltype is a new keyword that infers the type of a given expression. Though it can be used instead of auto; it is used mainly on return types.

For example; this function:
Continue reading “C++11: ‘decltype’”

Advertisements