Skip to content

Commit 8c358ba

Browse files
committed
[meta.trans.other] Remove basic_common_reference requirement with no normative effect
...except to make some programs ill-formed NDR. Also clarify that users may *partially* specialize basic_common_reference.
1 parent 2002778 commit 8c358ba

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/utilities.tex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17190,7 +17190,7 @@
1719017190

1719117191
\pnum
1719217192
Note D: Notwithstanding the provisions of \ref{meta.type.synop}, and
17193-
pursuant to \ref{namespace.std}, a program may specialize
17193+
pursuant to \ref{namespace.std}, a program may partially specialize
1719417194
\tcode{basic_common_reference<T, U, TQual, UQual>}
1719517195
for types \tcode{T} and \tcode{U} such that
1719617196
\tcode{is_same_v<T, decay_t<T>{>}} and
@@ -17206,9 +17206,7 @@
1720617206
Moreover, \tcode{basic_common_reference<T, U, TQual, UQual>::type} shall denote
1720717207
the same type, if any, as does
1720817208
\tcode{basic_common_reference<U, T, UQual, TQual>::type}.
17209-
A program shall not specialize \tcode{basic_common_reference} on the third or
17210-
fourth parameters, \tcode{TQual} or \tcode{UQual}. No diagnostic is required for
17211-
a violation of these rules.
17209+
No diagnostic is required for a violation of these rules.
1721217210

1721317211
\pnum
1721417212
\begin{example}

0 commit comments

Comments
 (0)