static interface
Leandro Lucarella
llucax at gmail.com
Thu Nov 19 06:05:49 PST 2009
Simen kjaeraas, el 19 de noviembre a las 12:47 me escribiste:
> Leandro Lucarella <llucax at gmail.com> wrote:
>
> >What do you think?
>
> I was inspired:
>
[...]
>
> Usage:
>
> interface I;
> struct S;
> static if ( staticInterface!( S, I ) ) {}
[...]
Nice! :)
--
Leandro Lucarella (AKA luca) http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
- Los romanos no tenían paz, loco... Necesitaban un poco de chala...
More information about the Digitalmars-d
mailing list