April 09, 2011 More alias usages | ||||
|---|---|---|---|---|
| ||||
Inside "static if" blocks do you feel the need of more kinds of alias, like this?
void main() {
int[] array;
int index;
alias array.length A;
alias 0 B;
alias index-1 C; // hard to do
}
Bye,
bearophile
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply