Another thread just reminded me of something I use frequently in C++ that doesn't work in D because ++x is not an lvalue:
int x,N; ... ++x %= N; So is there some deep reason for not making it an lvalue like in C++? --bb
Another thread just reminded me of something I use frequently in C++ that doesn't work in D because ++x is not an lvalue:
int x,N; ... ++x %= N; So is there some deep reason for not making it an lvalue like in C++? --bb