Skip to content

Make core List moveable #843

Open
Open
@AStepaniuk

Description

@AStepaniuk

Problem
Core List now is not movable and it causes all the classes, which contain List as member, also being not movable.

Solution
Make List move copyable and move assignable

Alternative
Replace usage of List with other classes, which are movable. Preferable - std classes, such as std::vector or std::list.
But Indigo List implementation ensures that underlying memory layout is continuous. Which makes Indigo List CPU cache friendly.

Additional context
Core List should follow the Rule of 5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions