<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mclow.lists@gmail.com" title="Marshall Clow (home) <mclow.lists@gmail.com>"> <span class="fn">Marshall Clow (home)</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Undefined references when using pointer to member functions"
   href="https://bugs.llvm.org/show_bug.cgi?id=18074">bug 18074</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>REOPENED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Undefined references when using pointer to member functions"
   href="https://bugs.llvm.org/show_bug.cgi?id=18074#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Undefined references when using pointer to member functions"
   href="https://bugs.llvm.org/show_bug.cgi?id=18074">bug 18074</a>
              from <span class="vcard"><a class="email" href="mailto:mclow.lists@gmail.com" title="Marshall Clow (home) <mclow.lists@gmail.com>"> <span class="fn">Marshall Clow (home)</span></a>
</span></b>
        <pre>This has been clarified in the latest draft standard. [namespace.std]/6 now
says:

Let F denote a standard library function (16.5.5.4), a standard library static
member function, or an instantiation of a standard library function template.
Unless F is designated an addressable function, the behavior of a C++ program
is unspecified (possibly ill-formed) if it explicitly or implicitly attempts to
form a pointer to F. 
[ Note ... end note]
Moreover, the behavior of a C++ program is unspecified (possibly ill-formed) if
it attempts to form a reference to F or if it attempts to form a
pointer-to-member designating either a standard library non-static member
function (16.5.5.5) or an instantiation of a standard library member function
template.

The upshot of all that is that the behavior of your example program is
"unspecified (possibly ill-formed)".</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>