December 27, 2001 typedef vs alias | ||||
|---|---|---|---|---|
| ||||
D seems to dislike typedefs. The following works:
alias void* HANDLE;
HANDLE cin, cout, cerr;
...while the following crashes the compiler:
typedef void* HANDLE;
HANDLE cin, cout, cerr;
| ||||
December 27, 2001 Re: typedef vs alias | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | 2Walter: by the way, this could be cause of compiler crash on the module I've sent you... | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply