Changeset 10770 for code/branches/cpp11_v2/src/libraries/core/object
- Timestamp:
- Nov 7, 2015, 2:42:14 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/core/object
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/object/IteratorBase.h
r10765 r10770 149 149 @return True if the Iterator points to an existing object. 150 150 */ 151 inline operator bool() const151 inline explicit operator bool() const 152 152 { 153 153 return (this->element_ != nullptr); -
code/branches/cpp11_v2/src/libraries/core/object/StrongPtr.h
r10768 r10770 248 248 } 249 249 250 /// Returns true if the wrapped pointer isnullptr.251 inline bool operator!() const252 { 253 return (this->pointer_ == nullptr);250 /// Returns true if the pointer is not nullptr. 251 inline explicit operator bool() const 252 { 253 return (this->pointer_ != nullptr); 254 254 } 255 255 -
code/branches/cpp11_v2/src/libraries/core/object/WeakPtr.h
r10768 r10770 183 183 } 184 184 185 /// Returns true if the wrapped pointer isnullptr.186 inline bool operator!() const187 { 188 return (this->pointer_ == nullptr);185 /// Returns true if the pointer is not nullptr. 186 inline explicit operator bool() const 187 { 188 return (this->pointer_ != nullptr); 189 189 } 190 190
Note: See TracChangeset
for help on using the changeset viewer.