ReactOS  0.4.15-dev-2526-g0fb3c1e
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 783 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 786 of file atlcom.h.

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

◆ destroy()

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

Definition at line 796 of file atlcom.h.

797  {
798  }

◆ init()

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

Definition at line 792 of file atlcom.h.

793  {
794  }

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