Lines Matching refs:scoped_ptr_malloc
65 // scoped_array, scoped_ptr_malloc.
284 // passed as a template argument to scoped_ptr_malloc below.
292 // scoped_ptr_malloc<> is similar to scoped_ptr<>, but it accepts a
296 class scoped_ptr_malloc {
307 explicit scoped_ptr_malloc(C* p = NULL): ptr_(p) {}
310 ~scoped_ptr_malloc() {
343 // These return whether a scoped_ptr_malloc and a plain pointer refer
356 void swap(scoped_ptr_malloc & b) {
376 // no reason to use these: each scoped_ptr_malloc should have its own object
378 bool operator==(scoped_ptr_malloc<C2, GP> const& p) const;
380 bool operator!=(scoped_ptr_malloc<C2, GP> const& p) const;
383 scoped_ptr_malloc(const scoped_ptr_malloc&);
384 void operator=(const scoped_ptr_malloc&);
388 void swap(scoped_ptr_malloc<C, FP>& a, scoped_ptr_malloc<C, FP>& b) {
393 bool operator==(C* p, const scoped_ptr_malloc<C, FP>& b) {
398 bool operator!=(C* p, const scoped_ptr_malloc<C, FP>& b) {