<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Template template parameters and default arguments in C++17 (CWG150 + P0522R0)"
href="https://bugs.llvm.org/show_bug.cgi?id=42960">42960</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Template template parameters and default arguments in C++17 (CWG150 + P0522R0)
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++17
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pkeir@outlook.com
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22368" name="attach_22368" title="The MWE code described in the report.">attachment 22368</a> <a href="attachment.cgi?id=22368&action=edit" title="The MWE code described in the report.">[details]</a></span>
The MWE code described in the report.
The code below will not compile with Clang, though it does with GCC (with the
-std=c++17 flag and upwards).
template <typename T, typename = void>
struct jam;
template <template <typename> typename>
struct mata;
using type = mata<jam>;
This relates to CWG 150, which I believe was resolved by P0522R0. That is,
since C++17, code such as that above should now be legal.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>