Ellery Newcomer:
alright what's the deal?
This is one of the "clean" ways to do it:
void main () {
static struct Mat {
int[3][4] m;
alias m this;
}
Mat* fooz = new Mat;
fooz[1][3] = 5;
}
Bye,
bearophile
Ellery Newcomer:
alright what's the deal?
This is one of the "clean" ways to do it:
void main () {
static struct Mat {
int[3][4] m;
alias m this;
}
Mat* fooz = new Mat;
fooz[1][3] = 5;
}
Bye,
bearophile