Changeset 2150 for trunk/yat/normalizer/qQuantileNormalizer.h
- Timestamp:
- Jan 17, 2010, 4:54:55 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/normalizer/qQuantileNormalizer.h
r2141 r2150 30 30 #include "yat/utility/WeightIterator.h" 31 31 #include "yat/utility/yat_assert.h" 32 33 #include <boost/concept_check.hpp> 32 34 33 35 #include <algorithm> … … 252 254 utility::unweighted_iterator_tag tag) const 253 255 { 256 using boost::function_requires; 257 function_requires<boost::RandomAccessIterator<RandomAccessIterator1> >(); 258 function_requires<boost::Mutable_RandomAccessIterator<RandomAccessIterator2> >(); 254 259 utility::check_iterator_is_unweighted(first); 255 260 utility::check_iterator_is_unweighted(result); … … 311 316 utility::weighted_iterator_tag tag) const 312 317 { 318 using boost::function_requires; 319 function_requires<boost::RandomAccessIterator<RandomAccessIterator1> >(); 320 function_requires<boost::Mutable_RandomAccessIterator<RandomAccessIterator2> >(); 313 321 // copy the weights 314 322 std::copy(utility::weight_iterator(first), … … 376 384 : average_(utility::Vector(N)), quantiles_(utility::Vector(N)) 377 385 { 386 boost::function_requires<boost::ForwardIterator<ForwardIterator> >(); 378 387 build(first, last, N, 379 388 typename utility::weighted_iterator_traits<ForwardIterator>::type());
Note: See TracChangeset
for help on using the changeset viewer.