2004-08-01から1日間の記事一覧
i@u wrk/d/reflection> cat test.d class test { void test() {} } void test() { void test() {} } i@u wrk/d/reflection> dmd test.d test.d(4): function test conflicts with test.test at test.d(1) どうしたもんかね…こっちはまあいいとしてもね。 i@u…
D で Reflection 。言語の助けは借りない。今までの謎の作業の集大成的なもの。(参考: ccall_direct,gdcc,dfilt)http://shinh.skr.jp/d/reflection.tar.bz2 class Test { void test_func1() { std.stream.stdout.writeLine("func1"); } void test_func2() { …