QxOrm
1.5.0
C++ Object Relational Mapping library
|
#include <cont_ptr_utils.h>
Public Member Functions | |
template<typename _Tp > | |
const _Tp & | operator() (const _Tp *__ptr) const |
Functor to return objects pointed by a container of pointers.
A typical usage might be like:
vector<Object*> v;
...
transform(v.begin(), v.end(),
ostream_iterator<Object>(cout, " "),
dereference());
Definition at line 67 of file cont_ptr_utils.h.
const _Tp& qx::memory::dereference::operator() | ( | const _Tp * | __ptr | ) | const [inline] |
Definition at line 70 of file cont_ptr_utils.h.