Skip to content

Instantly share code, notes, and snippets.

@segfo
Created December 28, 2016 13:47
Show Gist options
  • Save segfo/eecbb944951929607694cccb572e87a7 to your computer and use it in GitHub Desktop.
Save segfo/eecbb944951929607694cccb572e87a7 to your computer and use it in GitHub Desktop.
演算子評価順序
import std.stdio;
void main(){
int i=0;
(i = 2) = ++i * i++ + i;
writefln("i = %d",i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment