DIP42 - Add enum E(T) = expression; eponymous template support

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Jun 26 09:35:38 PDT 2013


On 6/26/13, Denis Shelomovskij <verylonglogin.reg at gmail.com> wrote:
> which will look better this way:
> ---
> static if (...)
>      enum template = ...;
> else static if (...)
>      enum template = ...;
> else ...
> ---

Yeah I agree, this is more important than DIP42's shortened syntax for
simple templates. It's the more complicated templates that are the
problem.


More information about the Digitalmars-d mailing list