2 problems I can't get my head around
Jacob Carlborg
doob at me.com
Wed Nov 28 05:32:57 PST 2012
On 2012-11-28 14:07, tn wrote:
> What distinguishes manifest constants from literals? Aren't manifest
> constants just literal aliases? That is, if the following did work
>
> alias Y = 11;
>
> wouldn't that be exactly same as
>
> enum Y = 11;
>
> Perhaps using "alias" instead of "enum" would make the meaning clearer?
That doesn't sound too bad :)
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list