Skip to content

Commit 8e8aeb0

Browse files
jensmaurerzygoloid
authored andcommitted
[variant.helper] Use 'struct' for variant_size and variant_alternative
Fixes NB JP 005 and JP 006 (C++20 DIS)
1 parent 6d582fb commit 8e8aeb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4811,7 +4811,7 @@
48114811

48124812
\indexlibraryglobal{variant_size}%
48134813
\begin{itemdecl}
4814-
template<class T> class variant_size<const T>;
4814+
template<class T> struct variant_size<const T>;
48154815
\end{itemdecl}
48164816

48174817
\begin{itemdescr}
@@ -4831,7 +4831,7 @@
48314831

48324832
\indexlibraryglobal{variant_alternative}%
48334833
\begin{itemdecl}
4834-
template<size_t I, class T> class variant_alternative<I, const T>;
4834+
template<size_t I, class T> struct variant_alternative<I, const T>;
48354835
\end{itemdecl}
48364836

48374837
\begin{itemdescr}

0 commit comments

Comments
 (0)