Skip to content

Commit 089a362

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 a9113be commit 089a362

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
@@ -17225,7 +17225,7 @@
1722517225

1722617226
\pnum
1722717227
Note D: Notwithstanding the provisions of \ref{meta.type.synop}, and
17228-
pursuant to \ref{namespace.std}, a program may specialize
17228+
pursuant to \ref{namespace.std}, a program may partially specialize
1722917229
\tcode{basic_common_reference<T, U, TQual, UQual>}
1723017230
for types \tcode{T} and \tcode{U} such that
1723117231
\tcode{is_same_v<T, decay_t<T>{>}} and
@@ -17241,9 +17241,7 @@
1724117241
Moreover, \tcode{basic_common_reference<T, U, TQual, UQual>::type} shall denote
1724217242
the same type, if any, as does
1724317243
\tcode{basic_common_reference<U, T, UQual, TQual>::type}.
17244-
A program shall not specialize \tcode{basic_common_reference} on the third or
17245-
fourth parameters, \tcode{TQual} or \tcode{UQual}. No diagnostic is required for
17246-
a violation of these rules.
17244+
No diagnostic is required for a violation of these rules.
1724717245

1724817246
\pnum
1724917247
\begin{example}

0 commit comments

Comments
 (0)