<div>Oh thanks, you're right.</div><div> </div><div>So when we check type for property, we treat the type as if it's a return type of a member function, and not a type of a member var.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Dec 14, 2012 at 10:12 AM, Francois Pichet <span dir="ltr"><<a href="mailto:pichet2000@gmail.com" target="_blank">pichet2000@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Mon, Dec 10, 2012 at 10:52 PM, <a href="mailto:endlessroad1991@gmail.com" target="_blank">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;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">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>
<br><br><div class="gmail_quote"><br></div></div></div></blockquote><div><br></div></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>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards, Tong Shen (沈彤)<br>
</div>