Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 737 Bytes

auto-rename.md

File metadata and controls

27 lines (18 loc) · 737 Bytes
title auto_rename import attribute
ms.date 08/29/2019
f1_keywords
auto_rename
helpviewer_keywords
auto_rename attribute
ms.assetid 1075f3ab-f6fc-4e04-8e22-ebe02695a567

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