Skip to content

Commit 2b57c91

Browse files
author
Dawn Perchik
committed
LWG2954 Specialization of the convenience variable templates should be prohibited
1 parent 9e6232b commit 2b57c91

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/lib-intro.tex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2173,6 +2173,12 @@
21732173
must be prepared to work adequately with any user-supplied specialization
21742174
that meets the minimum requirements of this International Standard.}
21752175

2176+
\pnum
2177+
The behavior of a \Cpp program is undefined
2178+
if it declares an explicit or partial specialization
2179+
of any standard library variable template,
2180+
except where explicitly permitted by the specification of that variable template.
2181+
21762182
\pnum
21772183
The behavior of a \Cpp program is undefined if it declares
21782184
\begin{itemize}

0 commit comments

Comments
 (0)