2007-07-22
D言語(dmd2.002)で const メンバ関数がオーバーロードできない。
関数の衝突が起こる。
class Foo { int func(){return 1;} const int func(){return 2;} //関数の衝突 }
仕様だろうか?