Changeset 1089 for trunk/yat/utility


Ignore:
Timestamp:
Feb 14, 2008, 3:37:12 PM (16 years ago)
Author:
Peter
Message:

removing IteartorWeighted?

Location:
trunk/yat/utility
Files:
1 deleted
1 edited

Legend:

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

    r1088 r1089  
    2525*/
    2626
    27 #include "IteratorWeighted.h"
    28 
    2927namespace theplu {
    3028namespace yat {
     
    4947  };
    5048
    51   /// All iterators should default to unweighted type ...
     49  /**
     50      All iterators default to unweighted type
     51
     52      \see Iterator and StrideIterator
     53  */
    5254  template <class T>
    5355  struct weighted_iterator_traits {
    5456    typedef unweighted_type type;
    55   };
    56 
    57   /// but specialized to return weighted type for some things
    58   //
    59   // if you add a new weighted iterator, add a new specialization like
    60   // this one.
    61   template <class U, class V>
    62   struct weighted_iterator_traits<yat::utility::IteratorWeighted<U,V> > {
    63     typedef weighted_type type;
    6457  };
    6558
Note: See TracChangeset for help on using the changeset viewer.