Talk:cpp/language/copy assignment
From cppreference.com
In the section Deleted implicitly-declared copy assignment operator we read the following:
-T has a non-static data member that cannot be copy-assigned (has deleted, inaccessible,
or ambiguous copy assignment operator)
-T has direct or virtual base class that cannot be copy-assigned (has deleted,
inaccessible, or ambiguous move assignment operator)
In the paragraph we consider copy assignment operator, so the second item should have the following form (the same as for non-static data members of T):
-T has direct or virtual base class that cannot be copy-assigned (has deleted,
inaccessible, or ambiguous copy assignment operator)
ls --176.96.164.246 17:39, 8 August 2015 (PDT)
[edit] Keyword delete not highlighted in blue
In the Syntax section, the form for the deleted copy assignment operator does not highlight (4), but the defaulted copy assignment operator does. I looked at the included c template for highlighting, to no avail.
ticotico (talk) 07:09, 28 April 2020 (PDT)