<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 argument bad deduction"
   href="https://bugs.llvm.org/show_bug.cgi?id=33435">33435</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>template template argument bad deduction
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>4.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++11
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Sebastien_Levy@mentor.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=18627" name="attach_18627" title="Try to compile the file and see that there is a false positive about template template argument deduction. All comments explain what the code is attempting to achieve.">attachment 18627</a> <a href="attachment.cgi?id=18627&action=edit" title="Try to compile the file and see that there is a false positive about template template argument deduction. All comments explain what the code is attempting to achieve.">[details]</a></span>
Try to compile the file and see that there is a false positive about template
template argument deduction. All comments explain what the code is attempting
to achieve.

Since V4.0.0 of clang, a regression has appeared preventing template template
argument to be well deduced when template template deal with non-type
arguments.

The attached code works perfectly well on clang 3.9.0 on MacOS Sierra (and
previous versions) and does not compile (wrongly) using clang V4.0.0

See comments in file to see the current result using clang 4.0.0 then the
expected result using clang 3.9.0</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>