File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
title : " /exportHeader (Create header units)"
3
3
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
5
5
author : " tylermsft"
6
6
ms.author : " twhitney"
7
7
f1_keywords : ["/exportHeader"]
@@ -13,8 +13,8 @@ Tells the compiler to create the header units specified by the input arguments.
13
13
14
14
## Syntax
15
15
16
- > ** ` /exportHeader /headerName:angle ` ** * ` header-name ` *
17
- > ** ` /exportHeader /headerName:quote ` ** * ` header-name ` *
16
+ > ** ` /exportHeader /headerName:angle ` ** * ` header-name ` * \
17
+ > ** ` /exportHeader /headerName:quote ` ** * ` header-name ` * \
18
18
> ** ` /exportHeader ` ** * ` full path to header file ` *
19
19
20
20
### Arguments
@@ -57,6 +57,7 @@ You normally shouldn't set this in the Visual Studio development environment. It
57
57
58
58
## See also
59
59
60
+ [ ` /headerName (Build a header unit from the specified header) ` ] ( headername.md ) \
60
61
[ ` /headerUnit ` (Use header unit IFC)] ( headerunit.md ) \
61
62
[ ` /reference ` (Use named module IFC)] ( module-reference.md ) \
62
63
[ ` /translateInclude ` (Translate include directives into import directives)] ( translateinclude.md )
Original file line number Diff line number Diff line change 1
1
---
2
2
description : " Learn more about C++ header units by converting a header file to a header unit by using Visual Studio 2019."
3
3
title : " Walkthrough: Build and import header units in Visual C++ projects"
4
- ms.date : " 4/13 /2021"
4
+ ms.date : " 5/18 /2021"
5
5
ms.custom : " conceptual"
6
6
author : " tylermsft"
7
7
ms.author : " twhitney"
@@ -66,7 +66,7 @@ In this example, you'll compile a header file as a header unit. Start by creatin
66
66
67
67
#include <iostream>
68
68
69
- void PrintPythagoreanTriple(int a, int b)
69
+ inline void PrintPythagoreanTriple(int a, int b)
70
70
{
71
71
std::cout << "Pythagorean triple a:" << a << " b:" << b << " c:" << a*a + b*b << std::endl;
72
72
}
You can’t perform that action at this time.
0 commit comments