File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22title : " /exportHeader (Create header units)"
33description : " 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
55author : " tylermsft"
66ms.author : " twhitney"
77f1_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 )
Original file line number Diff line number Diff line change 11---
22description : " Learn more about C++ header units by converting a header file to a header unit by using Visual Studio 2019."
33title : " Walkthrough: Build and import header units in Visual C++ projects"
4- ms.date : " 4/13 /2021"
4+ ms.date : " 5/18 /2021"
55ms.custom : " conceptual"
66author : " tylermsft"
77ms.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 }
You can’t perform that action at this time.
0 commit comments