version 1.8, 2001/07/10 22:31:14
|
version 1.9, 2001/07/16 22:28:06
|
|
|
inline void CopyToRaw(T* to, const U* from, Uint32 size) | inline void CopyToRaw(T* to, const U* from, Uint32 size) |
{ | { |
while (size--) | while (size--) |
new(to++) T(*from++); |
{ |
|
// The following fails on TRU64: |
|
// new(to++) T(*from++); |
|
// Probably a compiler error so I changed it to this: |
|
// Mike Brasher |
|
|
|
new(to) T(*from); |
|
to++; |
|
from++; |
|
} |
} | } |
| |
inline void CopyToRaw(Boolean* to, const Boolean* from, Uint32 size) | inline void CopyToRaw(Boolean* to, const Boolean* from, Uint32 size) |