STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
exception_ptr Class Reference

Public Types

typedef exception_ptr _Myt
 

Public Member Functions

 exception_ptr ()
 
 exception_ptr (nullptr_t)
 
 ~exception_ptr () _NOEXCEPT
 
 exception_ptr (const exception_ptr &_Rhs)
 
exception_ptroperator= (const exception_ptr &_Rhs)
 
exception_ptroperator= (nullptr_t)
 
 operator bool () const _NOEXCEPT
 
void _RethrowException () const
 

Static Public Member Functions

static exception_ptr _Current_exception ()
 
static exception_ptr _Copy_exception (_In_ void *_Except, _In_ const void *_Ptr)
 

Private Attributes

void_Data1
 
void_Data2
 

Member Typedef Documentation

Constructor & Destructor Documentation

exception_ptr::exception_ptr ( )
inline
431  {
432  __ExceptionPtrCreate(this);
433  }
_STDEXT_END _STD_BEGIN _USE_BAD_EXCEPTION _STD_END _CRTIMP_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrCreate(_Out_ void *)
exception_ptr::exception_ptr ( nullptr_t  )
inline
435  {
436  __ExceptionPtrCreate(this);
437  }
_STDEXT_END _STD_BEGIN _USE_BAD_EXCEPTION _STD_END _CRTIMP_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrCreate(_Out_ void *)
exception_ptr::~exception_ptr ( )
inline
439  {
440  __ExceptionPtrDestroy(this);
441  }
_CRTIMP_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrDestroy(_Inout_ void *)
exception_ptr::exception_ptr ( const exception_ptr _Rhs)
inline
443  {
444  __ExceptionPtrCopy(this, &_Rhs);
445  }
_CRTIMP_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrCopy(_Out_ void *, _In_ const void *)

Member Function Documentation

static exception_ptr exception_ptr::_Copy_exception ( _In_ void _Except,
_In_ const void _Ptr 
)
inlinestatic
477  {
478  exception_ptr _Retval = NULL;
479  if (!_Ptr)
480  {
481  // unsupported exceptions
482  return _Retval;
483  }
484  __ExceptionPtrCopyException(&_Retval, _Except, _Ptr);
485  return _Retval;
486  }
Definition: exception:427
_CRTIMP_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrCopyException(_Inout_ void *, _In_ const void *, _In_ const void *)
#define NULL
Definition: crtdbg.h:30
static exception_ptr exception_ptr::_Current_exception ( )
inlinestatic
471  {
472  exception_ptr _Retval;
474  return _Retval;
475  }
Definition: exception:427
_CRTIMP_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrCurrentException(_Out_ void *)
void exception_ptr::_RethrowException ( ) const
inline
466  {
467  __ExceptionPtrRethrow(this);
468  }
_CRTIMP_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrRethrow(_In_ const void *)
exception_ptr::operator bool ( ) const
inlineexplicit
461  {
462  return __ExceptionPtrToBool(this);
463  }
_CRTIMP_PURE bool __CLRCALL_PURE_OR_CDECL __ExceptionPtrToBool(_In_ const void *)
exception_ptr& exception_ptr::operator= ( const exception_ptr _Rhs)
inline
447  {
448  __ExceptionPtrAssign(this, &_Rhs);
449  return *this;
450  }
_CRTIMP_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrAssign(_Inout_ void *, _In_ const void *)
exception_ptr& exception_ptr::operator= ( nullptr_t  )
inline
452  {
453  exception_ptr _Ptr;
454  __ExceptionPtrAssign(this, &_Ptr);
455  return *this;
456  }
Definition: exception:427
_CRTIMP_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrAssign(_Inout_ void *, _In_ const void *)

Member Data Documentation

void* exception_ptr::_Data1
private
void* exception_ptr::_Data2
private

The documentation for this class was generated from the following file: