Changes in src/libcfa/containers/vector [6dc78dee:bb82c03]
- File:
-
- 1 edited
-
src/libcfa/containers/vector (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/containers/vector
r6dc78dee rbb82c03 118 118 } 119 119 120 //forall(otype T, otype allocator_t | allocator_c(T, allocator_t))121 //static inline const T* cbegin(const vector(T, allocator_t)* this)122 //{123 //return data(&this->storage);124 //}120 forall(otype T, otype allocator_t | allocator_c(T, allocator_t)) 121 static inline const T* cbegin(const vector(T, allocator_t)* this) 122 { 123 return data(&this->storage); 124 } 125 125 126 126 forall(otype T, otype allocator_t | allocator_c(T, allocator_t)) … … 130 130 } 131 131 132 //forall(otype T, otype allocator_t | allocator_c(T, allocator_t))133 //static inline const T* cend(const vector(T, allocator_t)* this)134 //{135 //return data(&this->storage) + this->size;136 //}132 forall(otype T, otype allocator_t | allocator_c(T, allocator_t)) 133 static inline const T* cend(const vector(T, allocator_t)* this) 134 { 135 return data(&this->storage) + this->size; 136 } 137 137 138 138 //------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.