Home | History | Annotate | Download | only in base

Lines Matching refs:scoped_ptr_malloc

219 // passed as a template argument to scoped_ptr_malloc below.
227 // scoped_ptr_malloc<> is similar to scoped_ptr<>, but it accepts a
231 class scoped_ptr_malloc {
236 scoped_ptr_malloc(scoped_ptr_malloc const &);
237 scoped_ptr_malloc & operator=(scoped_ptr_malloc const &);
243 explicit scoped_ptr_malloc(T* p = 0): ptr(p) {}
245 ~scoped_ptr_malloc() {
281 void swap(scoped_ptr_malloc & b) {
295 // no reason to use these: each scoped_ptr_malloc should have its own object
297 bool operator==(scoped_ptr_malloc<U, GP> const& p) const;
299 bool operator!=(scoped_ptr_malloc<U, GP> const& p) const;
305 FP const scoped_ptr_malloc<T,FP>::free_ = FP();
308 void swap(scoped_ptr_malloc<T,FP>& a, scoped_ptr_malloc<T,FP>& b) {
313 bool operator==(T* p, const scoped_ptr_malloc<T,FP>& b) {
318 bool operator!=(T* p, const scoped_ptr_malloc<T,FP>& b) {