x.sizeof vs typeid(x)

Matti Niemenmaa see_signature at for.real.address
Wed Feb 6 12:21:29 PST 2008


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.

-- 
E-mail address: matti.niemenmaa+news, domain is iki (DOT) fi



More information about the Digitalmars-d mailing list