Cannot alias null

Tom Browder via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 12 15:17:11 PDT 2014


On Thu, Jun 12, 2014 at 4:58 PM, Adam D. Ruppe via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:
> since null is a value maybe you want
>
> enum blah = null;

That works.

> you may also give it a type after the enum word

But I can't get any other variant to work so far.

-Tom


More information about the Digitalmars-d-learn mailing list