Classes or stucts :: Newbie

bearophile bearophileHUGS at lycos.com
Sun Dec 19 13:03:43 PST 2010


Andrej Mitrovic:

> There's also scoped() in std.typecons, but I think this will still
> allocate on the heap. Not sure..

It allocates on the stack.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list