this class is a functor for "for_each" algorithm More...
this class is a functor for "for_each" algorithm
This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to copy one encap into another encap object
encap | source |
encap | dst |
#include <Encap.hpp>
Public Member Functions | |
__device__ __host__ | copy_cpu_encap_single (const e_src &src, e_src &dst) |
constructor | |
template<typename T > | |
__device__ __host__ void | operator() (T &t) const |
It call the copy function for each property. | |
Data Fields | |
const e_src & | src |
encapsulated source object | |
e_src & | dst |
encapsulated destination object | |
|
inline |
|
inline |
e_src& copy_cpu_encap_single< e_src >::dst |
const e_src& copy_cpu_encap_single< e_src >::src |