Default()

System::Default() function

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()

Template parameters

ParameterDescription
TThe type whose instance is returned

System::Default() function

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()

Template parameters

ParameterDescription
TThe type whose instance is returned

See Also