30.01.2012 8:59, Kagamin пишет:
static assert(__traits(compiles, HANDLE.init is null));
hmm... What declaration of HANDLE do you use?

Wrapper knows nothing about non-standard types, but in `CreateFileW` the last argument is `__(in?) HANDLE hTemplateFile`, so it is an optional parameter (can be `null`) and wrapper ensures that it isn't a mistake and `HANDLE` is nullable.

Reply via email to