<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - std::sort and std::unique can not use std::function with -std=c++14"
   href="https://llvm.org/bugs/show_bug.cgi?id=31537">bug 31537</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>DUPLICATE
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - std::sort and std::unique can not use std::function with -std=c++14"
   href="https://llvm.org/bugs/show_bug.cgi?id=31537#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - std::sort and std::unique can not use std::function with -std=c++14"
   href="https://llvm.org/bugs/show_bug.cgi?id=31537">bug 31537</a>
              from <span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span></b>
        <pre>The cause of the difference here is Clang more eagerly instantiating constexpr
function templates than GCC does. I'm going to implement the current direction
of CWG issue 1581 to get Clang to accept this.

*** This bug has been marked as a duplicate of <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - [C++11/14] Body of constexpr function templates instantiated too eagerly in unevaluated operands"
   href="show_bug.cgi?id=23135">bug 23135</a> ***</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>