...ing logging 4.0

はてなブログに移行しました。D言語の話とかいろいろ。

2008-11-29から1日間の記事一覧

immutable

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…

ファミコンのコントローラーのゴム

最近,母とドクターマリオをやってるんだが,コントローラーのゴムが破れてしまっていて,操作に支障をきたすようになってしまった. 替えのゴムは売ってるところには売ってるみたいだけど高価みたい. なんとか自分で直せないかと,アロンアルファで破れた…