(file) Return to Memory.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Memory.h between version 1.12 and 1.13

version 1.12, 2002/05/17 22:33:30 version 1.13, 2002/05/28 22:13:52
Line 50 
Line 50 
 #include <Pegasus/Common/CIMType.h> #include <Pegasus/Common/CIMType.h>
 #include <Pegasus/Common/Char16.h> #include <Pegasus/Common/Char16.h>
  
   
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 template<class T> template<class T>
Line 66 
Line 65 
         items++->~T();         items++->~T();
 } }
  
 template<class T, class U>  template<class T>
 inline void CopyToRaw(T* to, const U* from, Uint32 size)  inline void CopyToRaw(T* to, const T* from, Uint32 size)
 { {
     while (size--)     while (size--)
     {     {
Line 154 
Line 153 
  
 #define PEGASUS_MEMORY_FUNCTIONS(T) \ #define PEGASUS_MEMORY_FUNCTIONS(T) \
     inline void Destroy(T*, Uint32) { } \     inline void Destroy(T*, Uint32) { } \
     inline void Destroy(T*) { } \  
     inline void InitializeRaw(T* items, Uint32 size) { Zeros(items, size); }     inline void InitializeRaw(T* items, Uint32 size) { Zeros(items, size); }
  
 PEGASUS_MEMORY_FUNCTIONS(char*) PEGASUS_MEMORY_FUNCTIONS(char*)


Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2