Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Type/Shortcuts/TemplatedTypedef

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

A "type alias" lets you use a new name for an existing type. Traditionally, this was programmed as typedef int INTEGER_VIA_TYPEDEF;. In modern C++, this is programmed as using INTEGER_VIA_USING = int;. Only the modern syntax can be templated. Additional information about type aliases (includes interactive examples)