Public Member Functions | List of all members
Celartem::MemoryCopy< T, byConstructor, behavior > Struct Template Reference

#include <cel_memory.h>

Public Member Functions

void operator() (T *dest, const T *src, size_t count)
 

Detailed Description

template<typename T, MemoryCopyBehavior behavior>
struct Celartem::MemoryCopy< T, byConstructor, behavior >

MemoryCopy function for general types.
Please note that the copy operation is destructive; it uses std::move internally.

Member Function Documentation

template<typename T , MemoryCopyBehavior behavior>
void Celartem::MemoryCopy< T, byConstructor, behavior >::operator() ( T *  dest,
const T *  src,
size_t  count 
)
inline
Parameters
destSpecifies the pointer to the memory block into which the source memory will be copied.
srcSpecifies the pointer to the source memory block.
countSpecifies the number of entries to be copied.

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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:06.
Cuminas Logo