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

using BOOST_CONCEPT_ASSERT. closes #603

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/random/random.h

    r2145 r2154  
    611611  {
    612612    typedef RandomAccessIterator rai;
    613     typedef boost::Mutable_RandomAccessIteratorConcept<rai> mric;
    614     boost::function_requires<mric>();
     613    BOOST_CONCEPT_ASSERT((boost::Mutable_RandomAccessIterator<rai>));
    615614    DiscreteUniform rnd;
    616615    std::random_shuffle(first, last, rnd);
Note: See TracChangeset for help on using the changeset viewer.