this class is a functor for "for_each" algorithm More...
#include <util.hpp>
Public Member Functions | |
| check_device_ptr (void *ptr, data_type &data) | |
| constructor More... | |
| 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 |
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
|
inline |