C++ Language/Type/Shortcuts/FromAnotherVariable

If variable  has already been defined to have type , then definition   is the same as defining. This  shortcut can even refer to a full expression.

Additional information about decltype (includes interactive examples)