Ignore:
Timestamp:
Dec 19, 2009, 3:30:55 PM (13 years ago)
Author:
Peter
Message:

Remove implementation of operator==(DataWeightProxy?, DataWeightProxy?)
and rather rely on implicit conversion to DataWeight? and its
operator. This implies the behavior changes but that change is needed
because the previous behavior was very unexpected.

closes #578

File:
1 edited

Legend:

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

    r2119 r2122  
    106106  };
    107107
    108  
    109   /**
    110      \brief equality operator
    111 
    112      \relates DataWeightProxy
    113    */
    114   template<typename DataIterator, typename WeightIterator>
    115   bool operator==(const DataWeightProxy<DataIterator, WeightIterator>& lhs,
    116                   const DataWeightProxy<DataIterator, WeightIterator>& rhs)
    117   {
    118     return lhs.data()==rhs.data() && lhs.weight()==rhs.weight();
    119   }
    120 
    121108}}} // of namespace utility, yat, and theplu
    122109
Note: See TracChangeset for help on using the changeset viewer.