Skip to content

Default LRU cache constructor is invalid #896

Open
@rekrutik

Description

@rekrutik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions