Title
Wrong declaration of slice operations
Status
nad
Section
[template.slice.array] [template.gslice.array] [template.mask.array] [template.indirect.array]
Submitter
Nico Josuttis

Created on 1998-09-29.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

Not a defect. The Standard is correct as written.

Date: 1998-09-29.00:00:00

Isn't the definition of copy constructor and assignment operators wrong?        Instead of

      slice_array(const slice_array&); 
      slice_array& operator=(const slice_array&);

IMHO they have to be

      slice_array(const slice_array<T>&); 
      slice_array& operator=(const slice_array<T>&);

Same for gslice_array.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg186
1998-09-29 00:00:00admincreate