File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -401,11 +401,34 @@ namespace cwg2083 { // cwg2083: partial
401
401
#endif
402
402
}
403
403
404
- namespace cwg2091 { // cwg2091: 2.7
404
+ namespace cwg2091 { // cwg2091: 10
405
405
template <int &> struct X ;
406
406
template <int &N> void f (X<N>&);
407
407
int n;
408
408
void g (X<n> &x) { f (x); }
409
+
410
+ namespace GH42233 {
411
+ enum E { I };
412
+
413
+ class AA { };
414
+ E EV[1 ] = {I};
415
+
416
+ template <class ENUM , const ENUM* const VALUES>
417
+ struct S
418
+ {
419
+ template < class E , const E* const V>
420
+ friend AA& operator <<( AA& os, const S<E,V>& e );
421
+ };
422
+
423
+ int f ()
424
+ {
425
+ S< E, EV > x;
426
+
427
+ AA a;
428
+ a << x;
429
+ return 0 ;
430
+ }
431
+ } // namespace GH42233
409
432
} // namespace cwg2091
410
433
411
434
namespace cwg2094 { // cwg2094: 5
Original file line number Diff line number Diff line change @@ -12361,7 +12361,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
12361
12361
<td><a href="https://cplusplus.github.io/CWG/issues/2091.html">2091</a></td>
12362
12362
<td>CD4</td>
12363
12363
<td>Deducing reference non-type template arguments</td>
12364
- <td class="full" align="center">Clang 2.7 </td>
12364
+ <td class="full" align="center">Clang 10 </td>
12365
12365
</tr>
12366
12366
<tr id="2092">
12367
12367
<td><a href="https://cplusplus.github.io/CWG/issues/2092.html">2092</a></td>
You can’t perform that action at this time.
0 commit comments