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 2822
2822
\begin {note }
2823
2823
A static member function does not have a \tcode {this}
2824
2824
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 }.
2825
2830
\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}.
2831
2831
2832
2832
\rSec 3[class.static.data]{Static data members}
2833
2833
\indextext {member data!static}%
You can’t perform that action at this time.
0 commit comments