Ignore:
Timestamp:
Jan 17, 2010, 11:21:29 PM (13 years ago)
Author:
Peter
Message:

using BOOST_CONCEPT_ASSERT. closes #603

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/normalizer/qQuantileNormalizer.h

    r2150 r2154  
    254254                                 utility::unweighted_iterator_tag tag) const
    255255  {
    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>));
    259258    utility::check_iterator_is_unweighted(first);
    260259    utility::check_iterator_is_unweighted(result);
     
    316315                                      utility::weighted_iterator_tag tag) const
    317316  {
    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>));
    321319    // copy the weights
    322320    std::copy(utility::weight_iterator(first),
     
    384382    : average_(utility::Vector(N)), quantiles_(utility::Vector(N))
    385383  {
    386     boost::function_requires<boost::ForwardIterator<ForwardIterator> >();
     384    BOOST_CONCEPT_ASSERT((boost::ForwardIterator<ForwardIterator>));
    387385    build(first, last, N,
    388386          typename utility::weighted_iterator_traits<ForwardIterator>::type());
Note: See TracChangeset for help on using the changeset viewer.