This shouldn't happen
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Apr 25 14:19:37 PDT 2012
On 4/25/12 1:05 PM, Andrej Mitrovic wrote:
> On 4/25/12, bearophile<bearophileHUGS at lycos.com> wrote:
>> Mehrdad:
>>
>>> if D
>>> hadn't been so shortsighted and hadn't removed typedef's...
>>
>> Now there's std.typecons.Typedef
>
> Right, but the error messages will be awful, e.g.:
>
> struct None { }
> alias Typedef!None HWND;
You need Typedef!(None*).
Andrei
More information about the Digitalmars-d
mailing list