31 #ifndef GOOGLE_PROTOBUF_STUBS_SCOPED_PTR_H_ 32 #define GOOGLE_PROTOBUF_STUBS_SCOPED_PTR_H_ 73 enum { type_must_be_complete =
sizeof(
C) };
82 enum { type_must_be_complete =
sizeof(
C) };
98 C*
get()
const {
return ptr_; }
160 enum { type_must_be_complete =
sizeof(
C) };
169 enum { type_must_be_complete =
sizeof(
C) };
179 assert(array_ !=
NULL);
236 #endif // GOOGLE_PROTOBUF_STUBS_SCOPED_PTR_H_ void swap(scoped_ptr &p2)
Definition: scoped_ptr.h:107
DOMString p
Definition: WebCryptoAPI.idl:116
C element_type
Definition: scoped_ptr.h:150
void reset(C *p=NULL)
Definition: scoped_ptr.h:80
bool operator==(C *p) const
Definition: scoped_ptr.h:192
bool operator!=(C *p) const
Definition: scoped_ptr.h:104
scoped_array(C *p=NULL)
Definition: scoped_ptr.h:155
bool operator!=(C *p) const
Definition: scoped_ptr.h:193
bool operator==(C *p) const
Definition: scoped_ptr.h:103
Definition: scoped_ptr.h:49
C * release()
Definition: scoped_ptr.h:207
void reset(C *p=NULL)
Definition: scoped_ptr.h:167
Definition: __init__.py:1
~scoped_ptr()
Definition: scoped_ptr.h:72
scoped_ptr(C *p=NULL)
Definition: scoped_ptr.h:68
Definition: scoped_ptr.h:48
Definition: document.h:393
C element_type
Definition: scoped_ptr.h:63
C * release()
Definition: scoped_ptr.h:118
~scoped_array()
Definition: scoped_ptr.h:159
std::integral_constant< std::ptrdiff_t, V > ptrdiff_t
Definition: Brigand.h:449
for i
Definition: complexityMeasures.m:24
Definition: type_traits_unittest.cc:77
C & operator*() const
Definition: scoped_ptr.h:90
#define NULL
Definition: common_types.h:41
C * operator->() const
Definition: scoped_ptr.h:94
Definition: gflags_completions.h:115
void swap(scoped_array &p2)
Definition: scoped_ptr.h:196
C & operator[](std::ptrdiff_t i) const
Definition: scoped_ptr.h:177