Use `boost::span` instead of passing `std::vector` by ref
Open
- Dominant language
- C++
- Stars
- 207
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
Can we use `boost::span` from Boost.Core instead of `std::vector&` to pass parameters? It shouldn't break API and allows to use other array types such as `std::array`, `boost::static_vector` etc.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the public APIs that currently pass std::vector by reference and review how Boost.Core provides boost::span. Check the affected call sites and existing tests, then verify that std::array, boost::static_vector, and other array types can be passed without breaking the API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100