Typedef declaration

From Cppreference

Jump to: navigation, search

The typedef declaration provides a way to use an identifier in place of a (possibly complex) type declaration to create new objects of that type.

Contents

[edit] Syntax

typedef type_declaration identifier;

[edit] Explanation

[edit] Keywords

typedef

[edit] Example