microsoft / microsoft/STL

STL: Replace SFINAE with concepts in C++20-only code when all supported C++20 frontends support concepts

Open
#602 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
11.1k
Forks
1.7k
Avg merge
4d 15h
Merged PRs (30d)
22

Description

See #395. After that simple, mechanical change, we should audit all C++20-only code and replace SFINAE usage with concepts where possible. (#309 is an example where concepts should be used.)

Contributor guide

Open the contributing guide

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 reading #395 and the #309 example to understand the intended concepts migration and its prerequisites. Audit the repository's C++20-only code for SFINAE that can be replaced, then verify that supported C++20 frontends continue to build and that the applicable uses have been converted.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.