摘要:
pass by value need to call constructor and desructor so not efficient.but exept for built-in type and stl :: iterator and 函数对象 阅读全文
posted @ 2014-07-09 03:53
williamwood
阅读(99)
评论(0)
推荐(0)
摘要:
not really understand 阅读全文
posted @ 2014-07-09 03:42
williamwood
阅读(94)
评论(0)
推荐(0)
摘要:
举一个容易犯错的例子class Date{private: int month; int day; int year;public:Date(int month,int day,int year){ this->month = month; ... }}//wrong exampleDa... 阅读全文
posted @ 2014-07-09 03:41
williamwood
阅读(149)
评论(0)
推荐(0)
浙公网安备 33010602011771号