alias & typedef

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Wed Jan 10 01:48:54 PST 2007


Bill Baxter wrote:
> Heinz wrote:
>> Hi,
>>
>> I just wan't to know the differences between 'alias' and 'typedef' as 
>> both do
>> the same thing.
> 
> I think the spec is pretty clear:
> http://www.digitalmars.com/d/declaration.html#typedef
> 
> Have you read that yet?

And read the next few sections too.
For example, nobody has yet mentioned that alias is useful for more than 
just types.


More information about the Digitalmars-d-learn mailing list