Variadic Template args
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 126
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
So I don't really see the need for tuples as a language feature. SUS already has multi-output interfaces, which is a prime motivation for languages to include tuples.
However, for template arguments tuples are really handy. Could we instead provide variadic template types, such that we can pass multiple args together as one "template arg"?
The prime example is the FIFO, again.
myFIFO f
int x, double d, Vec3 v
f.push(x, d, v)
int y, double dd, Vec3 outV = f.pop()
Contributor guide
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 proposes variadic template types for passing multiple values together, using a FIFO as the example. No files, tests, or entry points are identified; first locate template argument handling and the FIFO implementation, then establish the intended semantics and tests for the feature.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100