- Timestamp:
- Nov 6, 2015, 10:54:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/object/ObjectListBase.h
r10736 r10768 57 57 @param objectBase The object to store 58 58 */ 59 ObjectListBaseElement(Listable* object) : next_( 0), prev_(0), objectBase_(object), list_(0) {}59 ObjectListBaseElement(Listable* object) : next_(nullptr), prev_(nullptr), objectBase_(object), list_(nullptr) {} 60 60 virtual ~ObjectListBaseElement() { this->removeFromList(); } 61 61 … … 136 136 inline ObjectListBaseElement* begin() const { return this->first_; } 137 137 /// Returns a pointer to the element after the last element in the list. Works only with Iterator. 138 inline ObjectListBaseElement* end() const { return 0; }138 inline ObjectListBaseElement* end() const { return nullptr; } 139 139 /// Returns a pointer to the last element in the list. Works only with Iterator. 140 140 inline ObjectListBaseElement* rbegin() const { return this->last_; } 141 141 /// Returns a pointer to the element in front of the first element in the list. Works only with Iterator. 142 inline ObjectListBaseElement* rend() const { return 0; }142 inline ObjectListBaseElement* rend() const { return nullptr; } 143 143 144 144 inline void registerRemovalListener(ObjectListElementRemovalListener* listener) { this->listeners_.push_back(listener); }
Note: See TracChangeset
for help on using the changeset viewer.