Expand constexpr vector testing
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 1.7k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 22
Description
GH-1407 implements constexpr std::vector (#45) along with basic test coverage for the various constexpr-ized vector functions. However, the test coverage regarding allocators is a little light. There is currently coverage that observes how many copies of the allocator are made, but not not testing non-equal allocators.
Once we finish up the initial implementations of all C++20 features, we should revisit #45 and improve test coverage here.
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
Start by reading GH-1407 and #45, then locate the existing constexpr vector tests that observe allocator copies. Add coverage for non-equal allocators and verify the relevant constexpr vector test suite passes; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100