Skip to content

Commit 8338f77

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#1680 from e-kwsm/fix-typo
Fix typo
2 parents f15da7a + 979f599 commit 8338f77

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/build/reference/zc-noexcepttypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The C++17 standard makes `throw()` as an alias for `noexcept`, removes `throw(<t
1515
1616
## Remarks
1717

18-
When the **/Zc:noexceptTypes** option is specified, the compiler conforms to the C++17 standard and treats [throw()](../../cpp/exception-specifications-throw-cpp.md) as an alias for [noexcept](../../cpp/noexcept-cpp.md), removes `throw(<type list>)` and `throw(...)`, and allows certain types to include `noexcept`. The **/Zc:noexceptTypes** option is only available when [/std:c++17](std-specify-language-standard-version.md) or [/std:latest](std-specify-language-standard-version.md) is enabled. **/Zc:noexceptTypes** is enabled by default to conform to the ISO C++17 standard. The [/permissive-](permissive-standards-conformance.md) option does not affect **/Zc:noexceptTypes**. Turn this option off by specifying **/Zc:noexceptTypes-** to revert to the C++14 behavior of `noexcept` when **/std::C++17** or **/std::latest** is specified.
18+
When the **/Zc:noexceptTypes** option is specified, the compiler conforms to the C++17 standard and treats [throw()](../../cpp/exception-specifications-throw-cpp.md) as an alias for [noexcept](../../cpp/noexcept-cpp.md), removes `throw(<type list>)` and `throw(...)`, and allows certain types to include `noexcept`. The **/Zc:noexceptTypes** option is only available when [/std:c++17](std-specify-language-standard-version.md) or [/std:latest](std-specify-language-standard-version.md) is enabled. **/Zc:noexceptTypes** is enabled by default to conform to the ISO C++17 standard. The [/permissive-](permissive-standards-conformance.md) option does not affect **/Zc:noexceptTypes**. Turn this option off by specifying **/Zc:noexceptTypes-** to revert to the C++14 behavior of `noexcept` when **/std:c++17** or **/std:latest** is specified.
1919

2020
Beginning in Visual Studio 2017 version 15.5, the C++ compiler diagnoses more mismatched exception specifications in declarations in C++17 mode or when the [/permissive-](permissive-standards-conformance.md) option is specified.
2121

docs/cpp/constructors-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ Derived d4 calls: Base()*/
588588

589589
::: moniker range=">=vs-2017"
590590

591-
**Visual Studio 2017 version 15.7 and later**: The **using** statement in **/std:C++17** mode brings into scope all constructors from the base class except those that have an identical signature to constructors in the derived class. In general, it is best to use inheriting constructors when the derived class declares no new data members or constructors. See also [Improvements in Visual Studio 2017 version 15.7](https://docs.microsoft.com/cpp/overview/cpp-conformance-improvements?view=vs-2017#improvements_157).
591+
**Visual Studio 2017 version 15.7 and later**: The **using** statement in **/std:c++17** mode brings into scope all constructors from the base class except those that have an identical signature to constructors in the derived class. In general, it is best to use inheriting constructors when the derived class declares no new data members or constructors. See also [Improvements in Visual Studio 2017 version 15.7](https://docs.microsoft.com/cpp/overview/cpp-conformance-improvements?view=vs-2017#improvements_157).
592592

593593
::: moniker-end
594594

docs/windows/walkthrough-creating-a-standard-cpp-program-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can use Visual Studio to create Standard C++ programs. By following the step
1212
You can type your own C++ program or use one of the sample programs. The sample program in this walkthrough is a console application. This application uses the `set` container in the C++ Standard Library.
1313

1414
> [!NOTE]
15-
> If compliance with a specific version of the C++ language standard (i.e. C++14 or C++17) is required, use the `/std:C++14` or `/std:c++17` compiler option. (Visual Studio 2017 and later.)
15+
> If compliance with a specific version of the C++ language standard (i.e. C++14 or C++17) is required, use the `/std:c++14` or `/std:c++17` compiler option. (Visual Studio 2017 and later.)
1616
1717
## Prerequisites
1818

0 commit comments

Comments
 (0)