Skip to content

Commit cf7d582

Browse files
authored
[depr.static.constexpr] Cross-reference core clauses for deprecated feature (#6448)
1 parent 00b4bb2 commit cf7d582

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
\item
183183
it declares a static data member outside a class definition
184184
and the variable was defined within the class with the \keyword{constexpr}
185-
specifier (this usage is deprecated; see \ref{depr.static.constexpr}),
185+
specifier\iref{class.static.data} (this usage is deprecated; see \ref{depr.static.constexpr}),
186186
\item
187187
\indextext{declaration!class name}%
188188
it is an \grammarterm{elaborated-type-specifier}\iref{class.name},

source/future.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@
140140

141141
\pnum
142142
For compatibility with prior revisions of \Cpp{}, a \keyword{constexpr}
143-
static data member may be redundantly redeclared outside the class with no initializer.
143+
static data member may be redundantly redeclared outside the class with no
144+
initializer\iref{basic.def,class.static.data}.
144145
This usage is deprecated.
145146
\begin{example}
146147
\begin{codeblock}

0 commit comments

Comments
 (0)