File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 28222822\begin {note }
28232823A static member function does not have a \tcode {this}
28242824pointer\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\rSec 3[class.static.data]{Static data members}
28332833\indextext {member data!static}%
You can’t perform that action at this time.
0 commit comments