tmp/tmpiql3tz0a/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,11 @@
|
|
| 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
|
|
|
|
| 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 [[basic.def]], [[class.static.data]]. This usage is
|
| 6 |
+
deprecated.
|
| 7 |
|
| 8 |
[*Example 1*:
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
struct A {
|