Default LRU cache constructor is invalid
Open
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 340
- PR merge metrics
- No merged PRs in 30d
Description
The copy constructor of boost::compute::detail::lru_cache does not seem to work properly: the new map holds invalidated std::list iterators after its copying. I believe that the copy constructor should be deleted there at all (seems reasonable for this class), or iterators should be restored from the new list.
Contributor guide
Assessment
This issue has not been assessed yet.