Ignore:
Timestamp:
Feb 14, 2008, 3:26:19 PM (13 years ago)
Author:
Peter
Message:

Closes #247. Removed IteratorWeighted? iterators over weighted container instead can use Iterator with a special Policy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/AveragerWeighted.h

    r1043 r1088  
    218218  {
    219219    for ( ; first != last; ++first)
    220       a.add(utility::iterator_traits_data(first),
    221             utility::iterator_traits_weight(first));
     220      a.add(utility::iterator_traits<Iter>().data(first),
     221            utility::iterator_traits<Iter>().weight(first));
    222222  }
    223223
Note: See TracChangeset for help on using the changeset viewer.