exception n. 1.例外;除外,除去。 2.【法律】抗告;異議,不服,反對。 Every rule has its exceptions. 任何規(guī)則均有例外。 by way of exception 作為例外。 liable [subject] to exception 容易遭到反對的,會引起異議的。 make an exception of 把…作為例外。 make no exceptions 一視同仁,一樣看待。 take exception 1. 反對,表示異議。 2. 有反感。 take exception at 發(fā)怒,生氣。 take exception to [against] 對…提出異議。 without exception 一概,全都;無例外地。 with the exception of 除…外。 adv. -ally ,-less adj. 無例外的。
safe adj. 1.安全的,安穩(wěn)的;無危險的。 2.確實的,一定的。 3. 安全,平安〔作 arrive, come 等的述語用〕。 4.謹慎的,穩(wěn)健的,可靠的;小心翼翼的。 5.【棒球】不會死的,安全的〔安抵某壘的〕 (opp. out )。 6.【自動化】穩(wěn)定的。 I saw him safe home. 我送他平安到家。 It is safe to get warmer as the day goes on. 天氣確實一天比一天暖和了。 He is safe to get in. 他肯定會當選。 get a person safe 抓牢某人。 a safe [good] catch 【棒球】靈巧的接球員。 a safe first 穩(wěn)拿第一的人。 S- bind, safe find. 藏得牢,找得著。 be safe from (attack infection) 沒有受到(攻擊、傳染)的危險。 It is safe to say that .... 不妨說,說…準不會錯。 on the safe side 謹慎地 ( It's best to err on the safe side. 即使錯,最好也錯在謹慎上面)。 play safe 采取四平八穩(wěn)的辦法。 safe and sound 平安無恙,安全。 n. 1.保險箱,安全容器,紗廚,紗罩;〔美俚〕冰箱。 2.馬鞍防擦皮。 adv. -ly
As always , remember to make all the functions exception - safe and exception - neutral 照例,記住要使所有的成員函數(shù)都是異常安全和異常中立的。
This version also requires much less care to ensure that it ' s been made properly exception - safe 而且這個版本只需稍加小心就能夠確保正確地將該函數(shù)實現(xiàn)為異常安全的。
Note especially how much more elegant this is than the exception - safe copy assignment we implemented in item 9 請注意尤其是與我們在條款9中實現(xiàn)的異常安全的拷貝賦值運算符相比而言,它是多么的優(yōu)美。