ReactOS  0.4.12-dev-102-g4b7f1e0
ATL::_Copy< T > Class Template Reference

#include <atlcom.h>

Static Public Member Functions

static HRESULT copy (T *pTo, const T *pFrom)
 
static void init (T *)
 
static void destroy (T *)
 

Detailed Description

template<class T>
class ATL::_Copy< T >

Definition at line 782 of file atlcom.h.

Member Function Documentation

◆ copy()

template<class T >
static HRESULT ATL::_Copy< T >::copy ( T pTo,
const T pFrom 
)
inlinestatic

Definition at line 785 of file atlcom.h.

786  {
787  memcpy(pTo, pFrom, sizeof(T));
788  return S_OK;
789  }
#define T
Definition: mbstring.h:31
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define S_OK
Definition: intsafe.h:59

◆ destroy()

template<class T >
static void ATL::_Copy< T >::destroy ( T )
inlinestatic

Definition at line 795 of file atlcom.h.

796  {
797  }

◆ init()

template<class T >
static void ATL::_Copy< T >::init ( T )
inlinestatic

Definition at line 791 of file atlcom.h.

792  {
793  }

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