Manifest constants using 'manifest' keyword?

Hxal hxal at freenode.d.channel
Sat Dec 22 05:21:55 PST 2007


Leandro Lucarella Wrote:

> According to phobos changeset 535[1] I guess we have a new 'manifest'
> keyword to define manifest (to be redundant) constants. I really think he
> should went with alias or macro or with other better *existing* keyword,
> but is definitely better than enum.
> 
> [1] http://www.dsource.org/projects/phobos/changeset/535

I wonder if now that we have "manifest" meaning "taking no storage space",
it could be made to work for functions too (inlining every call to the function).




More information about the Digitalmars-d mailing list