This shouldn't happen

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Apr 25 13:28:57 PDT 2012


On 4/25/12, bearophile <bearophileHUGS at lycos.com> wrote:
> In this case what error message would you like to receive?

The alias itself. HWND, not Typedef!(void*). But this isn't specific
to Typedef, it's specific to how error messages are written.

> What about creating a Handle struct with your desired semantics?

This works well I think:
struct HWND { }


More information about the Digitalmars-d mailing list