81. Wrong declaration of slice operations

Section: 28.6.5 [template.slice.array], 28.6.7 [template.gslice.array], 28.6.8 [template.mask.array], 28.6.9 [template.indirect.array] Status: NAD Submitter: Nico Josuttis Opened: 1998-09-29 Last modified: 2016-01-28 10:19:27 UTC

Priority: Not Prioritized

View all other issues in [template.slice.array].

View all issues with NAD status.


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.


Not a defect. The Standard is correct as written.