public

Includes an alias declared with the typedefkeyword in the type library.

Allowed on

Alias declared with typedef.

Remarks

By default, an alias that is declared with typedef, and has no other attributes, is treated as a #define, and is not included in the type library. Using the public attribute ensures that the alias becomes part of the type library.

Attribute Descriptions