Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/containers/vector

    r6dc78dee rbb82c03  
    118118}
    119119
    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 // }
     120forall(otype T, otype allocator_t | allocator_c(T, allocator_t))
     121static inline const T* cbegin(const vector(T, allocator_t)* this)
     122{
     123        return data(&this->storage);
     124}
    125125
    126126forall(otype T, otype allocator_t | allocator_c(T, allocator_t))
     
    130130}
    131131
    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 // }
     132forall(otype T, otype allocator_t | allocator_c(T, allocator_t))
     133static inline const T* cend(const vector(T, allocator_t)* this)
     134{
     135        return data(&this->storage) + this->size;
     136}
    137137
    138138//------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.