cplusplus / cplusplus/draft

Eliminate redundant use of typename throughout library P2150

Open
#3,637 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

big lwg
Dominant language
TeX
Stars
221
Forks
813
Avg merge
16h 4m
Merged PRs (30d)
36

Description

Following the adoption of http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0634r3.html many uses of ‘typename’ throughout the library are now redundant. They should be eliminated to provide a cleaner modern presentation of the standard library, much as when we switched from typedef to using.

Such a wide-reaching change is likely a policy decision to be approved by LWG, but application is more likely an editorial issue (requiring careful review) to avoid overloading precious LWG time.

Suggest this should be an issue for C++23 to avoid disrupting the imminent progress of C++20, and allowing adequate time for reviews. May consider updating one clause at a time, to ease review load.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the C++ standard library clauses affected by redundant uses of “typename” and the rationale in P0634R3. Work clause by clause, with careful editorial review; done means the redundant uses are removed consistently without disrupting the C++23 draft.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.