2006-12-07から1日間の記事一覧
え〜、まず CopyTuple の修正。 template CopyTuple(Values...) { void to(Types...)(inout Types lhs) in { static assert(Values.length <= lhs.length); } body { foreach (i, v; Values) lhs[i] = v; } }で、次に Object のオーバーライドについて。Obje…
え〜、まず CopyTuple の修正。 template CopyTuple(Values...) { void to(Types...)(inout Types lhs) in { static assert(Values.length <= lhs.length); } body { foreach (i, v; Values) lhs[i] = v; } }で、次に Object のオーバーライドについて。Obje…