System::Default method

System::Default() method

Returns the reference to the single default-constructed instance of the exception type.

template<typename T> std::enable_if<IsExceptionWrapper<T>::value, constT &>::type System::Default()
ParameterDescription
TThe type whose instance is returned

See Also

System::Default() method

Returns the reference to the single default-constructed instance of the non-exception type.

template<typename T> std::enable_if<!IsExceptionWrapper<T>::value, constT &>::type System::Default()
ParameterDescription
TThe type whose instance is returned

See Also