I sent this to the commit list, but since I'm not registered with it, I suspect it is in moderator-limbo...<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Michael Price</b> <span dir="ltr"><<a href="mailto:michael.b.price.dev@gmail.com">michael.b.price.dev@gmail.com</a>></span><br>
Date: Thu, Feb 2, 2012 at 12:55 AM<br>Subject: Sizeof for non-static class members<br>To: <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br><br><br>Attached is a patch that adds tests for the C++11 feature that allows non-static class members to be used in the parameter of sizeof() without needing an instance, i.e.<br>
<br>struct S { int m; }<br>sizeof(S::m);<br><br>It seems that code that implements this feature was committed in late 2010, but there was never any update to the status page.  If we think that these tests confirm that the feature is complete, I can submit a different patch to update the cxx_status.html page (or someone else can update it if they care to backtrace availability to a "released" version of clang).<br>

<br>Questions are welcome.<br>
</div><br>