Title
valarray initializer_list constructor has incorrect effects
Status
c++11
Section
[valarray.cons]
Submitter
Howard Hinnant

Created on 2009-09-23.00:00:00 last changed 161 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [valarray.cons]:

valarray(initializer_list<T> il);

Effects: Same as valarray(il.begin(), il.endsize()).

Date: 2009-10-29.00:00:00

[ 2009-10-29 Howard: ]

Moved to Tentatively Ready after 6 positive votes on c++std-lib.

Date: 2009-09-23.00:00:00

[valarray.cons] says:

valarray(initializer_list<T> il);

Effects: Same as valarray(il.begin(), il.end()).

But there is no valarray constructor taking two const T*.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg1157
2010-10-21 18:28:33adminsetmessages: + msg1156
2009-09-23 00:00:00admincreate