x.sizeof vs typeid(x)

Christopher Wright dhasenan at gmail.com
Thu Feb 7 08:01:52 PST 2008


Walter Bright wrote:
> Robert Fraser wrote:
>> typeid yeilds an expression...
> 
> The subject says typeid, the post says typeof !
> 
> typeid(type) looks for a type between the parentheses, and a type has a 
> different grammar than an expression.

real.nan?



More information about the Digitalmars-d mailing list