Skip to content

Commit bd8f454

Browse files
Eisenwavetkoeppe
authored andcommitted
[expr.sizeof] use constexpr member in example
1 parent 1ec1d9e commit bd8f454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5004,7 +5004,7 @@
50045004
\begin{codeblock}
50055005
template<class... Types>
50065006
struct count {
5007-
static const std::size_t value = sizeof...(Types);
5007+
static constexpr std::size_t value = sizeof...(Types);
50085008
};
50095009
\end{codeblock}
50105010
\end{example}

0 commit comments

Comments
 (0)