tmp/tmp7ehrch6c/{from.md → to.md}
RENAMED
|
@@ -1,12 +1,13 @@
|
|
| 1 |
-
### Static member functions <a id="class.static.mfct">[[class.static.mfct]]</a>
|
| 2 |
|
| 3 |
-
The rules described in [[class.mfct]] apply to
|
| 4 |
-
functions.
|
| 5 |
|
| 6 |
-
A
|
| 7 |
-
[[class.this]]).
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
member function
|
| 11 |
-
|
|
|
|
| 12 |
|
|
|
|
| 1 |
+
#### Static member functions <a id="class.static.mfct">[[class.static.mfct]]</a>
|
| 2 |
|
| 3 |
+
[*Note 1*: The rules described in [[class.mfct]] apply to static
|
| 4 |
+
member functions. — *end note*]
|
| 5 |
|
| 6 |
+
[*Note 2*: A static member function does not have a `this` pointer (
|
| 7 |
+
[[class.this]]). — *end note*]
|
| 8 |
+
|
| 9 |
+
A static member function shall not be `virtual`. There shall not be a
|
| 10 |
+
static and a non-static member function with the same name and the same
|
| 11 |
+
parameter types ([[over.load]]). A static member function shall not be
|
| 12 |
+
declared `const`, `volatile`, or `const volatile`.
|
| 13 |
|