System::ExceptionWrapper::ExceptionWrapper 构造函数

ExceptionWrapper::ExceptionWrapper(Args&&…) constructor

将参数转发给 Exception 类构造函数并创建持有新 Exception 类实例的智能指针的构造函数。

template<typename ...,typename> System::ExceptionWrapper<T>::ExceptionWrapper(Args &&...args)

另见

ExceptionWrapper::ExceptionWrapper(const ExceptionPtr&) constructor

构造一个包含传入指针的 ExceptionWrapper 类实例。

System::ExceptionWrapper<T>::ExceptionWrapper(const ExceptionPtr &ptr)
参数类型描述
ptrconst ExceptionPtr&指向 Exception 类实例的智能指针。

另见

ExceptionWrapper::ExceptionWrapper(const ExceptionWrapper&) constructor

拷贝构造函数。

System::ExceptionWrapper<T>::ExceptionWrapper(const ExceptionWrapper &other)
参数类型描述
其他const ExceptionWrapper&需要复制的包装类的另一个实例。

另见

ExceptionWrapper::ExceptionWrapper(ExceptionWrapper&&) constructor

移动构造函数。

System::ExceptionWrapper<T>::ExceptionWrapper(ExceptionWrapper &&other) noexcept
参数类型描述
其他ExceptionWrapper&&需要被移动的包装类的另一个实例。

另见

ExceptionWrapper::ExceptionWrapper(std::nullptr_t) constructor

构造一个不代表任何异常的 ExceptionWrapper 类的空实例。

System::ExceptionWrapper<T>::ExceptionWrapper(std::nullptr_t)

另见