Skip to content

Latest commit

 

History

History
50 lines (45 loc) · 1.3 KB

File metadata and controls

50 lines (45 loc) · 1.3 KB
title Attribute Requirements | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic language-reference
dev_langs
C++
ms.assetid e42ca06f-5f3c-40b5-972a-39ecf522d227
caps.latest.revision 7
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Attribute Requirements

The requirements listed for C++ attributes describe the project types, compiler settings, and other information necessary for an attribute to work. The categories of information are described below.

Note

Using attributes on a class that derives from a class that also uses attributes is not supported.

Header

This field lists the header files that must be included before an attribute can be used.

Project

This field describes the project types in which an attribute can be used.

Compiler

This field provides the compiler options that must be present for this attribute to be used.

See Also

Attribute Contexts
Attributes by Group