Lines Matching defs:operator
90 // operator* and operator-> will assert() if there is no current object.
91 C& operator*() const {
95 C* operator->() const {
104 bool operator==(C* p) const { return ptr_ == p; }
105 bool operator!=(C* p) const { return ptr_ != p; }
131 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const;
132 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const;
136 void operator=(const scoped_ptr&);
146 bool operator==(C* p1, const scoped_ptr<C>& p2) {
151 bool operator!=(C* p1, const scoped_ptr<C>& p2) {
196 C& operator[](ptrdiff_t i) const {
211 bool operator==(C* p) const { return array_ == p; }
212 bool operator!=(C* p) const { return array_ != p; }
236 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
237 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
241 void operator=(const scoped_array&);
251 bool operator==(C* p1, const scoped_array<C>& p2) {
256 bool operator!=(C* p1, const scoped_array<C>& p2) {
264 inline void operator()(void* x) const {
302 // operator* and operator-> will cause an assert() failure if there is
304 C& operator*() const {
309 C* operator->() const {
323 bool operator==(C* p) const {
327 bool operator!=(C* p) const {
354 bool operator==(scoped_ptr_malloc<C2, GP> const& p) const;
356 bool operator!=(scoped_ptr_malloc<C2, GP> const& p) const;
362 void operator=(const scoped_ptr_malloc&);
374 bool operator==(C* p, const scoped_ptr_malloc<C, FP>& b) {
379 bool operator!=(C* p, const scoped_ptr_malloc<C, FP>& b) {