Skip to content

Commit c025a57

Browse files
sdkrystianzygoloid
authored andcommitted
[class.static.mfct] Strike redundant normative wording
1 parent a85ec26 commit c025a57

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/classes.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2822,12 +2822,12 @@
28222822
\begin{note}
28232823
A static member function does not have a \tcode{this}
28242824
pointer\iref{class.this}.
2825+
A static member function cannot be declared \tcode{virtual}\iref{dcl.fct.spec}.
2826+
There cannot be a static and a non-static member function with
2827+
the same name, parameter-type-list, and trailing \grammarterm{requires-clause}\iref{over.load}.
2828+
A static member function cannot not be declared \tcode{const},
2829+
\tcode{volatile}, or \tcode{const volatile}\iref{dcl.fct}.
28252830
\end{note}
2826-
A static member function shall not be \tcode{virtual}. There
2827-
shall not be a static and a non-static member function with the
2828-
same name and the same parameter types\iref{over.load}. A
2829-
static member function shall not be declared \tcode{const},
2830-
\tcode{volatile}, or \tcode{const volatile}.
28312831

28322832
\rSec3[class.static.data]{Static data members}
28332833
\indextext{member data!static}%

0 commit comments

Comments
 (0)