x.sizeof vs typeid(x)
Robert Fraser
fraserofthenight at gmail.com
Wed Feb 6 13:44:49 PST 2008
Matti Niemenmaa wrote:
> Robert Fraser wrote:
>> I agree with you on that particular syntax. I think when it's a member
>> of some sort, that syntax should be allowed, though (to allow a
>> property syntax), but for free functions it's a bad idea.
>
> The argument for class properties applies equally well to global variables.
>
Oops, forgot about those... alright, well I guess then people just need
to be careful with this syntax.
More information about the Digitalmars-d
mailing list