Home
last modified time | relevance | path

Searched refs:_M_ptr (Results 1 – 3 of 3) sorted by relevance

/haiku/headers/cpp/
H A Dmemory32 _Tp* _M_ptr;
36 explicit auto_ptr(_Tp* __p = 0) __STL_NOTHROW : _M_ptr(__p) {}
37 auto_ptr(auto_ptr& __a) __STL_NOTHROW : _M_ptr(__a.release()) {}
39 : _M_ptr(__a.release()) {}
42 delete _M_ptr;
43 _M_ptr = __a.release();
50 delete _M_ptr;
51 _M_ptr = __a.release();
55 ~auto_ptr() __STL_NOTHROW { delete _M_ptr; }
58 return *_M_ptr;
[all …]
H A Dstl_function.h292 _Result (*_M_ptr)(_Arg);
295 explicit pointer_to_unary_function(_Result (*__x)(_Arg)) : _M_ptr(__x) {} in pointer_to_unary_function()
296 _Result operator()(_Arg __x) const { return _M_ptr(__x); } in operator()
309 _Result (*_M_ptr)(_Arg1, _Arg2);
313 : _M_ptr(__x) {} in pointer_to_binary_function()
315 return _M_ptr(__x, __y); in operator()
H A Dstl_rope.h729 _Rope_RopeRep<_CharT,_Alloc>* _M_ptr; member
731 { _Rope_RopeRep<_CharT,_Alloc>::_S_unref(_M_ptr); } in ~_Rope_self_destruct_ptr()
733 _Rope_self_destruct_ptr() : _M_ptr(0) {}; in _Rope_self_destruct_ptr()
737 _Rope_self_destruct_ptr(_Rope_RopeRep<_CharT,_Alloc>* __p) : _M_ptr(__p) {} in _Rope_self_destruct_ptr()
738 _Rope_RopeRep<_CharT,_Alloc>& operator*() { return *_M_ptr; }
739 _Rope_RopeRep<_CharT,_Alloc>* operator->() { return _M_ptr; }
740 operator _Rope_RopeRep<_CharT,_Alloc>*() { return _M_ptr; }
742 { _M_ptr = __x; return *this; }