Skip to content

GB-5: [utility.exchange] missing MoveConstructible/MoveAssignable requirement #182

Closed
@sdutoit

Description

@sdutoit

N3733 GB-5 says:

The wording describes example code including the call of a move constructor, but there is no requirement stated that T be move constructible.

It goes on to propose:

We would like to add a new Para 1 before existing paragraph:
Requires: Type T shall be MoveConstructible (Table 20) and MoveAssignable (Table 22).
However the MoveAssignable concept currently does not cover cases where the source and destination types may differ.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ballot-commentResponse to an NB or ISO comment on a ballot

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions