Title
[CD] Missing type requirements for std::exchange
Status
nad
Section
[utility.exchange]
Submitter
Alisdair Meredith

Created on 2013-09-22.00:00:00 last changed 136 months ago

Messages

Date: 2013-09-26.18:26:05

[ 2013-09 Chicago ]

The requirements are implicit according to [structure.specifications]p4. There is no desire to redundantly repeat a set of requirements.

Date: 2013-09-22.00:00:00

Addresses GB 5

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

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.

History
Date User Action Args
2013-09-26 18:26:05adminsetmessages: + msg6639
2013-09-26 18:26:05adminsetstatus: new -> nad
2013-09-22 00:00:00admincreate