Skip to content

Repo sync for protected CLA branch #3144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/build/reference/module-exportheader.md
Original file line number Diff line number Diff line change
@@ -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"]
Expand All @@ -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
Expand Down Expand Up @@ -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)
4 changes: 2 additions & 2 deletions docs/build/walkthrough-header-units.md
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -66,7 +66,7 @@ In this example, you'll compile a header file as a header unit. Start by creatin

#include <iostream>

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;
}
Expand Down