拷貝構造函數 的英文怎麼說
中文拼音 [kǎobèigòuzàohánshǔ]
拷貝構造函數
英文
copy constructor- 拷 : 動詞(打) flog; beat; torture
- 貝 : 名詞1 [動物學] (蛤螺等有殼軟體動物的統稱) cowry; cowrie; shellfis 2 (古代用貝殼做的貨幣) cowr...
- 構 : Ⅰ動詞1 (構造; 組合) construct; form; compose 2 (結成) fabricate; make up 3 (建造; 架屋) bui...
- 造 : Ⅰ動詞1 (做; 製作) make; build; create; produce 2 (假編) cook up; fabricate; concoct 3 [書面語...
- 函 : 名詞1. [書面語] (匣; 封套) case; envelope 2. (信件) letter 3. (姓氏) a surname
- 數 : 數副詞(屢次) frequently; repeatedly
- 拷貝 : [電影] copy; replica拷貝機 letterpress; 拷貝片 print; 拷貝紙 copy paper; copying paper
- 構造 : structure; construction; constructional detail; tectonic; structural; makeup; anatomy; constituti...
- 函數 : [數學] function函數計算機 function computer; 函數計算器 function calculator; 函數運算 functional operation
-
If constructors, copy constructors, assignment and other things are added then the collection class becomes slower
如果增加了構造函數,拷貝構造函數,賦值和其它功能,這樣集合類的速度會變慢。Because a template constructor is never a copy constructor, the presence of such a template does not suppress the implicit declaration of a copy constructor
由於模板構造函數終究不是拷貝構造函數,因此這種模板的出現並不會隱藏原來隱含的拷貝構造函數之聲明。Although this may at first seem like only an efficiency concern ( and you normally don ' t want to concern yourself with efficiency tuning while you ' re designing and assembling your program ), there ' s more at stake : as you ' ll see in the remainder of the chapter, a copy - constructor is required to pass an object by value, and this isn ' t always available
盡管初看起來,僅僅是一個與效率相關的難題(並且你在設計和裝配程序時,一般不會想到通過調整效率來關心一下自己的程序) ,這更像是在賭博:本章餘下的內容中你將會看到,通過傳值方式需要給對象傳遞一個拷貝構造函數,但並不老是行得通。
分享友人