boost::lockfree queues support r-values and move in push/pop/consume etc?
Open
- Dominant language
- C++
- Stars
- 160
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
I can get around it right now by using std::shared_ptr, but would be nice if the push function could accept r-values and move appropriately.
Similarly the pop & consume functions could move the objects out of the queue?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the existing push, pop, and consume APIs and how Boost.Lockfree queues handle object movement. Determine the supported requirements for r-value insertion and moving objects out, then define tests showing that these operations work without the shared_ptr workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100