ReactOS 0.4.15-dev-7897-g78dc504
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 841 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 844 of file atlcom.h.

845 {
846 memcpy(pTo, pFrom, sizeof(T));
847 return S_OK;
848 }
#define S_OK
Definition: intsafe.h:52
#define T
Definition: mbstring.h:31
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878

◆ destroy()

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

Definition at line 854 of file atlcom.h.

855 {
856 }

◆ init()

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

Definition at line 850 of file atlcom.h.

851 {
852 }

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