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

Public Member Functions

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

Static Public Member Functions

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

Private Attributes

void_Data1
 
void_Data2
 

Constructor & Destructor Documentation

exception_ptr::exception_ptr ( )
throw (
)
inline
258  {
259  __ExceptionPtrCreate(this);
260  }
_STD_END _STD_BEGIN _USE_BAD_EXCEPTION _STD_END _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrCreate(_Out_ void *)
exception_ptr::exception_ptr ( nullptr_t  )
throw (
)
inline
263  {
264  __ExceptionPtrCreate(this);
265  }
_STD_END _STD_BEGIN _USE_BAD_EXCEPTION _STD_END _CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrCreate(_Out_ void *)
exception_ptr::~exception_ptr ( )
throw (
)
inline
268  {
269  __ExceptionPtrDestroy(this);
270  }
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrDestroy(_Inout_ void *)
exception_ptr::exception_ptr ( const exception_ptr _Rhs)
throw (
)
inline
273  {
274  __ExceptionPtrCopy(this, &_Rhs);
275  }
_CRTIMP2_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
308  {
309  exception_ptr _Retval = NULL;
310  if (!_Ptr)
311  {
312  // unsupported exceptions
313  return _Retval;
314  }
315  __ExceptionPtrCopyException(&_Retval, _Except, _Ptr);
316  return _Retval;
317  }
Definition: exception:254
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrCopyException(_Inout_ void *, _In_ const void *, _In_ const void *)
#define NULL
Definition: corecrt.h:158
static exception_ptr exception_ptr::_Current_exception ( )
throw (
)
inlinestatic
301  {
302  exception_ptr _Retval;
304  return _Retval;
305  }
Definition: exception:254
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrCurrentException(_Out_ void *)
void exception_ptr::_RethrowException ( ) const
inline
296  {
297  __ExceptionPtrRethrow(this);
298  }
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrRethrow(_In_ const void *)
exception_ptr::operator bool ( ) const
throw (
)
inlineexplicit
291  {
292  return __ExceptionPtrToBool(this);
293  }
_CRTIMP2_PURE bool __CLRCALL_PURE_OR_CDECL __ExceptionPtrToBool(_In_ const void *)
exception_ptr& exception_ptr::operator= ( const exception_ptr _Rhs)
throw (
)
inline
278  {
279  __ExceptionPtrAssign(this, &_Rhs);
280  return *this;
281  }
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL __ExceptionPtrAssign(_Inout_ void *, _In_ const void *)
exception_ptr& exception_ptr::operator= ( nullptr_t  )
throw (
)
inline
284  {
285  exception_ptr _Ptr;
286  __ExceptionPtrAssign(this, &_Ptr);
287  return *this;
288  }
Definition: exception:254
_CRTIMP2_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: