Ignore:
Timestamp:
Sep 22, 2007, 1:43:22 AM (16 years ago)
Author:
Peter
Message:

refs #244

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/vector.cc

    r879 r880  
    195195
    196196
     197  vector::iterator vector::begin(void)
     198  {
     199    return vector::iterator(*this, 0);
     200  }
     201
     202
     203  vector::const_iterator vector::begin(void) const
     204  {
     205    return vector::const_iterator(*this, 0);
     206  }
     207
     208
    197209  const vector& vector::clone(const vector& other)
    198210  {
     
    247259    if (status)
    248260      throw utility::GSL_error(std::string("vector::div",status));
     261  }
     262
     263
     264  vector::iterator vector::end(void)
     265  {
     266    return vector::iterator(*this, size());
     267  }
     268
     269
     270  vector::const_iterator vector::end(void) const
     271  {
     272    return vector::const_iterator(*this, size());
    249273  }
    250274
Note: See TracChangeset for help on using the changeset viewer.