Skip to content

Commit 804abd5

Browse files
committed
Update TOC for new Zc articles
1 parent 8fc0c8f commit 804abd5

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

docs/build/reference/zc-enumtypes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: "Learn more about the /Zc:enumTypes (Enable enum type deduction) compiler option."
3-
title: "/Zc:enumTypes (Enable C++20 enumTypes type)"
3+
title: "/Zc:enumTypes (Enable enum type deduction)"
44
ms.date: 11/07/2022
55
f1_keywords: ["/Zc:enumTypes"]
66
helpviewer_keywords: ["-Zc:enumTypes compiler option (C++)", "/Zc:enumTypes compiler option (C++)"]
@@ -80,7 +80,7 @@ In this example the enumerator `A` should have type **`char`** prior to the clos
8080

8181
1. Select the **Configuration Properties** > **C/C++** > **Command Line** property page.
8282

83-
1. In **Additional options**, add **`/Zc:enumTypes`** or **`/Zc:enumTypes-`**. Choose **OK** or **Apply** to save your changes.
83+
1. In **Additional options**, add *`/Zc:enumTypes`* or *`/Zc:enumTypes-`*. Choose **OK** or **Apply** to save your changes.
8484

8585
## See also
8686

docs/build/reference/zc-stdc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
description: "Learn more about the /Zc:__STDC__ (Enable enum type deduction) compiler option."
3-
title: "/Zc:__STDC__ (Enable C++20 __STDC__ type)"
2+
description: "Learn more about the /Zc:__STDC__ (Enable __STDC__ macro) compiler option."
3+
title: "/Zc:__STDC__ (Enable __STDC__ macro)"
44
ms.date: 11/07/2022
55
f1_keywords: ["/Zc:__STDC__"]
66
helpviewer_keywords: ["-Zc:__STDC__ compiler option (C++)", "/Zc:__STDC__ compiler option (C++)"]
77
---
8-
# `/Zc:__STDC__` (Define `__STDC__` in C)
8+
# `/Zc:__STDC__` (Enable `__STDC__` macro)
99

1010
The **`/Zc:__STDC__`** compiler option defines the built-in `__STDC__` preprocessor macro as 1 in C code.
1111

docs/build/toc.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,14 +769,18 @@ items:
769769
items:
770770
- name: /Zc (Conformance)
771771
href: ../build/reference/zc-conformance.md
772+
- name: "/Zc:__cplusplus (Enable updated __cplusplus macro)"
773+
href: ../build/reference/zc-cplusplus.md
774+
- name: "/Zc:__STDC__ (Enable __STDC__ macro)"
775+
href: ../build/reference/zc-stdc.md
772776
- name: "/Zc:alignedNew (C++17 over-aligned allocation)"
773777
href: ../build/reference/zc-alignednew.md
774778
- name: "/Zc:auto (Deduce variable type)"
775779
href: ../build/reference/zc-auto-deduce-variable-type.md
776780
- name: "/Zc:char8_t (Enable C++20 char8_t type)"
777781
href: ../build/reference/zc-char8-t.md
778-
- name: "/Zc:__cplusplus (Enable updated __cplusplus macro)"
779-
href: ../build/reference/zc-cplusplus.md
782+
- name: '/Zc:enumTypes (Enable enum type deduction)'
783+
href: ../build/reference/zc-enumtypes.md
780784
- name: '/Zc:externC (Use Standard C++ extern "C" rules)'
781785
href: ../build/reference/zc-externc.md
782786
- name: "/Zc:externConstexpr (Enable extern constexpr variables)"

0 commit comments

Comments
 (0)