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. It check if the pointer ptr match one of the pointer properties
#include <util.hpp>
Public Member Functions | |
| check_device_ptr (void *ptr, data_type &data) | |
| constructor | |
| template<typename T > | |
| void | operator() (T &t) |
| It call the copy function for each property. | |
Data Fields | |
| void * | ptr |
| pointer to check | |
| data_type & | data |
| Data to check. | |
| int | prp |
| bool | result |
|
inline |
|
inline |
| data_type& check_device_ptr< data_type >::data |
|
mutable |
| void* check_device_ptr< data_type >::ptr |
|
mutable |