2008-11-29から1日間の記事一覧
immutableが新設されてからだいぶ経ってしまったが今更ながら試してみた. import std.stdio; void main() { invariant(int) a = 10; // deprecated? immutable(int) b = 10; } class A { /+ error immutable(){ }+/ invariant(){ } } dmd 2.021ではinvarian…
I've had a talk with Walter today, and two interesting things transpired. First off, Walter pointed out that I was wrong about one conversion rule (google value preservation vs. type preservation). It turns out that everything that's unsig…
最近,母とドクターマリオをやってるんだが,コントローラーのゴムが破れてしまっていて,操作に支障をきたすようになってしまった. 替えのゴムは売ってるところには売ってるみたいだけど高価みたい. なんとか自分で直せないかと,アロンアルファで破れた…