2 problems I can't get my head around

Manu turkeyman at gmail.com
Mon Nov 26 06:07:59 PST 2012


On 26 November 2012 16:01, jerro <a at a.com> wrote:

> So that solves one of my problems for the time being... can anyone comment
>> on the module-looks-like-a-variable problem?
>>
>
> Couldn't you just add !is(typeof(std) == void) to your checks, since
> variables can't have void type?


...genius! :)
Although also seriously nasty. Why does a module have a type at all?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121126/2a85bbaa/attachment.html>


More information about the Digitalmars-d mailing list