摘要:
class Digit{ public Digit(double d) { val = d; } public double val; // ...other members // User-defined conversion from Digit to double public static implicit operator double(Digit d) { return d.val; } // User-defined conversion from double to Digit public stati... 阅读全文
posted @ 2013-10-15 16:05
chunchill
阅读(379)
评论(0)
推荐(0)


浙公网安备 33010602011771号