Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@achabense
Copy link
Contributor

@achabense achabense commented Jul 20, 2023

The headers newly introduced in C++20 are:

<bit>
<compare>
<concepts>
<coroutine>
<format>
<numbers>
<ranges>
<source_location>
<span>
<syncstream>
<version>
<barrier>
<latch>
<semaphore>
<stop_token>

The headers that contain typename are:

<compare>: Removes two `typename` in `using` clauses; one left as necessary.
<concepts>: All necessary.
<coroutine>: X(Removes one in `using` clause; one left as necessary) update: kept unchanged
<format>: Tackled in last pr.
<numbers>: Removes the only one.
<ranges>: Removes those in `using` clause; the rest(a lot) are necessary.
<span>: All necessary.
<syncstream>: Removes those in `using` clause; one left as necessary.

Also removes all typename in <stacktrace>

Works towards #3718.

@achabense achabense requested a review from a team as a code owner July 20, 2023 19:50
@CaseyCarter CaseyCarter added the enhancement Something can be improved label Jul 20, 2023
@StephanTLavavej
Copy link
Member

Thanks! BTW I have changes to clean up all other headers, I will create a separate PR.

@StephanTLavavej StephanTLavavej changed the title Remove unnecessary typenames for all standard headers introduced in C++20 Remove unnecessary typenames for all standard headers introduced in C++20 Jul 20, 2023
@CaseyCarter CaseyCarter removed their assignment Jul 20, 2023
@StephanTLavavej StephanTLavavej self-assigned this Jul 25, 2023
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 70551bd into microsoft:main Jul 26, 2023
@StephanTLavavej
Copy link
Member

Thanks for these additional typename cleanups! 📈 🧹 😻

@achabense achabense deleted the _Typename_cleanup_for_cpp20_std_headers branch July 30, 2023 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants