alias and template instantiations (Re: Any word on the return-type const syntax? [OT])

Janice Caron caron800 at googlemail.com
Sun Dec 9 12:36:41 PST 2007


On 12/9/07, Janice Caron <caron800 at googlemail.com> wrote:
> This begs the question, will
>
>     enum SomeTemplate!(int) x;

Sorry. I meant

    enum SomeTemplate!(int) x = something;

> instantiate the template if x is not used?

(It'll take a while to get used to this).



More information about the Digitalmars-d mailing list