Skip to content

Commit f872d04

Browse files
authored
Merge pull request #5282 from Rageking8/improve-alert-in-declare-override-specifiers-in-native-compilations
Improve alert in "Declare Override Specifiers in Native Compilations"
2 parents eb251b1 + d0298de commit f872d04

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/dotnet/how-to-declare-override-specifiers-in-native-compilations-cpp-cli.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
---
2-
description: "Learn more about: How to: Declare Override Specifiers in Native Compilations (C++/CLI)"
32
title: "How to: Declare Override Specifiers (C++/CLI)"
3+
description: "Learn more about: How to: Declare Override Specifiers in Native Compilations (C++/CLI)"
44
ms.date: "11/04/2016"
55
helpviewer_keywords: ["override specifiers in native compilation, overriding"]
6-
ms.assetid: d0551836-9ac7-41eb-a6e9-a4b3ef60767d
76
---
87
# How to: Declare Override Specifiers in Native Compilations (C++/CLI)
98

10-
[sealed](../extensions/sealed-cpp-component-extensions.md), [abstract](../extensions/abstract-cpp-component-extensions.md), and [override](../extensions/override-cpp-component-extensions.md) are available in compilations that do not use **/ZW** or [/clr](../build/reference/clr-common-language-runtime-compilation.md).
9+
[`sealed`](../extensions/sealed-cpp-component-extensions.md), [`abstract`](../extensions/abstract-cpp-component-extensions.md), and [`override`](../extensions/override-cpp-component-extensions.md) are available in compilations that do not use **/ZW** or [`/clr`](../build/reference/clr-common-language-runtime-compilation.md).
1110

1211
> [!NOTE]
13-
> The ISO C++11 Standard language has the [override](../cpp/override-specifier.md) identifier and the [final](../cpp/final-specifier.md) identifier, and both are supported in Visual Studio Use `final` instead of **`sealed`** in code that is meant to be compiled as native-only.
12+
> The ISO C++11 Standard language [`override`](../cpp/override-specifier.md) and [`final`](../cpp/final-specifier.md) specifiers are supported in Visual Studio. Use `final` instead of **`sealed`** in code that is meant to be compiled as native-only.
1413
1514
## Example: sealed is valid
1615

@@ -67,7 +66,7 @@ public:
6766

6867
### Description
6968

70-
This example shows that **`abstract`** is valid in native compilations.
69+
This example shows that `abstract` is valid in native compilations.
7170

7271
### Code
7372

0 commit comments

Comments
 (0)