noexcept:不抛出异常 使用noexcept默认为noexcept(true),可以在括号内写入boolean类型的判断条件来决定是否执行不抛出异常; // 默认noexcept(true) --> noexcept(boolean类型判断) void foo() noexcept