- 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/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.