Edit

Share via


auto_rename import attribute

C++ Specific

Renames C++ reserved words by appending two underscores (__) to the variable name to resolve potential name conflicts.

Syntax

#import type-library auto_rename

Remarks

This attribute is used when importing a type library that uses one or more C++ reserved words (keywords or macros) as variable names.

END C++ Specific

See also

#import attributes
#import directive