以上直接使用copy constructor。 string s = "C++ Primer"; Foo foo = Foo(); 此時是先由default constructor建立一個temporary object後 ...
確定! 回上一頁