System::Default 方法

System::Default() method

返回对异常类型唯一默认构造实例的引用。

template<typename T> std::enable_if<IsExceptionWrapper<T>::value, constT &>::type System::Default()
参数描述
T返回实例的类型

另见

System::Default() method

返回对非异常类型唯一默认构造实例的引用。

template<typename T> std::enable_if<!IsExceptionWrapper<T>::value, constT &>::type System::Default()
参数描述
T返回实例的类型

另见