Skip to content

Commit

Permalink
[depr.static.constexpr] Cross-reference core clauses for deprecated f…
Browse files Browse the repository at this point in the history
…eature (#6448)
  • Loading branch information
AlisdairM committed Aug 14, 2023
1 parent 00b4bb2 commit cf7d582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
\item
it declares a static data member outside a class definition
and the variable was defined within the class with the \keyword{constexpr}
specifier (this usage is deprecated; see \ref{depr.static.constexpr}),
specifier\iref{class.static.data} (this usage is deprecated; see \ref{depr.static.constexpr}),
\item
\indextext{declaration!class name}%
it is an \grammarterm{elaborated-type-specifier}\iref{class.name},
Expand Down
3 changes: 2 additions & 1 deletion source/future.tex
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@

\pnum
For compatibility with prior revisions of \Cpp{}, a \keyword{constexpr}
static data member may be redundantly redeclared outside the class with no initializer.
static data member may be redundantly redeclared outside the class with no
initializer\iref{basic.def,class.static.data}.
This usage is deprecated.
\begin{example}
\begin{codeblock}
Expand Down

0 comments on commit cf7d582

Please sign in to comment.