type declaration
Ary Manzana
ary at esperanto.org.ar
Mon Jan 1 16:56:33 PST 2007
Frits van Bommel escribió:
> Derek Parnell wrote:
>> Feel free to add these to your own code first, to try it out.
>>
>> alias int8 byte;
>> alias int16 short;
>> alias int32 int;
>> alias int64 long;
>> alias in128 cent;
>> alias float32 float;
>> alias float64 double;
>
> I presume you meant those to be reversed...
He :-)
I too sometimes forget which one is the alias and which one is the
aliased. I'd prefer the keyword "alias" to be "aliasof" or something
like that:
aliasof int8 byte;
More information about the Digitalmars-d
mailing list