Ignore:
Timestamp:
Jul 17, 2008, 4:32:16 PM (13 years ago)
Author:
Peter
Message:

fixing problems with MatrixWeighted? iterators

File:
1 edited

Legend:

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

    r1380 r1382  
    2424  02111-1307, USA.
    2525*/
    26 
    27 #include "iterator_traits.h"
    28 
    29 #include <vector>
    3026
    3127namespace theplu {
     
    117113
    118114
    119   /**
    120      Specialization for std::vector<DataWeight>::iterator
    121    */
    122   template<>
    123   struct weighted_iterator_traits<std::vector<DataWeight>::iterator> {
    124     /**
    125        iterator to vector<DataWeight> is weighted
    126     */
    127     typedef weighted_iterator_tag type;
    128   };
    129 
    130 
    131   /**
    132      Specialization for std::vector<DataWeight>::const_iterator
    133    */
    134   template<>
    135   struct weighted_iterator_traits<std::vector<DataWeight>::const_iterator> {
    136     /**
    137        const_iterator to vector<DataWeight> is weighted
    138     */
    139     typedef weighted_iterator_tag type;
    140   };
    141 
    142115}}} // of namespace utility, yat, and theplu
    143116
Note: See TracChangeset for help on using the changeset viewer.