tmp/tmpqzis4n0o/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
## Redeclaration of `static constexpr` data members <a id="depr.static.constexpr">[[depr.static.constexpr]]</a>
|
| 2 |
|
| 3 |
-
For compatibility with prior C++
|
| 4 |
-
|
| 5 |
-
|
| 6 |
|
| 7 |
[*Example 1*:
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
struct A {
|
|
|
|
| 1 |
## Redeclaration of `static constexpr` data members <a id="depr.static.constexpr">[[depr.static.constexpr]]</a>
|
| 2 |
|
| 3 |
+
For compatibility with prior revisions of C++, a `constexpr` static data
|
| 4 |
+
member may be redundantly redeclared outside the class with no
|
| 5 |
+
initializer. This usage is deprecated.
|
| 6 |
|
| 7 |
[*Example 1*:
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
struct A {
|