Changeset 2154 for trunk/yat/normalizer/qQuantileNormalizer.h
- Timestamp:
- Jan 17, 2010, 11:21:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/normalizer/qQuantileNormalizer.h
r2150 r2154 254 254 utility::unweighted_iterator_tag tag) const 255 255 { 256 using boost::function_requires; 257 function_requires<boost::RandomAccessIterator<RandomAccessIterator1> >(); 258 function_requires<boost::Mutable_RandomAccessIterator<RandomAccessIterator2> >(); 256 BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<RandomAccessIterator1>)); 257 BOOST_CONCEPT_ASSERT((boost::Mutable_RandomAccessIterator<RandomAccessIterator2>)); 259 258 utility::check_iterator_is_unweighted(first); 260 259 utility::check_iterator_is_unweighted(result); … … 316 315 utility::weighted_iterator_tag tag) const 317 316 { 318 using boost::function_requires; 319 function_requires<boost::RandomAccessIterator<RandomAccessIterator1> >(); 320 function_requires<boost::Mutable_RandomAccessIterator<RandomAccessIterator2> >(); 317 BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<RandomAccessIterator1>)); 318 BOOST_CONCEPT_ASSERT((boost::Mutable_RandomAccessIterator<RandomAccessIterator2>)); 321 319 // copy the weights 322 320 std::copy(utility::weight_iterator(first), … … 384 382 : average_(utility::Vector(N)), quantiles_(utility::Vector(N)) 385 383 { 386 boost::function_requires<boost::ForwardIterator<ForwardIterator> >();384 BOOST_CONCEPT_ASSERT((boost::ForwardIterator<ForwardIterator>)); 387 385 build(first, last, N, 388 386 typename utility::weighted_iterator_traits<ForwardIterator>::type());
Note: See TracChangeset
for help on using the changeset viewer.