Skip to content

Commit 54c6bf6

Browse files
committed
[over.inc] Add 'non-static' to the description of a member operator++
or operator-- to avoid confusion when comparing this wording to that of similar paragraphs in other clauses. The normative rule already exists in [over.oper]p6. Fixes #346.
1 parent 667f54a commit 54c6bf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/overloading.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3148,12 +3148,12 @@
31483148
implements the prefix and postfix
31493149
\tcode{++}
31503150
operator.
3151-
If this function is a member function with no parameters, or a non-member
3151+
If this function is a non-static member function with no parameters, or a non-member
31523152
function with one parameter,
31533153
it defines the prefix increment operator
31543154
\tcode{++}
31553155
for objects of that type.
3156-
If the function is a member function with one parameter (which shall be of type
3156+
If the function is a non-static member function with one parameter (which shall be of type
31573157
\tcode{int})
31583158
or a non-member function with two parameters (the second of which shall be of type
31593159
\tcode{int}),

0 commit comments

Comments
 (0)