This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.

81. Wrong declaration of slice operations

Section: 24.8.5 [template.slice.array], 24.8.7 [template.gslice.array], 24.8.8 [template.mask.array], 24.8.9 [template.indirect.array] Status: NAD Submitter: Nico Josuttis Opened: 1998-09-29 Last modified: 2016-02-10

Priority: Not Prioritized

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

View all issues with NAD status.

Discussion:

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.

Rationale:

Not a defect. The Standard is correct as written.