diff --git a/docs/build/reference/module-exportheader.md b/docs/build/reference/module-exportheader.md index 0bd2fbcf063..bf2899dee72 100644 --- a/docs/build/reference/module-exportheader.md +++ b/docs/build/reference/module-exportheader.md @@ -1,7 +1,7 @@ --- title: "/exportHeader (Create header units)" description: "Use the /exportHeader compiler option to create module header units for the header-name or include files specified." -ms.date: 04/13/2020 +ms.date: 05/18/2020 author: "tylermsft" ms.author: "twhitney" f1_keywords: ["/exportHeader"] @@ -13,8 +13,8 @@ Tells the compiler to create the header units specified by the input arguments. ## Syntax -> **`/exportHeader /headerName:angle`** *`header-name`* -> **`/exportHeader /headerName:quote`** *`header-name`* +> **`/exportHeader /headerName:angle`** *`header-name`*\ +> **`/exportHeader /headerName:quote`** *`header-name`*\ > **`/exportHeader`** *`full path to header file`* ### Arguments @@ -57,6 +57,7 @@ You normally shouldn't set this in the Visual Studio development environment. It ## See also +[`/headerName (Build a header unit from the specified header)`](headername.md) \ [`/headerUnit` (Use header unit IFC)](headerunit.md)\ [`/reference` (Use named module IFC)](module-reference.md)\ [`/translateInclude` (Translate include directives into import directives)](translateinclude.md) diff --git a/docs/build/walkthrough-header-units.md b/docs/build/walkthrough-header-units.md index ed5ede8ebe9..18166707c77 100644 --- a/docs/build/walkthrough-header-units.md +++ b/docs/build/walkthrough-header-units.md @@ -1,7 +1,7 @@ --- description: "Learn more about C++ header units by converting a header file to a header unit by using Visual Studio 2019." title: "Walkthrough: Build and import header units in Visual C++ projects" -ms.date: "4/13/2021" +ms.date: "5/18/2021" ms.custom: "conceptual" author: "tylermsft" ms.author: "twhitney" @@ -66,7 +66,7 @@ In this example, you'll compile a header file as a header unit. Start by creatin #include - void PrintPythagoreanTriple(int a, int b) + inline void PrintPythagoreanTriple(int a, int b) { std::cout << "Pythagorean triple a:" << a << " b:" << b << " c:" << a*a + b*b << std::endl; }