Title
basic_string_view::copy is missing constexpr
Status
resolved
Section
[string.view]
Submitter
Billy Robert O'Neal III

Created on 2016-10-07.00:00:00 last changed 65 months ago

Messages

Date: 2018-06-22.06:38:21

Proposed resolution:

This wording is relative to N4606.

  1. In [string.view.template], add constexpr to copy:

    constexpr size_type copy(charT* s, size_type n, size_type pos = 0) const;
    
  2. In [string.view.ops], add constexpr to copy:

    constexpr size_type copy(charT* s, size_type n, size_type pos = 0) const;
    
Date: 2018-11-25.18:41:03

[ 2018-06 Rapperswil Wednesday issues processing ]

This will be addressed by P1032.

Resolved by the adoption of P1032 in San Diego.

Date: 2018-06-22.06:38:21

[ LEWG Kona 2017 ]

Recommend NAD: Don't want to spend the committee time. Can call std::copy if you want this, after LEWG159 goes into C++20.

Date: 2016-11-15.00:00:00

[ 2016-11-12, Issaquah ]

Sat PM: Status LEWG

Date: 2016-10-15.12:31:27

[ Issues processing Telecon 2016-10-07 ]

Split off from 2778

Date: 2016-10-07.00:00:00

Now that we have C++14 relaxed constexpr, we can also take care of the assignment operator and copy.

History
Date User Action Args
2018-11-25 18:41:03adminsetstatus: open -> resolved
2018-06-22 06:38:21adminsetmessages: + msg9978
2018-06-22 06:38:21adminsetstatus: lewg -> open
2018-06-12 02:06:47adminsetmessages: + msg9901
2016-11-21 05:09:01adminsetmessages: + msg8663
2016-11-21 05:09:01adminsetstatus: new -> lewg
2016-10-08 04:58:13adminsetmessages: + msg8550
2016-10-08 04:58:13adminsetmessages: + msg8549
2016-10-07 00:00:00admincreate