WvStreams
|
An abstraction for memory transfer operations. More...
Public Member Functions | |
void | uninit_copy (void *target, const void *source, size_t count) |
Copies initialized region to uninitialized region. | |
void | copy (void *target, const void *source, size_t count) |
Copies initialized region to initialized region. | |
void | uninit_move (void *target, void *source, size_t count) |
Moves initialized region to uninitialized region. More... | |
void | swap (void *target, void *source, size_t count) |
Swaps initialized regions. | |
void | uninit (void *target, size_t count) |
Uninitializes a region. | |
void * | newarray (size_t count) |
Creates a new array. | |
void | deletearray (void *buf) |
Deletes an uninitialized array. | |
An abstraction for memory transfer operations.
This is in preparation for supporting buffers of full-blown objects that have special copy and destruction semantics, someday...
Definition at line 20 of file wvbufferstore.cc.
|
inline |
Moves initialized region to uninitialized region.
Source data becomes uninitialized.
Definition at line 38 of file wvbufferstore.cc.
References uninit().
Referenced by WvCircularBufStore::compact().