Changeset 1564 for trunk/yat/utility


Ignore:
Timestamp:
Oct 10, 2008, 9:05:07 PM (13 years ago)
Author:
Peter
Message:

removed specialization - not needed after previous commit

File:
1 edited

Legend:

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

    r1562 r1564  
    135135  };
    136136
    137   /**
    138      Specialization for Container2DIterator
    139    */
    140   template<typename A, typename B, typename C, typename D, typename E>
    141   struct iterator_traits<Container2DIterator<A, B, C, D, E> > {
    142     /**
    143        data_reference is defined by Policy class E::data_type
    144      */
    145     typedef typename E::data_type data_reference;
    146 
    147     /**
    148        weight_reference is defined by Policy class E::weight_type
    149      */
    150     typedef typename E::weight_type weight_reference;
    151 
    152     /**
    153        \return data
    154     */
    155     data_reference data(Container2DIterator<A, B, C, D, E> iter) const
    156     { return iter.data(); }
    157 
    158     /**
    159        \return weight
    160     */
    161     weight_reference weight(Container2DIterator<A, B, C, D, E> iter) const
    162     { return iter.weight(); }
    163 
    164   };
    165 
    166 
    167137}}} // of namespace utility, yat, and theplu
    168138
Note: See TracChangeset for help on using the changeset viewer.