- Timestamp:
- Nov 7, 2015, 2:42:14 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/ClassTreeMask.h
r10769 r10770 152 152 ClassTreeMaskNode* operator*() const; 153 153 ClassTreeMaskNode* operator->() const; 154 operator bool() const;154 explicit operator bool() const; 155 155 bool operator==(ClassTreeMaskNode* compare) const; 156 156 bool operator!=(ClassTreeMaskNode* compare) const; … … 289 289 inline bool operator!=(BaseObject* pointer) const { return (this->objectIterator_ && (*this->objectIterator_) != pointer) || (!this->objectIterator_ && pointer != nullptr); } 290 290 /// Returns true if the ClassTreeMaskObjectIterator hasn't already reached the end. 291 inline operator bool() const { return (this->objectIterator_); }291 inline explicit operator bool() const { return this->objectIterator_.operator bool(); } 292 292 /// Returns the object the ClassTreeMaskObjectIterator currently points at. 293 293 inline BaseObject* operator*() const { return (*this->objectIterator_); }
Note: See TracChangeset
for help on using the changeset viewer.