[std] Where template can be replaced with auto, or vice versa
Open
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 16h 4m
- Merged PRs (30d)
- 36
Description
Following the discussion at #4817, I searched the WD for &&... and found some places where these could be swapped.
- Use familiar template syntax for lambdas: [allocator.uses.construction], [allocator.adaptor.members], [range.utility.conv.to].
- Remove redundant parameter pack:
- [dcl.fct.def.coroutine]'s example.
- [unique.ptr.creation]'s
=deleted overloads. Perhaps useful for symmetry with the non-deleted overloads. - In containers: [deque.modifiers], [list.modifiers], [vector.modifiers], [vector.bool], [map.overview]'s
emplace{,_hint}, [multimap.overview], [set.overview], [multiset.overview], [unord.map.overview]'semplace{,_hint}, [unord.multimap.overview], [unord.set.overview], [unord.multiset.overview].
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the WD by searching for &&..., then inspect the listed clauses: allocator.uses.construction, allocator.adaptor.members, range.utility.conv.to, dcl.fct.def.coroutine, unique.ptr.creation, and the container sections. Done means applying the proposed template-versus-auto and redundant-parameter-pack changes consistently across the identified examples and overloads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100