Skip to content

Commit 9ca7634

Browse files
author
Colin Robertson
authored
Merge pull request #2693 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to master to sync with https://github.com/MicrosoftDocs/cpp-docs (branch master)
2 parents 7d31e76 + 25c024f commit 9ca7634

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/preprocessor/predefined-macros.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ MSVC supports these additional predefined macros.
252252
|Visual Studio 2019 version 16.1|1921|
253253
|Visual Studio 2019 version 16.2|1922|
254254
|Visual Studio 2019 version 16.3|1923|
255+
|Visual Studio 2019 version 16.4|1924|
256+
|Visual Studio 2019 version 16.5|1925|
257+
|Visual Studio 2019 version 16.6|1926|
255258
256259
To test for compiler releases or updates in a given version of Visual Studio or after, use the `>=` operator. You can use it in a conditional directive to compare `_MSC_VER` against that known version. If you have several mutually exclusive versions to compare, order your comparisons in descending order of version number. For example, this code checks for compilers released in Visual Studio 2017 and later. Next, it checks for compilers released in or after Visual Studio 2015. Then it checks for all compilers released before Visual Studio 2015:
257260

0 commit comments

Comments
 (0)