From 0de2b352dd0b29eef8c55378a87423fb79a9362a Mon Sep 17 00:00:00 2001 From: Taojunshen Date: Thu, 26 May 2022 01:33:52 +0800 Subject: [PATCH] 5/25/2022 AM Publish (#4309) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix issues in valarray content * Acrolinx pass * Fix description of Epilogue Count in ARM .xdata * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Clarify that `__vectorcall` is still decorated in x64 * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * Linker option updates 1 of N * Acrolinx pass * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Fix another typo * Consistency check * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * Test fix of issues found with pipe entities * Tweak an OR flag * I thought I'd fix one thing in valarray. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * Clean up ccs description, fix formatting * Address comment * Update formatting * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4290) * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * 5/16/2022 AM Publish (#4289) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * 5/17/2022 AM Publish (#4291) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Taojunshen Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> * Add note about supported windows versions to * Fix cpp-docs 3815 3898 3901 3902 * fix date * More pipey goodness. * possible 3910 fix, tweaks * Updates to address cpp-docs 3909 and 3910 * Updates per review * Update links * Fix pipe entities in standard-library articles * Fix typo * Fix review issues * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4298) * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * 5/16/2022 AM Publish (#4289) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * 5/17/2022 AM Publish (#4291) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Add note about supported windows versions to * 5/18/2022 AM Publish (#4293) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * Linker option updates 1 of N * Acrolinx pass * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Fix another typo * Consistency check * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. * Update formatting * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4290) * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * 5/16/2022 AM Publish (#4289) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * 5/17/2022 AM Publish (#4291) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Taojunshen Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> * Fix cpp-docs 3815 3898 3901 3902 * fix date Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Feng Xu Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> Co-authored-by: Haig MacGregor <92189915+hmacgregor1@users.noreply.github.com> * 5/19/2022 AM Publish (#4294) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * Linker option updates 1 of N * Acrolinx pass * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Fix another typo * Consistency check * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. * Update formatting * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4290) * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * 5/16/2022 AM Publish (#4289) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * 5/17/2022 AM Publish (#4291) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Taojunshen Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> * Fix cpp-docs 3815 3898 3901 3902 * fix date Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Feng Xu Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> Co-authored-by: Haig MacGregor <92189915+hmacgregor1@users.noreply.github.com> * 5/20/2022 AM Publish (#4297) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * Linker option updates 1 of N * Acrolinx pass * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Fix another typo * Consistency check * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. * Update formatting * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4290) * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * 5/16/2022 AM Publish (#4289) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * 5/17/2022 AM Publish (#4291) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Taojunshen Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> * Fix cpp-docs 3815 3898 3901 3902 * fix date * Updates to address cpp-docs 3909 and 3910 * Updates per review * Update links * Fix pipe entities in standard-library articles * Fix typo * Fix review issues Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Feng Xu Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> Co-authored-by: Haig MacGregor <92189915+hmacgregor1@users.noreply.github.com> Co-authored-by: PRMerger13 Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Taojunshen Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> Co-authored-by: Charles Barto Co-authored-by: Haig MacGregor <92189915+hmacgregor1@users.noreply.github.com> Co-authored-by: PRMerger13 * small edits * Address review comments. * Resolve syncing conflicts from FromPublicMasterBranch to main (#4302) * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * 5/16/2022 AM Publish (#4289) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * 5/17/2022 AM Publish (#4291) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Add note about supported windows versions to * 5/18/2022 AM Publish (#4293) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * Linker option updates 1 of N * Acrolinx pass * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Fix another typo * Consistency check * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. * Update formatting * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4290) * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * 5/16/2022 AM Publish (#4289) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * 5/17/2022 AM Publish (#4291) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Taojunshen Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> * Fix cpp-docs 3815 3898 3901 3902 * fix date Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Feng Xu Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> Co-authored-by: Haig MacGregor <92189915+hmacgregor1@users.noreply.github.com> * 5/19/2022 AM Publish (#4294) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * Linker option updates 1 of N * Acrolinx pass * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Fix another typo * Consistency check * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. * Update formatting * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4290) * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * 5/16/2022 AM Publish (#4289) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * 5/17/2022 AM Publish (#4291) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Taojunshen Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> * Fix cpp-docs 3815 3898 3901 3902 * fix date Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Feng Xu Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> Co-authored-by: Haig MacGregor <92189915+hmacgregor1@users.noreply.github.com> * 5/20/2022 AM Publish (#4297) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * Linker option updates 1 of N * Acrolinx pass * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Fix another typo * Consistency check * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. * Update formatting * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4290) * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * 5/16/2022 AM Publish (#4289) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * 5/17/2022 AM Publish (#4291) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Taojunshen Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> * Fix cpp-docs 3815 3898 3901 3902 * fix date * Updates to address cpp-docs 3909 and 3910 * Updates per review * Update links * Fix pipe entities in standard-library articles * Fix typo * Fix review issues Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: Feng Xu Co-authored-by: branh Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> Co-authored-by: Haig MacGregor <92189915+hmacgregor1@users.noreply.github.com> Co-authored-by: PRMerger13 * 5/23/2022 AM Publish (#4301) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * Linker option updates 1 of N * Acrolinx pass * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Fix another typo * Consistency check * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review * I thought I'd fix one thing in valarray. * Update formatting * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4290) * Clarify master and single directives. A customer reported that the Remarks section for the master and single directives was confusing. Updated to make it clear that the reference to single in the remarks for master and the reference to master in the remarks for single are suggesting alternatives. Have to use 'master' instead of 'main' here because that it is an OpenMP keyword. * Fixed __vmx_on parameter being incorrect according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named. * 5/16/2022 AM Publish (#4289) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work in progress for 17.2 release * Followup cpp-docs 3871 in linker opts * Fix grammar and formatting issues * Update latest-supported-vc-redist.md In the line 35, at the very end removed an extra dot. * Fix alarming bidi description * text tweaks * bug fix: 1536384 note implicit compiler flag that is set when using header units. Also, update how null is specified. * fix flag casing * Address cpp-docs 3857 3865 3877 3882 * simplify code example-related to github #3847 (#4272) * simplify code example-related to github #3847 * right justify output * Update docs/c-runtime-library/reference/getdiskfree.md Co-authored-by: TylerMSFT Co-authored-by: Shannon Leavitt * address feedback * Recreate Lauren's /TIME update * fix for github 3787 * Fix formatting. * acrolinx pass * more acrolinx * Added example program outputs + fixed `equal_range` example compile errors (#3892) * Added a space to maintain style consistency (#3892) * Added new line to output section of max (#3892) * Adding another new line to output section of max (#3892) * tech feedback * Tweak issue templates * Add two new templates for new doc work Templates for doc work for new standards conformance in the compiler and tools. * Fix merge issues * Fix typo * Updated per comments * Clean up more html escaped pipe chars * Remove more pipe html entities * Bulk fix continued of pipe html entities * Bulk fix of pipe html entities 5 of N * Bulk fix pipe html entities 6 of N * Slight Acrolinx pass * Remove some | ('|') HTML entities in docs (#4038) * Remove some | ('|') HTML entities in docs * Another group of files * Fixes after testing * Tweaks per review Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Steve Wishnousky Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 * Update date, formatting * Use 'main' instead of 'master' where possible. * Use 'main' instead of 'master' in all documentation where possible. * 5/17/2022 AM Publish (#4291) * Fix issues in valarray content * Acrolinx pass * Update scanf %c to mention field width As part of UCRT refactoring, we introduced an undocumented breaking change that follows the C standard that changed out %c specifier from following the usual rules for field width to using the standardized exception for the %c specifier. We should document it. * Broken link fixed * Broken link fixed * Update dynamicbase.md arm32 and arm64 is not supported for this linker switch as ASLR cannot be disabled for these architectures. * update code examples * offer an alternative project type * fix for github #3859 * acrolinx * Clarify per Russ' comments Also update date and add formatting to current standard. * Work i… * Fix typo in OMP_NESTED default value description It previously referred to OMP_DYNAMIC * Update cmake-projects-in-visual-studio.md * Updates for cpp-docs issues (#4304) * Address cpp-docs issues of 20220523 * Add more fixes * Add 17.2 notes summary * Add 3875, more 3919 * Acrolinx * Make grammar checker happy Co-authored-by: 3836425+corob-msft@users.noreply.github.com Co-authored-by: Jinoh Kang Co-authored-by: Steve Wishnousky Co-authored-by: Gary Guo Co-authored-by: opbld17 Co-authored-by: Pritam Ovhal <31490724+pritamso@users.noreply.github.com> Co-authored-by: Lauren Prinn Co-authored-by: PRMerger16 Co-authored-by: TylerMSFT Co-authored-by: PRMerger4 Co-authored-by: Tamara K <93546702+tamarakhader@users.noreply.github.com> Co-authored-by: Matin Sasanpour Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: opbld15 Co-authored-by: Dennis Rea Co-authored-by: Colin Cooper <72402153+v-ccolin@users.noreply.github.com> Co-authored-by: Carolyn McSharry Co-authored-by: branh Co-authored-by: PRMerger12 Co-authored-by: Tyler Whitney Co-authored-by: Shannon Leavitt Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Brandon Co-authored-by: PRMerger3 Co-authored-by: opbld16 Co-authored-by: PRMerger14 Co-authored-by: PRMerger5 Co-authored-by: PRMerger8 Co-authored-by: sariaki <69108436+sariaki@users.noreply.github.com> Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> Co-authored-by: Feng Xu Co-authored-by: Charles Barto Co-authored-by: Haig MacGregor <92189915+hmacgregor1@users.noreply.github.com> Co-authored-by: PRMerger13 Co-authored-by: PRMerger18 Co-authored-by: Laura Brenner <90344170+laurabren@users.noreply.github.com> Co-authored-by: Diego Gómez Cota <38957780+diegomezcota@users.noreply.github.com> Co-authored-by: Bob Brown --- docs/build/arm-exception-handling.md | 2 +- docs/build/cmake-projects-in-visual-studio.md | 2 +- ...or-use-in-c-or-cpp-language-executables.md | 24 +++++++------- docs/build/reference/decorated-names.md | 2 +- .../showincludes-list-include-files.md | 4 +-- docs/code-quality/c26495.md | 14 ++++----- docs/cpp/dllexport-dllimport.md | 28 ++++++++--------- docs/cpp/welcome-back-to-cpp-modern-cpp.md | 2 +- .../compiler-warning-level-1-c4273.md | 15 ++++++--- .../tool-errors/linker-tools-error-lnk1112.md | 10 +++--- ...t-s-new-for-visual-cpp-in-visual-studio.md | 31 +++++++++++++++++-- .../reference/openmp-environment-variables.md | 2 +- 12 files changed, 81 insertions(+), 55 deletions(-) diff --git a/docs/build/arm-exception-handling.md b/docs/build/arm-exception-handling.md index 65c46a9b959..f2f9b9a13e6 100644 --- a/docs/build/arm-exception-handling.md +++ b/docs/build/arm-exception-handling.md @@ -166,7 +166,7 @@ When the packed unwind format is insufficient to describe the unwinding of a fun |0|20|*X* is a 1-bit field that indicates the presence (1) or absence (0) of exception data.| |0|21|*`E`* is a 1-bit field that indicates that information that describes a single epilogue is packed into the header (1) rather than requiring additional scope words later (0).| |0|22|*F* is a 1-bit field that indicates that this record describes a function fragment (1) or a full function (0). A fragment implies that there's no prologue and that all prologue processing should be ignored.| - |0|23-27|*Epilogue Count* is a 5-bit field that has two meanings, depending on the state of the *`E`* bit:

- If *`E`* is 0, this field is a count of the total number of exception scopes described in section 3. If more than 31 scopes exist in the function, then this field and the *Code Words* field must both be set to 0 to indicate that an extension word is required.
- If *`E`* is 1, this field specifies the index of the first unwind code that describes the only epilogue.| + |0|23-27|*Epilogue Count* is a 5-bit field that has two meanings, depending on the state of the *`E`* bit:

- If *`E`* is 0, this field is a count of the total number of epilogue scopes described in section 2. If more than 31 scopes exist in the function, then this field and the *Code Words* field must both be set to 0 to indicate that an extension word is required.
- If *`E`* is 1, this field specifies the index of the first unwind code that describes the only epilogue.| |0|28-31|*Code Words* is a 4-bit field that specifies the number of 32-bit words required to contain all of the unwind codes in section 4. If more than 15 words are required for more than 63 unwind code bytes, this field and the *Epilogue Count* field must both be set to 0 to indicate that an extension word is required.| |1|0-15|*Extended Epilogue Count* is a 16-bit field that provides more space for encoding an unusually large number of epilogues. The extension word that contains this field is only present if the *Epilogue Count* and *Code Words* fields in the first header word are both set to 0.| |1|16-23|*Extended Code Words* is an 8-bit field that provides more space for encoding an unusually large number of unwind code words. The extension word that contains this field is only present if the *Epilogue Count* and *Code Words* fields in the first header word are both set to 0.| diff --git a/docs/build/cmake-projects-in-visual-studio.md b/docs/build/cmake-projects-in-visual-studio.md index 9ff50e780cf..5caf892144e 100644 --- a/docs/build/cmake-projects-in-visual-studio.md +++ b/docs/build/cmake-projects-in-visual-studio.md @@ -39,7 +39,7 @@ When you **open a folder** containing a *`CMakeLists.txt`* file, the following t - In the background, Visual Studio starts to index the source files to enable IntelliSense, browsing information, refactoring, and so on. As you work, Visual Studio monitors changes in the editor and also on disk to keep its index in sync with the sources. > [!NOTE] -> Starting in Visual Studio 2022 version 17.1 Preview 2, if your folder doesn't contain a root `CMakeLists.txt` you'll be prompted whether you'd like to enable CMake integration or not. For more information, see [CMake partial activation](#cmake-partial-activation). +> Starting in Visual Studio 2022 version 17.1 Preview 2, if your top-level `CMakeLists.txt` exists in a subfolder and not at the root of the workspace, you'll be prompted whether you'd like to enable CMake integration or not. For more information, see [CMake partial activation](#cmake-partial-activation). Once CMake cache generation has succeeded, you can also view your projects organized logically by targets. Choose the **Select View** button on the **Solution Explorer** toolbar. From the list in **Solution Explorer - Views**, select **CMake Targets View** and press **Enter** to open the targets view: diff --git a/docs/build/exporting-c-functions-for-use-in-c-or-cpp-language-executables.md b/docs/build/exporting-c-functions-for-use-in-c-or-cpp-language-executables.md index ae89cbf0979..2386881514b 100644 --- a/docs/build/exporting-c-functions-for-use-in-c-or-cpp-language-executables.md +++ b/docs/build/exporting-c-functions-for-use-in-c-or-cpp-language-executables.md @@ -1,15 +1,15 @@ --- -description: "Learn more about: Exporting C Functions for Use in C or C++ Language Executables" -title: "Exporting C Functions for Use in C or C++ Language Executables" -ms.date: "11/04/2016" +description: "Learn more about: Exporting C functions for use in C or C++ language executables" +title: "Export C functions for use in C or C++ language executables" +ms.date: 05/24/2022 helpviewer_keywords: ["functions [C], exporting", "functions [C], C or C++ executables and", "__cplusplus macro", "exporting DLLs [C++], C functions in C++ executables", "exporting functions [C++], C functions in C++ executables"] ms.assetid: b51d6e5e-37cf-4c1c-b0bf-fcf188c82f00 --- -# Exporting C Functions for Use in C or C++ Language Executables +# Export C functions for use in C or C++ language executables -If you have functions in a DLL written in C that you want to access from a C language or C++ language module, you should use the **__cplusplus** preprocessor macro to determine which language is being compiled, and then declare these functions with C linkage if being used from a C++ language module. If you use this technique and provide header files for your DLL, these functions can be used by C and C++ users with no change. +If you have functions in a DLL written in C, you can use a preprocessor macro to make them easy to access from both C language and C++ language code. The **`__cplusplus`** preprocessor macro indicates which language is being compiled. You may use it to declare the functions with C linkage when called from C++ language code. If you use this technique and provide header files for your DLL, these functions can be used by C and C++ users with no change. -The following code shows a header file that can be used by C and C++ client applications: +The following code shows a header file that both C and C++ client applications can use: ```h // MyCFuncs.h @@ -26,7 +26,7 @@ __declspec( dllimport ) void AnotherCFunc(); #endif ``` -If you need to link C functions to your C++ executable and the function declaration header files have not used the above technique, in the C++ source file, do the following to prevent the compiler from decorating the C function names: +Sometimes you may need to link C functions to your C++ executable, but the function declaration header files haven't used the above technique. You can still call the functions from C++. In the C++ source file, wrap the `#include` directive to prevent the compiler from decorating the C function names: ```cpp extern "C" { @@ -36,15 +36,15 @@ extern "C" { ## What do you want to do? -- [Export from a DLL using .def files](exporting-from-a-dll-using-def-files.md) +- [Export from a DLL using `.def` files](exporting-from-a-dll-using-def-files.md) -- [Export from a DLL using __declspec(dllexport)](exporting-from-a-dll-using-declspec-dllexport.md) +- [Export from a DLL using `__declspec(dllexport)`](exporting-from-a-dll-using-declspec-dllexport.md) -- [Export and import using AFX_EXT_CLASS](exporting-and-importing-using-afx-ext-class.md) +- [Export and import using `AFX_EXT_CLASS`](exporting-and-importing-using-afx-ext-class.md) - [Determine which exporting method to use](determining-which-exporting-method-to-use.md) -- [Import into an application using __declspec(dllimport)](importing-into-an-application-using-declspec-dllimport.md) +- [Import into an application using `__declspec(dllimport)`](importing-into-an-application-using-declspec-dllimport.md) - [Initialize a DLL](run-time-library-behavior.md#initializing-a-dll) @@ -52,7 +52,7 @@ extern "C" { - [Decorated names](reference/decorated-names.md) -- [Using extern to Specify Linkage](../cpp/extern-cpp.md) +- [Using `extern` to specify linkage](../cpp/extern-cpp.md) ## See also diff --git a/docs/build/reference/decorated-names.md b/docs/build/reference/decorated-names.md index 70a2e2d05d2..f4f07662c7a 100644 --- a/docs/build/reference/decorated-names.md +++ b/docs/build/reference/decorated-names.md @@ -47,7 +47,7 @@ The function and class names are encoded in the decorated name. The rest of the ## Format of a C decorated name -The form of decoration for a C function depends on the calling convention used in its declaration, as shown in the following table. This is also the decoration format that is used when C++ code is declared to have `extern "C"` linkage. The default calling convention is **`__cdecl`**. Note that in a 64-bit environment, functions are not decorated. +The form of decoration for a C function depends on the calling convention used in its declaration, as shown in the following table. It's also the decoration format that's used when C++ code is declared to have `extern "C"` linkage. The default calling convention is **`__cdecl`**. In a 64-bit environment, C or `extern "C"` functions are only decorated when using the `__vectorcall` calling convention. |Calling convention|Decoration| |------------------------|----------------| diff --git a/docs/build/reference/showincludes-list-include-files.md b/docs/build/reference/showincludes-list-include-files.md index 86a35f799f9..ced65322f79 100644 --- a/docs/build/reference/showincludes-list-include-files.md +++ b/docs/build/reference/showincludes-list-include-files.md @@ -1,7 +1,7 @@ --- description: "Learn more about: /showIncludes (List include files)" title: "/showIncludes (List include files)" -ms.date: 04/15/2021 +ms.date: 05/24/2022 f1_keywords: ["VC.Project.VCCLWCECompilerTool.ShowIncludes", "VC.Project.VCCLCompilerTool.ShowIncludes", "/showincludes"] helpviewer_keywords: ["include files", "/showIncludes compiler option [C++]", "include files, displaying in compilation", "-showIncludes compiler option [C++]", "showIncludes compiler option [C++]"] --- @@ -30,8 +30,6 @@ Note: including file: d:\temp\2.h In this case, *`2.h`* was included from within *`1.h`*, causing the indentation. -The **`/showIncludes`** option emits to `stderr`, not `stdout`. - ### To set this compiler option in the Visual Studio development environment 1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md). diff --git a/docs/code-quality/c26495.md b/docs/code-quality/c26495.md index 2ebf6ece1bb..40152b8b05a 100644 --- a/docs/code-quality/c26495.md +++ b/docs/code-quality/c26495.md @@ -1,6 +1,6 @@ --- title: C26495 -ms.date: 03/22/2018 +ms.date: 05/23/2022 ms.topic: reference f1_keywords: ["C26495"] helpviewer_keywords: ["C26495"] @@ -8,11 +8,11 @@ description: CppCoreCheck rule that enforces C++ Core Guidelines Type.6 --- # C26495 MEMBER_UNINIT -Variable '%variable%' is uninitialized. Always initialize a member variable (type.6). +> Variable '*identifier*' is uninitialized. Always initialize a member variable (type.6). -## See also +## Remarks -C++ Core Guidelines [Type.6](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#SS-type) and [C.48](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c48-prefer-in-class-initializers-to-member-initializers-in-constructors-for-constant-initializers) +A member variable isn't initialized by a constructor or by an initializer. Make sure all variables are initialized by the end of construction. For more information, see C++ Core Guidelines [Type.6](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#SS-type) and [C.48](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c48-prefer-in-class-initializers-to-member-initializers-in-constructors-for-constant-initializers). ## Example @@ -20,16 +20,16 @@ C++ Core Guidelines [Type.6](https://github.com/isocpp/CppCoreGuidelines/blob/ma struct MyStruct { int value; - MyStruct() {}; // C26495, MyStruct::value is uninitialized + MyStruct() {} // C26495, MyStruct::value is uninitialized }; ``` -To fix the warning, add in-class initializers to all of the member variables. See the above linked C++ Core Guidelines pages for additional information. +To fix the warning, add in-class initialization to all of the member variables: ```cpp struct MyStruct { int value{}; - MyStruct() {}; // no warning, MyStruct::value is set via default member initialization + MyStruct() {} // no warning, MyStruct::value is set via default member initialization }; ``` diff --git a/docs/cpp/dllexport-dllimport.md b/docs/cpp/dllexport-dllimport.md index 5146083a11f..be9b5b3b3bd 100644 --- a/docs/cpp/dllexport-dllimport.md +++ b/docs/cpp/dllexport-dllimport.md @@ -1,12 +1,12 @@ --- description: "Learn more about: dllexport, dllimport" title: "dllexport, dllimport" -ms.date: "11/04/2016" +ms.date: 05/24/2022 f1_keywords: ["dllimport_cpp", "dllexport_cpp"] helpviewer_keywords: ["dllexport __declspec keyword", "__declspec keyword [C++], dllexport", "dllimport __declspec keyword", "__declspec keyword [C++], dllimport"] ms.assetid: ff95b645-ef55-4e72-b848-df44657b3208 --- -# dllexport, dllimport +# `dllexport`, `dllimport` **Microsoft Specific** @@ -14,20 +14,18 @@ The **`dllexport`** and **`dllimport`** storage-class attributes are Microsoft-s ## Syntax -``` - __declspec( dllimport ) declarator - __declspec( dllexport ) declarator -``` +> **`__declspec( dllimport )`** *`declarator`*\ +> **`__declspec( dllexport )`** *`declarator`* ## Remarks -These attributes explicitly define the DLL's interface to its client, which can be the executable file or another DLL. Declaring functions as **`dllexport`** eliminates the need for a module-definition (.def) file, at least with respect to the specification of exported functions. The **`dllexport`** attribute replaces the **__export** keyword. +These attributes explicitly define the DLL's interface to its client, which can be the executable file or another DLL. Declaring functions as **`dllexport`** eliminates the need for a module-definition (`.def`) file, at least with respect to the specification of exported functions. The **`dllexport`** attribute replaces the **`__export`** keyword. -If a class is marked declspec(dllexport), any specializations of class templates in the class hierarchy are implicitly marked as declspec(dllexport). This means that class templates are explicitly instantiated and the class's members must be defined. +If a class is marked `__declspec(dllexport)`, any specializations of class templates in the class hierarchy are implicitly marked as `__declspec(dllexport)`. It means that class templates are explicitly instantiated and the class's members must be defined. -**`dllexport`** of a function exposes the function with its decorated name. For C++ functions, this includes name mangling. For C functions or functions that are declared as `extern "C"`, this includes platform-specific decoration that's based on the calling convention. For information on name decoration in C/C++ code, see [Decorated Names](../build/reference/decorated-names.md). No name decoration is applied to exported C functions or C++ `extern "C"` functions using the **`__cdecl`** calling convention. +**`dllexport`** of a function exposes the function with its decorated name, sometimes known as "name mangling". For C++ functions, the decorated name includes extra characters that encode type and parameter information. C functions or functions that are declared as `extern "C"` include platform-specific decoration that's based on the calling convention. No name decoration is applied to exported C functions or C++ `extern "C"` functions that use the **`__cdecl`** calling convention. For more information on name decoration in C/C++ code, see [Decorated names](../build/reference/decorated-names.md). -To export an undecorated name, you can link by using a Module Definition (.def) file that defines the undecorated name in an EXPORTS section. For more information, see [EXPORTS](../build/reference/exports.md). Another way to export an undecorated name is to use a `#pragma comment(linker, "/export:alias=decorated_name")` directive in the source code. +To export an undecorated name, you can link by using a Module Definition (`.def`) file that defines the undecorated name in an `EXPORTS` section. For more information, see [`EXPORTS`](../build/reference/exports.md). Another way to export an undecorated name is to use a `#pragma comment(linker, "/export:alias=decorated_name")` directive in the source code. When you declare **`dllexport`** or **`dllimport`**, you must use [extended attribute syntax](../cpp/declspec.md) and the **`__declspec`** keyword. @@ -53,17 +51,17 @@ DllExport int n; For more information, see: -- [Definitions and Declarations](../cpp/definitions-and-declarations-cpp.md) +- [Definitions and declarations](../cpp/definitions-and-declarations-cpp.md) -- [Defining Inline C++ Functions with dllexport and dllimport](../cpp/defining-inline-cpp-functions-with-dllexport-and-dllimport.md) +- [Defining inline C++ functions with `dllexport` and `dllimport`](../cpp/defining-inline-cpp-functions-with-dllexport-and-dllimport.md) -- [General Rules and Limitations](../cpp/general-rules-and-limitations.md) +- [General rules and limitations](../cpp/general-rules-and-limitations.md) -- [Using dllimport and dllexport in C++ Classes](../cpp/using-dllimport-and-dllexport-in-cpp-classes.md) +- [Using `dllimport` and `dllexport` in C++ classes](../cpp/using-dllimport-and-dllexport-in-cpp-classes.md) **END Microsoft Specific** ## See also -[__declspec](../cpp/declspec.md)
+[`__declspec`](../cpp/declspec.md)\ [Keywords](../cpp/keywords-cpp.md) diff --git a/docs/cpp/welcome-back-to-cpp-modern-cpp.md b/docs/cpp/welcome-back-to-cpp-modern-cpp.md index 89171ccdd86..d7466804304 100644 --- a/docs/cpp/welcome-back-to-cpp-modern-cpp.md +++ b/docs/cpp/welcome-back-to-cpp-modern-cpp.md @@ -142,7 +142,7 @@ Macros in C and C++ are tokens that are processed by the preprocessor before com constexpr int size = 10; // modern C++ ``` -### Uniform initialization +## Uniform initialization In modern C++, you can use brace initialization for any type. This form of initialization is especially convenient when initializing arrays, vectors, or other containers. In the following example, `v2` is initialized with three instances of `S`. `v3` is initialized with three instances of `S` that are themselves initialized using braces. The compiler infers the type of each element based on the declared type of `v3`. diff --git a/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4273.md b/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4273.md index 6cefa5432ad..4bd91a8079a 100644 --- a/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4273.md +++ b/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4273.md @@ -1,20 +1,20 @@ --- description: "Learn more about: Compiler Warning (level 1) C4273" title: "Compiler Warning (level 1) C4273" -ms.date: "11/04/2016" +ms.date: 05/23/2022 f1_keywords: ["C4273"] helpviewer_keywords: ["C4273"] ms.assetid: cc18611d-9454-40a4-ad73-69823d5888fb --- # Compiler Warning (level 1) C4273 -'function' : inconsistent DLL linkage +> '*function*' : inconsistent DLL linkage -Two definitions in a file differ in their use of [dllimport](../../cpp/dllexport-dllimport.md). +Two definitions in a file differ in their use of [`dllimport`](../../cpp/dllexport-dllimport.md). ## Examples -The following sample generates C4273. +The following sample generates C4273, and shows how to fix it. ```cpp // C4273.cpp @@ -23,7 +23,7 @@ char __declspec(dllimport) c; char c; // C4273, delete this line or the line above to resolve ``` -The following sample generates C4273. +The following sample generates C4273. To fix it, delete the redeclaration of `printf_s`. ```cpp // C4273_b.cpp @@ -31,3 +31,8 @@ The following sample generates C4273. #include extern "C" int printf_s(const char *, ...); // C4273 ``` + +## See also + +[`dllexport`, `dllimport`](../../cpp/dllexport-dllimport.md)\ +[Export C functions for use in C or C++ language executables](../../build/exporting-c-functions-for-use-in-c-or-cpp-language-executables.md) diff --git a/docs/error-messages/tool-errors/linker-tools-error-lnk1112.md b/docs/error-messages/tool-errors/linker-tools-error-lnk1112.md index 6582032632c..0e62d587977 100644 --- a/docs/error-messages/tool-errors/linker-tools-error-lnk1112.md +++ b/docs/error-messages/tool-errors/linker-tools-error-lnk1112.md @@ -1,7 +1,7 @@ --- description: "Learn more about: Linker Tools Error LNK1112" title: "Linker Tools Error LNK1112" -ms.date: "11/04/2016" +ms.date: 05/23/2022 f1_keywords: ["LNK1112"] helpviewer_keywords: ["LNK1112"] ms.assetid: 425793d8-37e6-4072-9b6e-c3d4e9c12562 @@ -12,16 +12,16 @@ ms.assetid: 425793d8-37e6-4072-9b6e-c3d4e9c12562 ## Remarks -The object files specified as input were compiled for different computer types. +The object files specified as input were compiled for a different target platform. -For example, if you try to link an object file compiled with **/clr** and an object file compiled with **/clr:pure** (machine type CEE), the linker will generate the error LNK1112. The **/clr:pure** compiler option is deprecated in Visual Studio 2015 and unsupported in Visual Studio 2017. +For example, if you try to link an object file compiled with **`/clr`** and an object file compiled with **`/clr:pure`** (machine type CEE), the linker will generate the error LNK1112. The **`/clr:pure`** compiler option is deprecated in Visual Studio 2015 and unsupported in Visual Studio 2017. Similarly, if you create one module with the x64 compiler and another module with the x86 compiler, and try to link them, the linker will generate LNK1112. -A possible reason for this error is if you are developing a 64-bit application but have not installed one of the Visual C++ 64-bit compilers. In this case, 64-bit configurations will not be available. To fix this issue, run the installer for Visual Studio and install the missing C++ components. +A possible reason for this error is if you're developing a 64-bit application but haven't installed one of the Visual C++ 64-bit compilers. Or, you're targeting an ARM or ARM64 platform, but you don't have the ARM or ARM64 build tools installed. To fix this issue, run the Visual Studio Installer and install the missing C++ components. This error can also occur if you change the **Active solution configuration** in the **Configuration Manager** and then try to build the project before you delete the intermediate project files. To resolve this error, select **Rebuild Solution** from the **Build** menu. You can also select **Clean Solution** from the **Build** menu and then build the solution. ## See also -- [Linker Tools Errors and Warnings](../../error-messages/tool-errors/linker-tools-errors-and-warnings.md) +- [Linker tools errors and warnings](../../error-messages/tool-errors/linker-tools-errors-and-warnings.md) diff --git a/docs/overview/what-s-new-for-visual-cpp-in-visual-studio.md b/docs/overview/what-s-new-for-visual-cpp-in-visual-studio.md index f7201f900ec..10169c5fb1f 100644 --- a/docs/overview/what-s-new-for-visual-cpp-in-visual-studio.md +++ b/docs/overview/what-s-new-for-visual-cpp-in-visual-studio.md @@ -1,7 +1,7 @@ --- title: "What's new for C++ in Visual Studio" description: "The new features and fixes in the Microsoft C/C++ compiler and tools in Visual Studio." -ms.date: 02/15/2022 +ms.date: 05/24/2022 ms.technology: "cpp-ide" ms.custom: intro-whats-new --- @@ -9,9 +9,34 @@ ms.custom: intro-whats-new Visual Studio 2022 brings many updates and fixes to the Microsoft C++ environment. We've added features and fixed many bugs and issues in the compiler and tools. The Visual Studio IDE also offers significant improvements in performance and productivity, and now runs natively as a 64-bit application. For more information on what's new in all of Visual Studio, visit [What's new in Visual Studio 2022](/visualstudio/ide/whats-new-visual-studio-2022?view=vs-2022&preserve-view=true). For information about what's new in the C++ docs, see [Microsoft C++ docs: What's new](whats-new-cpp-docs.md). +## What's new for C++ in Visual Studio version 17.2 + +For a summary of new features and bug fixes in Visual Studio, see [What's New in Visual Studio 2022 version 17.2](/visualstudio/releases/2022/release-notes). + +- Added compiler support for C++23 feature [deducing `this`](https://wg21.link/p0847), available under the **`/std:c++latest`** option. + +- Added IntelliSense support for C++23 features [deducing `this`](https://wg21.link/p0847) and [`if consteval`](http://wg21.link/p1938). + +- Added inline parameter name and type hint support, toggled by pressing **Alt+F1** or double-tapping **Ctrl**. This behavior can be customized under **Tools > Options > Text Editors > C/C++ > IntelliSense**. + +- Added experimental support for C++20 modules in CMake projects. This support is currently only available with the Visual Studio (MSBuild) generator. + +- In 17.1, we introduced peripheral register and RTOS views for embedded developers. We continue to improve the capabilities of those views with usability improvements in 17.2: + - The RTOS tool window is now hidden by default. It prevents showing a tool window with error messages that aren't relevant when you're not using an RTOS. + - When you double click on an RTOS object in the tool window, it adds a watch for the object. + - When you select the start and end values for the stack pointer in the RTOS tool window, it's opened in the memory window. + - We've added thread awareness for device targets to the call stack window. + - Users can now select a pin icon next to peripherals, registers, or fields to pin them the top of the Peripheral View. + +- We've added implementations of the remaining C++20 defect reports (also known as *backports*). All C++20 features are now available under the **`/std:c++20 `** option. For more information about the implemented backports, see the [C++20 Defect Reports project](https://github.com/microsoft/STL/projects/9) in the Microsoft/STL GitHub repository and the [MSVC's STL Completes `/std:c++20`](https://devblogs.microsoft.com/cppblog/msvcs-stl-completes-stdc20/) blog post. + +- We added various C++23 Library features, available under the **`/std:c++latest`** option. For more information about the new features, see the [STL Repo changelog](https://github.com/microsoft/STL/wiki/Changelog). + +- Improved performance of the initial C++ indexing by up to 20%, depending on the depth of the include graph. + ## What's new for C++ in Visual Studio version 17.1 -For a summary of new features and bug fixes in Visual Studio, see [What's New in Visual Studio 2022 version 17.1](/visualstudio/releases/2022/release-notes). +For a summary of new features and bug fixes in Visual Studio, see [What's New in Visual Studio 2022 version 17.1](/visualstudio/releases/2022/release-notes-v17.1). - A new **Configure Preset** template has been added to configure and build CMake projects on a remote macOS system with *`CMakePresets.json`*. You can also launch CMake targets on a remote macOS system, and then debug remotely in the Visual Studio debugger backed by GDB or LLDB. @@ -27,7 +52,7 @@ For a summary of new features and bug fixes in Visual Studio, see [What's New in ## What's new for C++ in Visual Studio version 17.0 -For a summary of new features and bug fixes in Visual Studio, see [What's New in Visual Studio 2022 version 17.0](/visualstudio/releases/2022/release-notes). +For a summary of new features and bug fixes in Visual Studio, see [What's New in Visual Studio 2022 version 17.0](/visualstudio/releases/2022/release-notes-v17.0). - The Visual Studio IDE, *`devenv.exe`*, is now a native 64-bit application. diff --git a/docs/parallel/openmp/reference/openmp-environment-variables.md b/docs/parallel/openmp/reference/openmp-environment-variables.md index ca39f87f85b..087091f4d39 100644 --- a/docs/parallel/openmp/reference/openmp-environment-variables.md +++ b/docs/parallel/openmp/reference/openmp-environment-variables.md @@ -61,7 +61,7 @@ set OMP_NESTED[=TRUE | =FALSE] The `OMP_NESTED` environment variable can be overridden by the [omp_set_nested](openmp-functions.md#omp-set-nested) function. -The default value in the Visual C++ implementation of the OpenMP standard is `OMP_DYNAMIC=FALSE`. +The default value in the Visual C++ implementation of the OpenMP standard is `OMP_NESTED=FALSE`. For more information, see [4.4 OMP_NESTED](../4-environment-variables.md#44-omp_nested).