<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 10, 2012 at 10:52 PM, <a href="mailto:endlessroad1991@gmail.com">endlessroad1991@gmail.com</a> <span dir="ltr"><<a href="mailto:endlessroad1991@gmail.com" target="_blank">endlessroad1991@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi all, I've rewritten the __declspec(property) implementation,using PseudoObject.<div>
<br></div><div>If you're comfortable with this patch, I'll work on tests, code-style, and post it to cfe-commits.</div><div class="gmail_extra"><div class="im">
<br><br><div class="gmail_quote"><br></div></div></div></blockquote><div><br></div><div>One comment: A field part of a <font face="arial, sans-serif">__declspec(property) can be incomplete.</font></div><div><font face="arial, sans-serif">For example:</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><div>class A {</div><div>    A get_A() const;</div><div>    __declspec(property(get=get_A)) A default_A;</div><div>};</div><div><br>
</div></font></div><div>Your patch will emit an error for that case, it must be accepted.</div></div></div>