38 #ifndef NVWA_CONT_PTR_UTILS_H 39 #define NVWA_CONT_PTR_UTILS_H 59 template <
typename _Tp>
60 const _Tp& operator()(
const _Tp* ptr)
const 81 template <
typename _Po
inter>
82 bool operator()(
const _Pointer& ptr1,
const _Pointer& ptr2)
const 100 template <
typename _Tp>
101 void operator()(_Tp* ptr)
const 117 template <
typename _OutputStrm,
typename _StringType = const
char*>
121 : _M_outs(outs), _M_sep(sep)
124 template <
typename _Po
inter>
125 void operator()(
const _Pointer& ptr)
const 127 _M_outs << *ptr << _M_sep;
131 _OutputStrm& _M_outs;
137 #endif // NVWA_CONT_PTR_UTILS_H Functor to compare objects pointed by a container of pointers.
Definition: cont_ptr_utils.h:79
Functor to return objects pointed by a container of pointers.
Definition: cont_ptr_utils.h:57
Functor to delete objects pointed by a container of pointers.
Definition: cont_ptr_utils.h:98
Functor to output objects pointed by a container of pointers.
Definition: cont_ptr_utils.h:118
Common definitions for preprocessing.