Home | History | Annotate | Download | only in memory

Lines Matching refs:scoped_ptr_malloc

42 // scoped_array, scoped_ptr_malloc.
261 // passed as a template argument to scoped_ptr_malloc below.
269 // scoped_ptr_malloc<> is similar to scoped_ptr<>, but it accepts a
273 class scoped_ptr_malloc {
284 explicit scoped_ptr_malloc(C* p = NULL): ptr_(p) {}
287 ~scoped_ptr_malloc() {
319 // These return whether a scoped_ptr_malloc and a plain pointer refer
332 void swap(scoped_ptr_malloc & b) {
352 // no reason to use these: each scoped_ptr_malloc should have its own object
354 bool operator==(scoped_ptr_malloc<C2, GP> const& p) const;
356 bool operator!=(scoped_ptr_malloc<C2, GP> const& p) const;
361 scoped_ptr_malloc(const scoped_ptr_malloc&);
362 void operator=(const scoped_ptr_malloc&);
366 FP const scoped_ptr_malloc<C, FP>::free_ = FP();
369 void swap(scoped_ptr_malloc<C, FP>& a, scoped_ptr_malloc<C, FP>& b) {
374 bool operator==(C* p, const scoped_ptr_malloc<C, FP>& b) {
379 bool operator!=(C* p, const scoped_ptr_malloc<C, FP>& b) {