Skip to content

Commit cc43ed4

Browse files
author
Colin Robertson
authored
Merge pull request #3144 from MicrosoftDocs/master637570428994214071
Repo sync for protected CLA branch
2 parents e2f36b0 + 0fa0a3b commit cc43ed4

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

docs/build/reference/module-exportheader.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "/exportHeader (Create header units)"
33
description: "Use the /exportHeader compiler option to create module header units for the header-name or include files specified."
4-
ms.date: 04/13/2020
4+
ms.date: 05/18/2020
55
author: "tylermsft"
66
ms.author: "twhitney"
77
f1_keywords: ["/exportHeader"]
@@ -13,8 +13,8 @@ Tells the compiler to create the header units specified by the input arguments.
1313

1414
## Syntax
1515

16-
> **`/exportHeader /headerName:angle`** *`header-name`*
17-
> **`/exportHeader /headerName:quote`** *`header-name`*
16+
> **`/exportHeader /headerName:angle`** *`header-name`*\
17+
> **`/exportHeader /headerName:quote`** *`header-name`*\
1818
> **`/exportHeader`** *`full path to header file`*
1919
2020
### Arguments
@@ -57,6 +57,7 @@ You normally shouldn't set this in the Visual Studio development environment. It
5757

5858
## See also
5959

60+
[`/headerName (Build a header unit from the specified header)`](headername.md) \
6061
[`/headerUnit` (Use header unit IFC)](headerunit.md)\
6162
[`/reference` (Use named module IFC)](module-reference.md)\
6263
[`/translateInclude` (Translate include directives into import directives)](translateinclude.md)

docs/build/walkthrough-header-units.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Learn more about C++ header units by converting a header file to a header unit by using Visual Studio 2019."
33
title: "Walkthrough: Build and import header units in Visual C++ projects"
4-
ms.date: "4/13/2021"
4+
ms.date: "5/18/2021"
55
ms.custom: "conceptual"
66
author: "tylermsft"
77
ms.author: "twhitney"
@@ -66,7 +66,7 @@ In this example, you'll compile a header file as a header unit. Start by creatin
6666

6767
#include <iostream>
6868

69-
void PrintPythagoreanTriple(int a, int b)
69+
inline void PrintPythagoreanTriple(int a, int b)
7070
{
7171
std::cout << "Pythagorean triple a:" << a << " b:" << b << " c:" << a*a + b*b << std::endl;
7272
}

0 commit comments

Comments
 (0)