E.12: Usenoexceptwhen exiting a function because of athrowis impossible or unaccep
E.13: Never throw while being the direct owner of an objectE.13: 直接拥有一个对
E.15: Catch exceptions from a hierarchy by referenceE.15:使用引用形式
E.27: If you can't throw exceptions, use error codes systematicallyE.27:如果无法抛出异常,系统化运ee als..
ES.10: Declare one name (only) per declarationES.10:每次只定义一个名称Reason(原因)One declaration per line incre
E.16: Destructors, deallocation, andswapmust never failE.16:析构函数,内存释放和swap操作
E.17: Don't try to catch every exception in every functionE.17:不要试图在所有函数中捕捉所有异常Reaso
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号