[PR #13368] [MERGED] Switch to VS17 and C++20 #29509

Open
opened 2026-01-31 09:35:20 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/13368
Author: @lhecker
Created: 6/23/2022
Status: Merged
Merged: 7/5/2022
Merged by: @undefined

Base: mainHead: dev/lhecker/cpp20


📝 Commits (3)

  • 866d88b Switch to VS17 and C++20
  • 7b841ee Address feedback
  • 0c517e4 Merge remote-tracking branch 'origin/main' into dev/lhecker/cpp20

📊 Changes

13 files changed (+33 additions, -40 deletions)

View changed files

📝 .github/actions/spelling/allow/allow.txt (+4 -4)
📝 .github/actions/spelling/patterns/patterns.txt (+1 -8)
📝 build/pipelines/release.yml (+3 -7)
📝 build/pipelines/templates/build-console-audit-job.yml (+1 -2)
📝 build/pipelines/templates/build-console-ci.yml (+2 -2)
📝 build/pipelines/templates/build-console-fuzzing.yml (+4 -5)
📝 build/pipelines/templates/build-console-pgo.yml (+3 -3)
📝 build/pipelines/templates/build-console-steps.yml (+0 -1)
📝 build/pipelines/templates/test-console-ci.yml (+2 -2)
📝 src/cascadia/WinRTUtils/inc/Utils.h (+3 -0)
📝 src/common.build.pre.props (+8 -5)
📝 src/project.inc (+1 -0)
📝 src/renderer/dx/DxFontRenderData.cpp (+1 -1)

📄 Description

C++20 goodies include:

  • 3-way comparison operator <=> and operator==() = default
  • designated initializers
  • constraints and concepts
  • abbreviated function templates (void foo(auto bar))
  • pack-expansions in lambda init-captures
  • heterogeneous lookups in unordered_set / unordered_map
  • consteval / constinit
  • starts_with / ends_with for string / string_view
  • midpoint, lerp
  • <bit>
  • <ranges>
  • <span>
  • <barrier>
  • <latch>
  • <semaphore>

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/13368 **Author:** [@lhecker](https://github.com/lhecker) **Created:** 6/23/2022 **Status:** ✅ Merged **Merged:** 7/5/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/lhecker/cpp20` --- ### 📝 Commits (3) - [`866d88b`](https://github.com/microsoft/terminal/commit/866d88b596a834236486335b243562cc67fe6ba6) Switch to VS17 and C++20 - [`7b841ee`](https://github.com/microsoft/terminal/commit/7b841ee21344b41fcd9620c94c3e50e2bc19a155) Address feedback - [`0c517e4`](https://github.com/microsoft/terminal/commit/0c517e4a49cc0b51f4fc12a6a469bbc2269cd7ce) Merge remote-tracking branch 'origin/main' into dev/lhecker/cpp20 ### 📊 Changes **13 files changed** (+33 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `.github/actions/spelling/allow/allow.txt` (+4 -4) 📝 `.github/actions/spelling/patterns/patterns.txt` (+1 -8) 📝 `build/pipelines/release.yml` (+3 -7) 📝 `build/pipelines/templates/build-console-audit-job.yml` (+1 -2) 📝 `build/pipelines/templates/build-console-ci.yml` (+2 -2) 📝 `build/pipelines/templates/build-console-fuzzing.yml` (+4 -5) 📝 `build/pipelines/templates/build-console-pgo.yml` (+3 -3) 📝 `build/pipelines/templates/build-console-steps.yml` (+0 -1) 📝 `build/pipelines/templates/test-console-ci.yml` (+2 -2) 📝 `src/cascadia/WinRTUtils/inc/Utils.h` (+3 -0) 📝 `src/common.build.pre.props` (+8 -5) 📝 `src/project.inc` (+1 -0) 📝 `src/renderer/dx/DxFontRenderData.cpp` (+1 -1) </details> ### 📄 Description C++20 goodies include: * 3-way comparison operator `<=>` and `operator==() = default` * designated initializers * constraints and concepts * abbreviated function templates (`void foo(auto bar)`) * pack-expansions in lambda init-captures * heterogeneous lookups in `unordered_set` / `unordered_map` * `consteval` / `constinit` * `starts_with` / `ends_with` for `string` / `string_view` * `midpoint`, `lerp` * `<bit>` * `<ranges>` * `<span>` * `<barrier>` * `<latch>` * `<semaphore>` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:35:20 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29509