Skip to content

BOOST_STRONG_TYPEDEF doesn't support move #341

@bweed-mathworks

Description

@bweed-mathworks

The macro for BOOST_STRONG_TYPEDEF defines a copy constructor, and copy assignment, but not a move constructor, or move assignment.

Should add:

D(D && t_) BOOST_NOEXCEPT_IF(...) : t(std::move(t_.t)) {}
D& operator=(D&& rhs) BOOST_NOEXCEPT_IF(...) {t = std::move(rhs.t); return *this;} \

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