consider moving requires-clause in a template-head onto the same line as the rest of the template-head where profitable
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 16h 4m
- Merged PRs (30d)
- 36
Description
At the moment, we always start a requires-clause in a template-head on a new line, eg:
template<typename T>
requires is_object_v<T>
struct something {
We should consider whether we can make declarations shorter without sacrificing readability by combining these on the same line:
template<typename T> requires is_object_v<T>
struct something {
Suggestion: someone should try it, produce some before/after screenshots, then we'll make a decision.
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
The issue names no file or test path; begin by locating the TeX formatting rule for a template-head requires-clause in the draft sources. Compare representative declarations with the clause on the same line and on a new line, then capture before/after screenshots. Done means a clear recommendation supported by those comparisons.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- tex
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100