Top 5

Jarrett Billingsley jarrett.billingsley at gmail.com
Thu Oct 9 14:37:14 PDT 2008


On Thu, Oct 9, 2008 at 5:19 PM, Julio César Carrascal Urquijo
<jcarrascal at gmail.com> wrote:
> Hello Benji,

> Someone correct me if I'm wrong.
> Manifest constants grew out of the necesity of one of the winapi projects.
> There are lots of constants in the win32 api and they were taking lots of
> space in the resulting binary. Most projects opted to declare constants
> using enum because they got replaced by the value at compile time.

It wasn't just the win32 API project.

> For a short period there was even a manifest keyword implemented in DMD but
> it got removed right before 1.0.

It was never in D 1, only in D 2 and only for a short time in the
Phobos Subversion repository.



More information about the Digitalmars-d mailing list