System::ExceptionWrapper‑klass

ExceptionWrapper class

Mall som representerar en omslag för undantag som är härledda från klassen Exception.

template<typename T>class ExceptionWrapper

Metoder

MetodBeskrivning
ExceptionWrapper(std::nullptr_t)Skapar en null-instans av klassen ExceptionWrapper som inte representerar något undantag.
ExceptionWrapper(const ExceptionPtr&)Skapar en instans av klassen ExceptionWrapper som innehåller den överförda pekaren.
ExceptionWrapper(const ExceptionWrapper&)Kopieringskonstruktor.
ExceptionWrapper(ExceptionWrapper&&)Flyttkonstruktor.
explicit ExceptionWrapper(Args&&…)Konstruktor som vidarebefordrar parametrar till klasskonstruktörerna för Exception och skapar en smart pekare som håller en ny instans av klassen Exception.
static operator new(std::size_t)
static operator new[](std::size_t)
operator SharedPtr< Object >()Implicit typomvandlingsoperator till SharedPtr
operator->() constTillåter åtkomst till medlemmarna i objektet Exception.
operator=(const ExceptionWrapper&)Tilldelningsoperator.
operator=(ExceptionWrapper&&)Flyttilldelningsoperator.
static Type()Genväg för att hämta System::TypeInfo-objektet för typen Exception.

Typedefs

TypedefBeskrivning
ExceptionTypeAnvänds för typomvandlingsfunktioner.

Se även