Regarding typedef

2010-08-04 Thread F. Almeida
>From what I understood, typedef is going to be replaced by a templated structure and handle type conversion in that way. This is understandable because 1) the keyword was easily confused with C++ typedef, whose role was taken in D by alias (which is a much less misleading keyword for what it does)

Re: Regarding typedef

2010-08-04 Thread Trass3r
From what I understood, typedef is going to be replaced by a templated structure and handle type conversion in that way. What do you think? That discussion is kinda at a standstill. Recently I posted a topic titled "library defined typedef" because the current proposed version only supports

Re: Regarding typedef

2010-08-04 Thread bearophile
Trass3r: > But nobody answered. Your ideas seem a starting point. Currently in practical programs a struct+alias this is not able to replace my usages of typedef (in past I have written here several posts showing some usage examples). Bye, bearophile