QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches
qx::memory::dereference Struct Reference

#include <cont_ptr_utils.h>

Public Member Functions

template<typename _Tp >
const _Tp & operator() (const _Tp *__ptr) const
 

Detailed Description

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, " "),

Definition at line 67 of file cont_ptr_utils.h.

Member Function Documentation

◆ operator()()

template<typename _Tp >
const _Tp & qx::memory::dereference::operator() ( const _Tp * __ptr) const
inline

Definition at line 70 of file cont_ptr_utils.h.


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