Skip to content

Graph implementations in libbdsg use copy constructors instead of move during vector reallocations #118

@jeizenga

Description

@jeizenga

The problem seems to arise from not using noexcept in the constructors:

https://stackoverflow.com/questions/8001823/how-to-enforce-move-semantics-when-a-vector-grows

We may want to make this a requirement for the handle graph interface as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions