Changeset 1551 for trunk


Ignore:
Timestamp:
Oct 6, 2008, 4:01:53 PM (13 years ago)
Author:
Peter
Message:

some typedefs in Vector

Location:
trunk/yat/utility
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/VectorBase.h

    r1487 r1551  
    5454  {
    5555  public:
     56    /**
     57       value_type is double
     58
     59       \since New in yat 0.5
     60     */
     61    typedef double value_type;
     62
     63    /**
     64       const_reference type is const double&
     65
     66       \since New in yat 0.5
     67     */
     68    typedef const double& const_reference;
     69
    5670    /// \brief VectorBase::const_iterator
    5771    typedef StrideIterator<const double*> const_iterator;
  • trunk/yat/utility/VectorMutable.h

    r1487 r1551  
    5858  {
    5959  public:
     60    /**
     61       reference type is double&
     62
     63       \since New in yat 0.5
     64     */
     65    typedef double& reference;
     66
    6067    /**
    6168       \brief mutable iterator
Note: See TracChangeset for help on using the changeset viewer.