EvictingCacheMap extract
Open
- Dominant language
- C++
- Stars
- 30.5k
- Forks
- 5.9k
- PR merge metrics
- No merged PRs in 30d
Description
If you store a unique_ptr as a value in an EvictingCacheMap there is no way to take ownership of the object again. Could EvictingCacheMap support the extract interface similar to map (https://en.cppreference.com/w/cpp/container/map/extract).
Contributor guide
Research direction
The issue names EvictingCacheMap but no implementation file or test. Start by locating that container and its existing map-like ownership operations, then compare the requested behavior with std::map::extract. Done means a stored unique_ptr can be recovered through an extract interface, with tests covering ownership transfer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100