Three Unlikely Successful Features of D

Adam D. Ruppe destructionator at gmail.com
Tue Mar 20 17:58:03 PDT 2012


On Wednesday, 21 March 2012 at 00:53:19 UTC, Adam D. Ruppe wrote:
> template octal(...) {
>     alias octalImpl(t) octal;
> }

LOL, I was bloviating about "enum" and ended up
using "alias" here.

alias rox too (which is a bit amazing, considering how
simple it is), but I should have said:

enum octal = octalImpl(t);



More information about the Digitalmars-d mailing list