Skip to content

Commit 8396cf5

Browse files
TylerMSFTTylerMSFT
authored andcommitted
tech review
1 parent 92f1bad commit 8396cf5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/build/reference/headerunit.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "/headerUnit (Use header unit IFC)"
33
description: "Use the /headerUnit compiler option to associate a header file with the header unit to import in its place."
4-
ms.date: 02/01/2022
4+
ms.date: 5/28/2024
55
f1_keywords: ["/headerUnit"]
66
helpviewer_keywords: ["/headerUnit", "Use header unit IFC"]
77
author: "tylermsft"
@@ -14,8 +14,8 @@ Imports a header unit. Tells the compiler where to find the *`.ifc`* file (the b
1414
## Syntax
1515

1616
> **`/headerUnit`** *`header-filename`*=*`ifc-filename`*\
17-
> **`/headerUnit:quote`** \[*`header-filename`*=*`ifc-filename`*\]\
18-
> **`/headerUnit:angle`** \[*`header-filename`*=*`ifc-filename`*\]
17+
> **`/headerUnit:quote`** *`header-filename`*=*`ifc-filename`*\
18+
> **`/headerUnit:angle`** *`header-filename`*=*`ifc-filename`*
1919
2020
### Arguments
2121

@@ -39,7 +39,7 @@ When the compiler comes across `import "file";` or `import <file>;` this compile
3939

4040
- **`/headerUnit:angle`** looks up the compiled header unit file using the same rules as `#include <file>`.
4141

42-
The compiler can't map a single *`header-name`* to multiple *`.ifc`* files. Mapping multiple *`header-name`* arguments to a single *`.ifc`* is possible, but it isn't recommended. The contents of the *`.ifc`* are imported as if it was only the header specified by *`header-name`*.
42+
The compiler can't map a single *`header-name`* to multiple *`.ifc`* files. You can map multiple *`header-name`* arguments to a single *`.ifc`*. The contents of the *`.ifc`* are imported as if it was only the header specified by *`header-name`*.
4343

4444
The compiler implicitly enables the new preprocessor when this option is used. If any form of `/headerUnit` is specified on the command line, then [`/Zc:preprocessor`](zc-preprocessor.md) is added to the command line by the compiler. To opt out of the implicit `/Zc:preprocessor`, specify: `/Zc:preprocessor-`
4545

0 commit comments

Comments
 (0)